aboutsummaryrefslogtreecommitdiff
path: root/engines/draci/animation.cpp
diff options
context:
space:
mode:
authorRobert Špalek2009-11-05 14:22:39 +0000
committerRobert Špalek2009-11-05 14:22:39 +0000
commitf8a19bb4a9be128de321522b92037774e1625b69 (patch)
tree3e43354c1505bdd2690731a375da6a793236865b /engines/draci/animation.cpp
parent455f27f0561a5ef723b74f44bb9e26bcda1d9cdb (diff)
downloadscummvm-rg350-f8a19bb4a9be128de321522b92037774e1625b69.tar.gz
scummvm-rg350-f8a19bb4a9be128de321522b92037774e1625b69.tar.bz2
scummvm-rg350-f8a19bb4a9be128de321522b92037774e1625b69.zip
Implemented proper walking.
First shot, not debugged yet, but seems to work (even though a bit hairy)! svn-id: r45688
Diffstat (limited to 'engines/draci/animation.cpp')
-rw-r--r--engines/draci/animation.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/draci/animation.cpp b/engines/draci/animation.cpp
index 560f03ffcf..2bbb960fb1 100644
--- a/engines/draci/animation.cpp
+++ b/engines/draci/animation.cpp
@@ -210,6 +210,10 @@ void Animation::exitGameLoop() {
_vm->_game->setExitLoop(true);
}
+void Animation::tellWalkingState() {
+ _vm->_game->heroAnimationFinished();
+}
+
Animation *AnimationManager::addAnimation(int id, uint z, bool playing) {
// Increment animation index
++_lastIndex;