diff options
author | Sylvain Dupont | 2010-11-13 01:15:37 +0000 |
---|---|---|
committer | Sylvain Dupont | 2010-11-13 01:15:37 +0000 |
commit | 698f4c2b45221825e8d2996308dcd537d1a83a5f (patch) | |
tree | e20c27ede12cb1996c753dd824b708514dfba773 /engines/toon/path.h | |
parent | 405fd0b5eb17dde8ac9c24572f6074f2b774ee66 (diff) | |
download | scummvm-rg350-698f4c2b45221825e8d2996308dcd537d1a83a5f.tar.gz scummvm-rg350-698f4c2b45221825e8d2996308dcd537d1a83a5f.tar.bz2 scummvm-rg350-698f4c2b45221825e8d2996308dcd537d1a83a5f.zip |
TOON: Walk animation improved
Smoothing direction changes. Still needs to be polished though.
svn-id: r54221
Diffstat (limited to 'engines/toon/path.h')
-rw-r--r-- | engines/toon/path.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/toon/path.h b/engines/toon/path.h index 04a076525e..507c4dd2c2 100644 --- a/engines/toon/path.h +++ b/engines/toon/path.h @@ -62,6 +62,7 @@ public: int32 findPath(int32 x, int32 y, int32 destX, int32 destY); int32 findClosestWalkingPoint(int32 xx, int32 yy, int32 *fxx, int32 *fyy, int origX = -1, int origY = -1); bool isWalkable(int32 x, int32 y); + bool lineIsWalkable(int32 x, int32 y, int32 x2, int32 y2); void init(Picture *mask); void resetBlockingRects(); |