diff options
author | johndoe123 | 2014-04-14 15:49:11 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2018-07-20 06:43:33 +0000 |
commit | e9a443fcd94bdfa10149596d668dafb660ed60e0 (patch) | |
tree | 06cfdcb1a3b447d196110fb7b0c891d0621d97bd /engines/illusions/screen.h | |
parent | 097d130e7dd5de95050e800419f4d07aabb7562b (diff) | |
download | scummvm-rg350-e9a443fcd94bdfa10149596d668dafb660ed60e0.tar.gz scummvm-rg350-e9a443fcd94bdfa10149596d668dafb660ed60e0.tar.bz2 scummvm-rg350-e9a443fcd94bdfa10149596d668dafb660ed60e0.zip |
ILLUSIONS: Implement palette shifting and color shadow table
Diffstat (limited to 'engines/illusions/screen.h')
-rw-r--r-- | engines/illusions/screen.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/illusions/screen.h b/engines/illusions/screen.h index 91750cfba5..bdecda48a5 100644 --- a/engines/illusions/screen.h +++ b/engines/illusions/screen.h @@ -114,6 +114,7 @@ public: void setPalette(byte *colors, uint start, uint count); void setPaletteEntry(int16 index, byte r, byte g, byte b); void getPalette(byte *colors); + void shiftPalette(int16 fromIndex, int16 toIndex); void updatePalette(); void drawText(FontResource *font, Graphics::Surface *surface, int16 x, int16 y, uint16 *text, uint count); int16 drawChar(FontResource *font, Graphics::Surface *surface, int16 x, int16 y, uint16 c); @@ -130,8 +131,10 @@ public: bool _needRefreshPalette; byte _mainPalette[768]; + byte _colorTransTbl[256]; void setSystemPalette(byte *palette); + void buildColorTransTbl(); void decompressSprite8(SpriteDecompressQueueItem *item); void drawSurface8(Common::Rect &dstRect, Graphics::Surface *surface, Common::Rect &srcRect, int16 scale, uint32 flags); |