From 0ef8d1ffed66d6677b0dff850e4d35d745e93aee Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Thu, 25 Jun 2009 15:22:08 +0000 Subject: Implement proper color index conversion for Lands of Lore PC98. (The intro and menu screen work fine now) svn-id: r41867 --- engines/kyra/screen_lol.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'engines/kyra/screen_lol.h') diff --git a/engines/kyra/screen_lol.h b/engines/kyra/screen_lol.h index 017af4ba48..278118ea1c 100644 --- a/engines/kyra/screen_lol.h +++ b/engines/kyra/screen_lol.h @@ -92,6 +92,9 @@ public: uint8 *_grayOverlay; int _fadeFlag; + // PC98 specific + static void convertPC98Gfx(uint8 *data, int w, int h, int pitch); + private: LoLEngine *_vm; @@ -106,6 +109,9 @@ private: uint8 *_levelOverlays[8]; + static const uint8 _paletteConvTable[256]; + void mergeOverlay(int x, int y, int w, int h); + // magic atlas void calcBoundariesIntern(int dstX, int dstY, int c, int d); -- cgit v1.2.3