diff options
Diffstat (limited to 'engines/mads/animation.h')
-rw-r--r-- | engines/mads/animation.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/engines/mads/animation.h b/engines/mads/animation.h index 484856f769..297abf4eee 100644 --- a/engines/mads/animation.h +++ b/engines/mads/animation.h @@ -119,11 +119,12 @@ public: static Animation *init(MADSEngine *vm, Scene *scene); public: Common::Array<int> _spriteListIndexes; - Common::Array<AnimMessage> _kernelMessages; + Common::Array<AnimMessage> _messages; Common::Array<AnimFrameEntry> _frameEntries; Common::Array<AnimMiscEntry> _miscEntries; Common::Array<SpriteAsset *> _spriteSets; Font *_font; + bool _resetFlag; public: /* * Destructor @@ -131,6 +132,11 @@ public: ~Animation(); /** + * Releases scene resources used by the animation, and then deletes it + */ + void free(); + + /** * Loads animation data */ void load(MSurface &depthSurface, InterfaceSurface &interfaceSurface, const Common::String &resName, |