diff options
author | Sylvain Dupont | 2011-01-29 20:12:27 +0000 |
---|---|---|
committer | Sylvain Dupont | 2011-01-29 20:12:27 +0000 |
commit | 96f4cc4b8a4273ec728419645363952d35f8ebe0 (patch) | |
tree | da8f5f888419a5aade402eb3e3d79b7832e8c17a /engines/toon/drew.h | |
parent | d925e38acfaa646e7191a4fd6e5197f323df491d (diff) | |
download | scummvm-rg350-96f4cc4b8a4273ec728419645363952d35f8ebe0.tar.gz scummvm-rg350-96f4cc4b8a4273ec728419645363952d35f8ebe0.tar.bz2 scummvm-rg350-96f4cc4b8a4273ec728419645363952d35f8ebe0.zip |
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
Diffstat (limited to 'engines/toon/drew.h')
-rw-r--r-- | engines/toon/drew.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 |