diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-05-21 03:07:34 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-05-21 03:07:34 +0300 |
commit | 61350cc4f65d53dd3add0c15558f6017b18ddbea (patch) | |
tree | dccde6c12fec3d5d9bfcfc25c48f7a5869b3f8ef /src/map.h | |
parent | d2e83863e6e5faa6d6eeb3ab0c0a384dac3a0a11 (diff) | |
download | plus-61350cc4f65d53dd3add0c15558f6017b18ddbea.tar.gz plus-61350cc4f65d53dd3add0c15558f6017b18ddbea.tar.bz2 plus-61350cc4f65d53dd3add0c15558f6017b18ddbea.tar.xz plus-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.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |