aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/graphics/screen_eob.h
diff options
context:
space:
mode:
authorathrxx2019-11-16 22:00:30 +0100
committerathrxx2019-12-18 20:50:41 +0100
commit7cae73aae3775e82ca8e78abe7809d125b67ccc3 (patch)
tree0581903d17feab307e052af6e264e449ce9e45cf /engines/kyra/graphics/screen_eob.h
parentf74f4929a043e278ea5bd989eeac17c18c756e22 (diff)
downloadscummvm-rg350-7cae73aae3775e82ca8e78abe7809d125b67ccc3.tar.gz
scummvm-rg350-7cae73aae3775e82ca8e78abe7809d125b67ccc3.tar.bz2
scummvm-rg350-7cae73aae3775e82ca8e78abe7809d125b67ccc3.zip
KYRA: (EOB/PC98) - initial startup fix
- hook up static resources, sound code, etc - nothing really working yet, though (except the music)
Diffstat (limited to 'engines/kyra/graphics/screen_eob.h')
-rw-r--r--engines/kyra/graphics/screen_eob.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/engines/kyra/graphics/screen_eob.h b/engines/kyra/graphics/screen_eob.h
index 5df67df506..edc49e144a 100644
--- a/engines/kyra/graphics/screen_eob.h
+++ b/engines/kyra/graphics/screen_eob.h
@@ -93,6 +93,10 @@ public:
// Amiga specific
void loadSpecialAmigaCPS(const char *fileName, int destPage, bool isGraphics);
+ // PC-98 specific
+ void load16ColPalette(int palID, Palette &dest);
+ void decodeBIN(const uint8 *src, uint8 *dst, uint32 dstSize);
+
// This is a simple way of emulating the Amiga copper list palette magic for more than 32 colors.
// I use colors 32 to 63 for these extra colors (which the Amiga copper sends to the color
// registers on the fly at vertical beam position 120).
@@ -136,6 +140,11 @@ private:
uint8 *_egaDitheringTable;
uint8 *_egaDitheringTempPage;
+ // hard coded 16 color palettes for PC98 version of EOB1
+ const uint8 *_palette16c[10];
+
+ const char *_cpsFilePattern;
+
const uint16 _cursorColorKey16Bit;
static const uint8 _egaMatchTable[];