summaryrefslogtreecommitdiff
path: root/src/map.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-03-13 01:16:52 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-03-13 01:16:52 +0000
commitab9debf3fa91f3b36c6739f4affbdc187e78113d (patch)
tree4e22c94c0c3fd70c7741e98a7d81d0150ff57fba /src/map.h
parentd0c5ab3fe88e1248f755a764248037960f7bed35 (diff)
downloadmana-client-ab9debf3fa91f3b36c6739f4affbdc187e78113d.tar.gz
mana-client-ab9debf3fa91f3b36c6739f4affbdc187e78113d.tar.bz2
mana-client-ab9debf3fa91f3b36c6739f4affbdc187e78113d.tar.xz
mana-client-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.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/map.h b/src/map.h
index 7c00bfa8..d56928d0 100644
--- a/src/map.h
+++ b/src/map.h
@@ -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;