From 698f4c2b45221825e8d2996308dcd537d1a83a5f Mon Sep 17 00:00:00 2001 From: Sylvain Dupont Date: Sat, 13 Nov 2010 01:15:37 +0000 Subject: TOON: Walk animation improved Smoothing direction changes. Still needs to be polished though. svn-id: r54221 --- engines/toon/path.h | 1 + 1 file changed, 1 insertion(+) (limited to 'engines/toon/path.h') 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(); -- cgit v1.2.3