aboutsummaryrefslogtreecommitdiff
path: root/engines/toon/drew.h
diff options
context:
space:
mode:
authorSylvain Dupont2011-01-29 20:12:27 +0000
committerSylvain Dupont2011-01-29 20:12:27 +0000
commit96f4cc4b8a4273ec728419645363952d35f8ebe0 (patch)
treeda8f5f888419a5aade402eb3e3d79b7832e8c17a /engines/toon/drew.h
parentd925e38acfaa646e7191a4fd6e5197f323df491d (diff)
downloadscummvm-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.h4
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