From 96f4cc4b8a4273ec728419645363952d35f8ebe0 Mon Sep 17 00:00:00 2001 From: Sylvain Dupont Date: Sat, 29 Jan 2011 20:12:27 +0000 Subject: TOON: Pathfinding & walking improvements Use direct line path if possible Smooth facing direction to avoid flickering (entering zanidu shuttle for example) Fix possible lockups svn-id: r55624 --- engines/toon/drew.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'engines/toon/drew.h') diff --git a/engines/toon/drew.h b/engines/toon/drew.h index ae9fdff2e9..d8091f2225 100644 --- a/engines/toon/drew.h +++ b/engines/toon/drew.h @@ -40,9 +40,13 @@ public: bool setupPalette(); void playStandingAnim(); void setPosition(int32 x, int32 y); + void resetScale(); void update(int32 timeIncrement); void playWalkAnim(int32 start, int32 end); int32 getRandomIdleAnim(); +protected: + int32 _currentScale; + }; } // End of namespace Toon -- cgit v1.2.3