From 19d5d66fd7989f9028ee2ad54fd36d163fdb1b1c Mon Sep 17 00:00:00 2001 From: Denis Kasak Date: Sat, 8 Aug 2009 12:31:49 +0000 Subject: * Implemented WalkingMap::findNearestWalkable() which mimics a heuristic from the original game that attempts to find walkable spots near the given point * Implemented moving to the right place when looking / using objects. svn-id: r43125 --- engines/draci/game.h | 1 + 1 file changed, 1 insertion(+) (limited to 'engines/draci/game.h') diff --git a/engines/draci/game.h b/engines/draci/game.h index c041490e04..7d0f8349f5 100644 --- a/engines/draci/game.h +++ b/engines/draci/game.h @@ -89,6 +89,7 @@ public: } bool isWalkable(int x, int y); + Common::Point findNearestWalkable(int x, int y, Common::Rect searchRect); private: int _realWidth, _realHeight; -- cgit v1.2.3