diff options
author | Roderic Morris <roderic@ccs.neu.edu> | 2009-07-01 20:39:28 -0400 |
---|---|---|
committer | Roderic Morris <roderic@ccs.neu.edu> | 2009-07-01 20:41:17 -0400 |
commit | 0bca1b9756a93d876cbf4a411b47634b87775162 (patch) | |
tree | 50eb8a593b1499c694add8e582823dc78b1459cb /src/map.h | |
parent | cc8faa31bfae9f7bbce453a4ae69ef3d6eacbb96 (diff) | |
download | mana-0bca1b9756a93d876cbf4a411b47634b87775162.tar.gz mana-0bca1b9756a93d876cbf4a411b47634b87775162.tar.bz2 mana-0bca1b9756a93d876cbf4a411b47634b87775162.tar.xz mana-0bca1b9756a93d876cbf4a411b47634b87775162.zip |
Remove complex path finding for players. Add a simple path finding algorithm to map.
Diffstat (limited to 'src/map.h')
-rw-r--r-- | src/map.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -258,6 +258,13 @@ class Map : public Properties const std::string &getName() const; /** + * Find a simple path from one location to the next. + */ + Path findSimplePath(int startX, int startY, + int destX, int destY, + unsigned char walkmask); + + /** * Find a path from one location to the next. */ Path findPath(int startX, int startY, int destX, int destY, |