summaryrefslogtreecommitdiff
path: root/src/map.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-05-21 03:07:34 +0300
committerAndrei Karas <akaras@inbox.ru>2011-05-21 03:07:34 +0300
commit61350cc4f65d53dd3add0c15558f6017b18ddbea (patch)
treedccde6c12fec3d5d9bfcfc25c48f7a5869b3f8ef /src/map.h
parentd2e83863e6e5faa6d6eeb3ab0c0a384dac3a0a11 (diff)
downloadmv-61350cc4f65d53dd3add0c15558f6017b18ddbea.tar.gz
mv-61350cc4f65d53dd3add0c15558f6017b18ddbea.tar.bz2
mv-61350cc4f65d53dd3add0c15558f6017b18ddbea.tar.xz
mv-61350cc4f65d53dd3add0c15558f6017b18ddbea.zip
Add monster walktype attribute to detect on what collisions monster can move.
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 be880f2e7..0a684140e 100644
--- a/src/map.h
+++ b/src/map.h
@@ -212,6 +212,7 @@ class Map : public Properties, public ConfigListener
BLOCKTYPE_MONSTER,
BLOCKTYPE_AIR,
BLOCKTYPE_WATER,
+ BLOCKTYPE_GROUND,
NB_BLOCKTYPES
};
@@ -230,7 +231,8 @@ class Map : public Properties, public ConfigListener
BLOCKMASK_CHARACTER = 0x01, // 0000 0001
BLOCKMASK_MONSTER = 0x02, // 0000 0010
BLOCKMASK_AIR = 0x04, // 0000 0100
- BLOCKMASK_WATER = 0x08 // 0000 1000
+ BLOCKMASK_WATER = 0x08, // 0000 1000
+ BLOCKMASK_GROUND = 0x16 // 0001 0000
};
enum DebugType