Classes | |
| struct | UsageEntry |
| struct | UsageRange |
Public Member Functions | |
| PaletteUsage (RexNebularEngine *vm) | |
| void | load (Common::Array< UsageEntry > *data) |
| bool | empty () const |
| uint16 & | operator[] (int index) |
| void | setEmpty () |
| void | getKeyEntries (Common::Array< RGB6 > &palette) |
| void | prioritize (Common::Array< RGB6 > &palette) |
| int | process (Common::Array< RGB6 > &palette, uint flags) |
| void | transform (Common::Array< RGB6 > &palette) |
| void | updateUsage (Common::Array< int > &usageList, int sceneUsageIndex) |
| void | resetPalFlags (int idx) |
| int | checkRGB (const byte *rgb, int palStart, bool flag, int *palIndex) |
| MADS::PaletteUsage::PaletteUsage | ( | RexNebularEngine * | vm | ) |
Constructor
|
inline |
Returns whether the usage list is empty
|
inline |
Assigns the class to an empty usage array
| void MADS::PaletteUsage::getKeyEntries | ( | Common::Array< RGB6 > & | palette | ) |
Gets key entries from the passed palette
| palette | 6-bit per entry read in palette |
| void MADS::PaletteUsage::prioritize | ( | Common::Array< RGB6 > & | palette | ) |
Prioritizes the palette index list based on the intensity of the RGB values of the palette entries that they refer to