diff options
author | athrxx | 2019-12-05 22:47:07 +0100 |
---|---|---|
committer | athrxx | 2019-12-18 20:50:46 +0100 |
commit | f01d432c2529e2a47dcbc2438356b00706b41b68 (patch) | |
tree | 39982b89db66605de53e6a6e78c2058cfb070ef5 /engines/kyra/graphics/screen_eob.h | |
parent | fde59250370cb4c1550621a33bf2b5c449e2bcdb (diff) | |
download | scummvm-rg350-f01d432c2529e2a47dcbc2438356b00706b41b68.tar.gz scummvm-rg350-f01d432c2529e2a47dcbc2438356b00706b41b68.tar.bz2 scummvm-rg350-f01d432c2529e2a47dcbc2438356b00706b41b68.zip |
KYRA: (EOB/PC98) - implement ending sequence
(The PC-98 version has its own unique ending sequence)
Diffstat (limited to 'engines/kyra/graphics/screen_eob.h')
-rw-r--r-- | engines/kyra/graphics/screen_eob.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/engines/kyra/graphics/screen_eob.h b/engines/kyra/graphics/screen_eob.h index 9c6e17caad..2b0622c679 100644 --- a/engines/kyra/graphics/screen_eob.h +++ b/engines/kyra/graphics/screen_eob.h @@ -95,7 +95,16 @@ public: void decodeBIN(const uint8 *src, uint8 *dst, uint16 inSize); void decodePC98PlanarBitmap(uint8 *srcDstBuffer, uint8 *tmpBuffer, uint16 size = 64000); - uint8 *_decodeTempBuffer; + struct PalCycleData { + const int8 *data; + uint8 delay; + }; + + void initPC98PaletteCycle(int paletteIndex, PalCycleData *data); + void updatePC98PaletteCycle(int brightness); + + PalCycleData *_activePalCycle; + uint8 *_cyclePalette; // Amiga specific void loadSpecialAmigaCPS(const char *fileName, int destPage, bool isGraphics); |