summaryrefslogtreecommitdiff
path: root/src/map.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-04-26 00:04:45 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-04-26 00:04:45 +0000
commit8b0e30d3798cd5bdce2c3a34a3c384e90dceac99 (patch)
tree3fdca13a0cc138ed65b72de8cd3747cc79916818 /src/map.h
parenta31ba215a3043ebd62d415a7d855a531239fb630 (diff)
downloadmana-8b0e30d3798cd5bdce2c3a34a3c384e90dceac99.tar.gz
mana-8b0e30d3798cd5bdce2c3a34a3c384e90dceac99.tar.bz2
mana-8b0e30d3798cd5bdce2c3a34a3c384e90dceac99.tar.xz
mana-8b0e30d3798cd5bdce2c3a34a3c384e90dceac99.zip
Changed keyboard control to integrate better with mouse walk, changed location
of packet.list and chatlog.txt and removed name from player chat "balloon".
Diffstat (limited to 'src/map.h')
-rw-r--r--src/map.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/map.h b/src/map.h
index d56928d0..38d63285 100644
--- a/src/map.h
+++ b/src/map.h
@@ -129,11 +129,16 @@ class Map
void setWalk(int x, int y, bool walkable);
/**
- * Tell if a tile is walkable or not
+ * Tell if a tile is walkable or not, includes checking beings.
*/
bool getWalk(int x, int y);
/**
+ * Tell if a tile collides, not including a check on beings.
+ */
+ bool tileCollides(int x, int y);
+
+ /**
* Returns the width of this map.
*/
int getWidth();