From 8b0e30d3798cd5bdce2c3a34a3c384e90dceac99 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Tue, 26 Apr 2005 00:04:45 +0000 Subject: Changed keyboard control to integrate better with mouse walk, changed location of packet.list and chatlog.txt and removed name from player chat "balloon". --- src/map.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/map.h') diff --git a/src/map.h b/src/map.h index d56928d0..38d63285 100644 --- a/src/map.h +++ b/src/map.h @@ -129,10 +129,15 @@ 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. */ -- cgit v1.2.3-60-g2f50