diff options
author | Robert Špalek | 2009-11-07 01:54:47 +0000 |
---|---|---|
committer | Robert Špalek | 2009-11-07 01:54:47 +0000 |
commit | 638305fcbb9a1c53425b546a0deb2ea6c3208f5a (patch) | |
tree | 7560bb0553fbdfff85b89c76efca41cb0c550977 /engines/draci/walking.h | |
parent | 357d9989d4c6ae73e02a044b388f36069e093ce0 (diff) | |
download | scummvm-rg350-638305fcbb9a1c53425b546a0deb2ea6c3208f5a.tar.gz scummvm-rg350-638305fcbb9a1c53425b546a0deb2ea6c3208f5a.tar.bz2 scummvm-rg350-638305fcbb9a1c53425b546a0deb2ea6c3208f5a.zip |
The hero turns the right direction after walking
svn-id: r45713
Diffstat (limited to 'engines/draci/walking.h')
-rw-r--r-- | engines/draci/walking.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/engines/draci/walking.h b/engines/draci/walking.h index 180c3cf855..6c8d9b9b07 100644 --- a/engines/draci/walking.h +++ b/engines/draci/walking.h @@ -128,8 +128,11 @@ public: // scheduled animation. void heroAnimationFinished(); - // Returns the hero's animation corresponding to looking into given direction. - Movement animationForSightDirection(SightDirection dir) const; + // Returns the hero's animation corresponding to looking into given + // direction. The direction can be smart and in that case this + // function needs to know the whole last path, the current position of + // the hero, or the mouse position. + Movement animationForSightDirection(SightDirection dir, const Common::Point &hero, const Common::Point &mouse, const WalkingPath &path) const; private: DraciEngine *_vm; |