aboutsummaryrefslogtreecommitdiff
path: root/engines/m4/animation.h
diff options
context:
space:
mode:
authorPaul Gilbert2010-06-07 09:19:42 +0000
committerPaul Gilbert2010-06-07 09:19:42 +0000
commit34f7c05e4dd0e7cd3f84576f57593d034f666d31 (patch)
treebe457ad91a6ec54dc233a6db1981d9558498fcbf /engines/m4/animation.h
parent43ec405ffe08cef3168c9618be6169e6d81290f8 (diff)
downloadscummvm-rg350-34f7c05e4dd0e7cd3f84576f57593d034f666d31.tar.gz
scummvm-rg350-34f7c05e4dd0e7cd3f84576f57593d034f666d31.tar.bz2
scummvm-rg350-34f7c05e4dd0e7cd3f84576f57593d034f666d31.zip
Initial conversion of the AnimviewView class to use the expanded MadsAnimation class, rather than the older AAFile skeleton class
svn-id: r49478
Diffstat (limited to 'engines/m4/animation.h')
-rw-r--r--engines/m4/animation.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/m4/animation.h b/engines/m4/animation.h
index 883d3f2de6..5c7227a256 100644
--- a/engines/m4/animation.h
+++ b/engines/m4/animation.h
@@ -63,7 +63,7 @@ public:
#define ANIM_SPRITE_SET_SIZE 50
-enum MadsAnimationFlags {ANIM_CUSTOM_FONT = 0x20};
+enum MadsAnimationFlags {ANIM_CUSTOM_FONT = 0x20, ANIM_HAS_SOUND = 0x8000};
class MadsAnimation: public Animation {
private:
@@ -114,6 +114,7 @@ public:
virtual void setCurrentFrame(int frameNumber);
bool freeFlag() const { return _freeFlag; }
+ int roomNumber() const { return _roomNumber; }
};
} // End of namespace M4