diff options
author | Denis Kasak | 2009-08-08 12:31:49 +0000 |
---|---|---|
committer | Denis Kasak | 2009-08-08 12:31:49 +0000 |
commit | 19d5d66fd7989f9028ee2ad54fd36d163fdb1b1c (patch) | |
tree | 86f22ceb0155c25b9f5db7fb1d7576db1fa2f5cd /engines/draci/game.h | |
parent | fc6ff00cbce11f4ffee62d964531f71c88590a11 (diff) | |
download | scummvm-rg350-19d5d66fd7989f9028ee2ad54fd36d163fdb1b1c.tar.gz scummvm-rg350-19d5d66fd7989f9028ee2ad54fd36d163fdb1b1c.tar.bz2 scummvm-rg350-19d5d66fd7989f9028ee2ad54fd36d163fdb1b1c.zip |
* 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
Diffstat (limited to 'engines/draci/game.h')
-rw-r--r-- | engines/draci/game.h | 1 |
1 files changed, 1 insertions, 0 deletions
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; |