From f8a19bb4a9be128de321522b92037774e1625b69 Mon Sep 17 00:00:00 2001 From: Robert Špalek Date: Thu, 5 Nov 2009 14:22:39 +0000 Subject: Implemented proper walking. First shot, not debugged yet, but seems to work (even though a bit hairy)! svn-id: r45688 --- engines/draci/animation.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'engines/draci/animation.cpp') 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; -- cgit v1.2.3