summaryrefslogtreecommitdiff
path: root/src/map.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-02-13 00:15:33 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-02-13 00:15:33 +0000
commit85f211ea50df2d48c0400b2a267808f798b524fa (patch)
treedeb1a7ec15369e1b8b9def4a221548e87214d320 /src/map.h
parent4daa948c97c738ae102559635be3b89dc2b78dc4 (diff)
downloadmana-client-85f211ea50df2d48c0400b2a267808f798b524fa.tar.gz
mana-client-85f211ea50df2d48c0400b2a267808f798b524fa.tar.bz2
mana-client-85f211ea50df2d48c0400b2a267808f798b524fa.tar.xz
mana-client-85f211ea50df2d48c0400b2a267808f798b524fa.zip
New shorter and more flexible pathfinding implementation, which is hopefully
also more stable.
Diffstat (limited to 'src/map.h')
-rw-r--r--src/map.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/map.h b/src/map.h
index 38b880b7..c8757603 100644
--- a/src/map.h
+++ b/src/map.h
@@ -108,6 +108,11 @@ class Map
int getTile(int x, int y, int layer);
/**
+ * Get tile reference.
+ */
+ Tile *getTile(int x, int y);
+
+ /**
* Set walkability flag for a tile
*/
void setWalk(int x, int y, bool walkable);