aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche/animation.h
diff options
context:
space:
mode:
authorStrangerke2013-10-14 19:10:23 +0200
committerStrangerke2013-10-14 19:10:23 +0200
commit91e70ce2a876e5d08994d7c5b045bf867b376305 (patch)
tree58f64775b7a48876abb0304e49bd522f425e54ca /engines/avalanche/animation.h
parent1a40c8c5d23f92beabbc18dc841e3d3198be8f2c (diff)
downloadscummvm-rg350-91e70ce2a876e5d08994d7c5b045bf867b376305.tar.gz
scummvm-rg350-91e70ce2a876e5d08994d7c5b045bf867b376305.tar.bz2
scummvm-rg350-91e70ce2a876e5d08994d7c5b045bf867b376305.zip
AVALANCHE: Modifiy AnimationType initialization, add private Animation pointer
Diffstat (limited to 'engines/avalanche/animation.h')
-rw-r--r--engines/avalanche/animation.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/avalanche/animation.h b/engines/avalanche/animation.h
index ad70645036..ac247b8256 100644
--- a/engines/avalanche/animation.h
+++ b/engines/avalanche/animation.h
@@ -67,7 +67,9 @@ public:
bool _callEachStepFl; // Do we call the eachstep procedure?
byte _eachStepProc;
- void init(byte spritenum, bool doCheck, Animation *anim);
+ AnimationType(Animation *anim);
+
+ void init(byte spritenum, bool doCheck);
void reset();
void draw();
void turn(Direction whichway);
@@ -107,7 +109,7 @@ public:
kProcGeida // Spludwick uses it as well for homing! TODO: Unify it with kProcSpludwick.
};
- AnimationType _sprites[kSpriteNumbMax];
+ AnimationType *_sprites[kSpriteNumbMax];
Animation(AvalancheEngine *vm);
~Animation();