diff options
author | Eugene Sandulenko | 2004-08-01 13:34:20 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2004-08-01 13:34:20 +0000 |
commit | ea694ffd68a5071fda937b3d23d6796c3abb3ba3 (patch) | |
tree | ef9034f15029695f4c7673106742dce365878c0b /saga/animation.h | |
parent | f97621d6e4d620212c5b7071ae8841d0e361709b (diff) | |
download | scummvm-rg350-ea694ffd68a5071fda937b3d23d6796c3abb3ba3.tar.gz scummvm-rg350-ea694ffd68a5071fda937b3d23d6796c3abb3ba3.tar.bz2 scummvm-rg350-ea694ffd68a5071fda937b3d23d6796c3abb3ba3.zip |
Pass SagaEngine object to Anim and ActionMap objects
svn-id: r14422
Diffstat (limited to 'saga/animation.h')
-rw-r--r-- | saga/animation.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/saga/animation.h b/saga/animation.h index 837c2f6a2b..d96ace971c 100644 --- a/saga/animation.h +++ b/saga/animation.h @@ -94,7 +94,7 @@ enum ANIM_FLAGS { class Anim { public: int reg(void); - Anim(void); + Anim(SagaEngine *vm); ~Anim(void); int load(const byte *anim_resdata, size_t anim_resdata_len, uint16 *anim_id_p); int freeId(uint16 anim_id); @@ -112,6 +112,7 @@ private: size_t thisf_len, const byte **nextf_p, size_t *nextf_len); int getFrameOffset(const byte *anim_resource, size_t anim_resource_len, uint16 find_frame, size_t *frame_offset); + SagaEngine *_vm; bool _initialized; uint16 _anim_count; |