From e9a443fcd94bdfa10149596d668dafb660ed60e0 Mon Sep 17 00:00:00 2001 From: johndoe123 Date: Mon, 14 Apr 2014 15:49:11 +0200 Subject: ILLUSIONS: Implement palette shifting and color shadow table --- engines/illusions/screen.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'engines/illusions/screen.h') 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); -- cgit v1.2.3