diff options
author | Johannes Schickel | 2009-06-25 15:22:08 +0000 |
---|---|---|
committer | Johannes Schickel | 2009-06-25 15:22:08 +0000 |
commit | 0ef8d1ffed66d6677b0dff850e4d35d745e93aee (patch) | |
tree | f040e0c1f12f356f3459d8a246737754886bdbaf /engines/kyra/screen_lol.h | |
parent | 8343bc6cc05dfbc8480306cfb60fe8cde593deb5 (diff) | |
download | scummvm-rg350-0ef8d1ffed66d6677b0dff850e4d35d745e93aee.tar.gz scummvm-rg350-0ef8d1ffed66d6677b0dff850e4d35d745e93aee.tar.bz2 scummvm-rg350-0ef8d1ffed66d6677b0dff850e4d35d745e93aee.zip |
Implement proper color index conversion for Lands of Lore PC98. (The intro and menu screen work fine now)
svn-id: r41867
Diffstat (limited to 'engines/kyra/screen_lol.h')
-rw-r--r-- | engines/kyra/screen_lol.h | 6 |
1 files changed, 6 insertions, 0 deletions
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); |