diff options
author | athrxx | 2019-11-24 15:58:37 +0100 |
---|---|---|
committer | athrxx | 2019-12-18 20:50:43 +0100 |
commit | ddb6ca441babcbfefc9daf22d3bda3ddf940cb06 (patch) | |
tree | 702c3d5a40f158a49e027e4a7c09e59bd73e9a2f /engines/kyra/graphics/screen_eob.h | |
parent | 512fe083670e0fa1d37b88876d8b612017714c27 (diff) | |
download | scummvm-rg350-ddb6ca441babcbfefc9daf22d3bda3ddf940cb06.tar.gz scummvm-rg350-ddb6ca441babcbfefc9daf22d3bda3ddf940cb06.tar.bz2 scummvm-rg350-ddb6ca441babcbfefc9daf22d3bda3ddf940cb06.zip |
KYRA: (EOB/PC98) - fix level loading and some cleanup
(no block drawing yet)
Diffstat (limited to 'engines/kyra/graphics/screen_eob.h')
-rw-r--r-- | engines/kyra/graphics/screen_eob.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/engines/kyra/graphics/screen_eob.h b/engines/kyra/graphics/screen_eob.h index 4f9161af92..6d39ffe809 100644 --- a/engines/kyra/graphics/screen_eob.h +++ b/engines/kyra/graphics/screen_eob.h @@ -91,14 +91,11 @@ public: void shadeRect(int x1, int y1, int x2, int y2, int shadingLevel); // PC-98 specific - void loadPC98Palette(int palID, Palette &dest); - void setPC98PaletteBrightness(int modifier); + void selectPC98Palette(int paletteIndex, Palette &dest, int brightness = 0, bool set = false); void decodeBIN(const uint8 *src, uint8 *dst, uint16 inSize); - void decodePC98PlanarBitmap(int srcDstPage, int tempPage); + void decodePC98PlanarBitmap(uint8 *srcDstBuffer, uint8 *tmpBuffer, uint16 size = 64000); uint8 *_decodeTempBuffer; - int _curPalID; - Palette *_curPal; // Amiga specific void loadSpecialAmigaCPS(const char *fileName, int destPage, bool isGraphics); @@ -148,7 +145,7 @@ private: // hard coded 16 color palettes for PC98 version of EOB1 const uint8 *_palette16c[10]; - const char *_cpsFileExt; + Common::String _cpsFilePattern; const uint16 _cursorColorKey16Bit; |