summaryrefslogtreecommitdiff
path: root/src/map.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-02-05 15:19:10 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-02-05 15:19:10 +0000
commit17798683ebebbc92510ba5244aa3455c2138869d (patch)
treea3c3b99944327a577aaf2000278c6a28453634e6 /src/map.h
parent9770f22a2846c68dbeea0780d595ad49ea6c490d (diff)
downloadmana-17798683ebebbc92510ba5244aa3455c2138869d.tar.gz
mana-17798683ebebbc92510ba5244aa3455c2138869d.tar.bz2
mana-17798683ebebbc92510ba5244aa3455c2138869d.tar.xz
mana-17798683ebebbc92510ba5244aa3455c2138869d.zip
Removed superfluous getPathWalk method in favor of getWalk.
Diffstat (limited to 'src/map.h')
-rw-r--r--src/map.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/map.h b/src/map.h
index 40ca168d..64ac06fd 100644
--- a/src/map.h
+++ b/src/map.h
@@ -26,9 +26,6 @@
#define TILESET_WIDTH 30
-#define WALKABLE 0
-#define NOT_WALKABLE 1
-
/** Struct representing a tile. A tile is composed of 3 layers.
1st: Ground layer (used for grass, water, ...) -> bit 0-9 of data
2nd: Fringe layer (objects that are overlapped by the player) -> bit 10-19 of data
@@ -90,11 +87,6 @@ class Map
bool getWalk(int x, int y);
/**
- * Tell if a tile is walkable or not (0=walkable,1=not walkable)
- */
- int getPathWalk(int x, int y);
-
- /**
* Returns the width of this map.
*/
int getWidth();