aboutsummaryrefslogtreecommitdiff
path: root/engines/draci/walking.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/draci/walking.h')
-rw-r--r--engines/draci/walking.h7
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;