diff options
Diffstat (limited to 'engines/mads/scene.h')
-rw-r--r-- | engines/mads/scene.h | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/engines/mads/scene.h b/engines/mads/scene.h index 7944576a5a..eb84fbd814 100644 --- a/engines/mads/scene.h +++ b/engines/mads/scene.h @@ -55,7 +55,7 @@ private: /* * Initialises the data for palette animation within the scene */ - void initPaletteAnimation(Common::Array<RGB4> &animData, bool animFlag); + void initPaletteAnimation(Common::Array<PaletteCycle> &palCycles, bool animFlag); /** * Handles a single frame within the game scene @@ -106,10 +106,11 @@ public: DepthSurface _depthSurface; UserInterface _userInterface; bool _cyclingActive; - int _animVal1; - int _animCount; - Common::Array<uint32> _animTicksList; - Common::Array<RGB4> _animPalData; + int _cyclingThreshold; + int _cyclingDelay; + int _totalCycleColors; + Common::Array<uint32> _cycleTicks; + Common::Array<PaletteCycle> _paletteCycles; Common::StringArray _vocabStrings; Animation *_animationData; Animation *_activeAnimation; @@ -196,6 +197,11 @@ public: void drawElements(ScreenTransition transitionType, bool surfaceFlag); /** + * Handles cycling palette colors for the scene + */ + void animatePalette(); + + /** * Load an animation */ void loadAnimation(const Common::String &resName, int abortTimers = 0); |