aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/animation.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/mads/animation.h')
-rw-r--r--engines/mads/animation.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/engines/mads/animation.h b/engines/mads/animation.h
index a1d957ee45..715f6e49a5 100644
--- a/engines/mads/animation.h
+++ b/engines/mads/animation.h
@@ -40,6 +40,11 @@ enum AnimFlag {
ANIMFLAG_LOAD_BACKGROUND_ONLY = 0x0200 // Load background only
};
+enum AnimBgType {
+ ANIMBG_ROOM = 1, ANIMBG_FULL_SIZE = 2, ANIMBG_BLACK_SCREEN = 3,
+ ANIMBG_INTERFACE = 4
+};
+
class MADSEngine;
class Scene;
@@ -112,7 +117,7 @@ public:
int _frameEntriesCount;
int _messagesCount;
byte _flags;
- int _animMode;
+ AnimBgType _bgType;
int _roomNumber;
bool _manualFlag;
int _spritesIndex;
@@ -215,7 +220,6 @@ public:
int getCurrentFrame() const { return _currentFrame; }
bool freeFlag() const { return _freeFlag; }
- bool getAnimMode() const { return _header._animMode; }
int roomNumber() const { return _header._roomNumber; }
void resetSpriteSetsCount() { _header._spriteSetsCount = 0; } // CHECKME: See if it doesn't leak the memory when the destructor is called