aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/graphics/screen_eob.h
diff options
context:
space:
mode:
authorathrxx2019-12-05 22:47:07 +0100
committerathrxx2019-12-18 20:50:46 +0100
commitf01d432c2529e2a47dcbc2438356b00706b41b68 (patch)
tree39982b89db66605de53e6a6e78c2058cfb070ef5 /engines/kyra/graphics/screen_eob.h
parentfde59250370cb4c1550621a33bf2b5c449e2bcdb (diff)
downloadscummvm-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.h11
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);