diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-03-13 01:16:52 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-03-13 01:16:52 +0000 |
commit | ab9debf3fa91f3b36c6739f4affbdc187e78113d (patch) | |
tree | 4e22c94c0c3fd70c7741e98a7d81d0150ff57fba /src/map.h | |
parent | d0c5ab3fe88e1248f755a764248037960f7bed35 (diff) | |
download | mana-ab9debf3fa91f3b36c6739f4affbdc187e78113d.tar.gz mana-ab9debf3fa91f3b36c6739f4affbdc187e78113d.tar.bz2 mana-ab9debf3fa91f3b36c6739f4affbdc187e78113d.tar.xz mana-ab9debf3fa91f3b36c6739f4affbdc187e78113d.zip |
* Moved Being public char *speech to private std::string speech
* Moved Being public PATH_NODE *path to private std::list<PATH_NODE> path
* Fixed warping issue which corrupted player (which also applies to respawning)
* Got rid of sound error in Setup window
Diffstat (limited to 'src/map.h')
-rw-r--r-- | src/map.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -27,6 +27,7 @@ #include "being.h" #include "graphics.h" #include "resources/image.h" +#include <list> /** * A meta tile stores additional information about a location on a tile map. @@ -155,7 +156,8 @@ class Map /** * Find a path from one location to the next. */ - PATH_NODE *findPath(int startX, int startY, int destX, int destY); + std::list<PATH_NODE> findPath( + int startX, int startY, int destX, int destY); private: int width, height; |