ScummVM API documentation
Illusions::ScreenPalette Class Reference
Inheritance diagram for Illusions::ScreenPalette:
Illusions::ScreenPaletteBase

Public Member Functions

 ScreenPalette (IllusionsEngine *vm)
 
void setPalette (byte *colors, uint start, uint count) override
 
void setPaletteEntry (int16 index, byte r, byte g, byte b) override
 
void getPalette (byte *colors) override
 
void shiftPalette (int16 fromIndex, int16 toIndex) override
 
void updatePalette () override
 
void updateFaderPalette () override
 
void setFader (int newValue, int firstIndex, int lastIndex) override
 
bool isFaderActive () const override
 
const byte * getColorTransTbl () const override
 

Protected Member Functions

void setSystemPalette (byte *palette)
 
void buildColorTransTbl ()
 

Protected Attributes

IllusionsEngine_vm
 
bool _needRefreshPalette
 
byte _mainPalette [768]
 
byte _colorTransTbl [256]
 
bool _isFaderActive
 
byte _faderPalette [768]
 
int _newFaderValue
 
int _firstFaderIndex
 
int _lastFaderIndex
 

The documentation for this class was generated from the following file: