aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/graphics/screen_eob.h
diff options
context:
space:
mode:
authorathrxx2019-11-17 01:46:17 +0100
committerathrxx2019-12-18 20:50:42 +0100
commit1db3ec1f712ba75e04911e0a936f873998f9d1c9 (patch)
tree1c51fcc87265e54c28a1e8f30337d845819e62c4 /engines/kyra/graphics/screen_eob.h
parent7cae73aae3775e82ca8e78abe7809d125b67ccc3 (diff)
downloadscummvm-rg350-1db3ec1f712ba75e04911e0a936f873998f9d1c9.tar.gz
scummvm-rg350-1db3ec1f712ba75e04911e0a936f873998f9d1c9.tar.bz2
scummvm-rg350-1db3ec1f712ba75e04911e0a936f873998f9d1c9.zip
KYRA: (EOB/PC98) - add bitmap decoders
The PC98 version has a modified version of decodeFrame4() and also requires planar decoding (similiar to Amiga).
Diffstat (limited to 'engines/kyra/graphics/screen_eob.h')
-rw-r--r--engines/kyra/graphics/screen_eob.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/engines/kyra/graphics/screen_eob.h b/engines/kyra/graphics/screen_eob.h
index edc49e144a..aaae79a13c 100644
--- a/engines/kyra/graphics/screen_eob.h
+++ b/engines/kyra/graphics/screen_eob.h
@@ -90,13 +90,15 @@ public:
void convertToHiColor(int page);
void shadeRect(int x1, int y1, int x2, int y2, int shadingLevel);
- // 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);
+ void loadPC98Palette(int palID, Palette &dest);
+ void decodeBIN(const uint8 *src, uint8 *dst, uint16 inSize);
+ void decodePC98PlanarBitmap(int srcDstPage, int tempPage);
+ uint8 *_decodeTempBuffer;
+
+ // Amiga specific
+ void loadSpecialAmigaCPS(const char *fileName, int destPage, bool isGraphics);
// 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).
@@ -143,7 +145,7 @@ private:
// hard coded 16 color palettes for PC98 version of EOB1
const uint8 *_palette16c[10];
- const char *_cpsFilePattern;
+ const char *_cpsFileExt;
const uint16 _cursorColorKey16Bit;