diff options
author | Paul Gilbert | 2014-08-15 20:26:09 -0400 |
---|---|---|
committer | Paul Gilbert | 2014-08-15 20:26:09 -0400 |
commit | f8d64ae6bc47c0d1ea6efea45c28dd4902780ecb (patch) | |
tree | dd5aac49f4b6fde3f3ca3000b563a88393c9609c /engines/access/animation.h | |
parent | e3687ea12347f65d3e6e9927e161e076774ad252 (diff) | |
download | scummvm-rg350-f8d64ae6bc47c0d1ea6efea45c28dd4902780ecb.tar.gz scummvm-rg350-f8d64ae6bc47c0d1ea6efea45c28dd4902780ecb.tar.bz2 scummvm-rg350-f8d64ae6bc47c0d1ea6efea45c28dd4902780ecb.zip |
ACCESS: Added code to update animations each frame
Diffstat (limited to 'engines/access/animation.h')
-rw-r--r-- | engines/access/animation.h | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/engines/access/animation.h b/engines/access/animation.h index c1b44a5621..f70aa3239d 100644 --- a/engines/access/animation.h +++ b/engines/access/animation.h @@ -49,14 +49,25 @@ public: void freeAnimationData(); void loadAnimations(const byte *data, int size); - void clearTimers(); - Animation *findAnimation(int animId); Animation *setAnimation(int animId); + void animate(int animId); + + /** + * Clear the list of currently active animations + */ + void clearTimers(); + + /** + * Add an animation to the list of currently animating ones + */ void setAnimTimer(Animation *anim); - void animate(int animId); + /** + * Update the timing of all currently active animation + */ + void updateTimers(); }; class AnimationResource { |