aboutsummaryrefslogtreecommitdiff
path: root/engines/draci/animation.h
diff options
context:
space:
mode:
authorDenis Kasak2009-07-30 01:12:07 +0000
committerDenis Kasak2009-07-30 01:12:07 +0000
commitb124c8b1225627def357b284e43d9890e1fda79a (patch)
treefc23bcb19684165230506479a0908ec669653b2b /engines/draci/animation.h
parent6ed99df75aadeb8c3844c7d4546735afbd1831de (diff)
downloadscummvm-rg350-b124c8b1225627def357b284e43d9890e1fda79a.tar.gz
scummvm-rg350-b124c8b1225627def357b284e43d9890e1fda79a.tar.bz2
scummvm-rg350-b124c8b1225627def357b284e43d9890e1fda79a.zip
* Added Animation::setCurrentFrame()
* Moved rewinding the animation to the beginning from Animation::nextFrame() to AnimationManager::stop() (fixes the owl animation) svn-id: r42913
Diffstat (limited to 'engines/draci/animation.h')
-rw-r--r--engines/draci/animation.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/draci/animation.h b/engines/draci/animation.h
index 3fd4b67114..a6ab07a9a4 100644
--- a/engines/draci/animation.h
+++ b/engines/draci/animation.h
@@ -69,6 +69,7 @@ public:
void addFrame(Drawable *frame);
Drawable *getFrame(int frameNum = kCurrentFrame);
+ void setCurrentFrame(uint frame);
uint currentFrameNum();
uint getFrameCount();
void deleteFrames();