summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dgnevent.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2010-10-20 13:20:29 +0200
committerAdam Borowski <kilobyte@angband.pl>2010-10-20 13:20:29 +0200
commitf51eb1b1779b2efc4707b69802be19a8637eaf64 (patch)
treeadca9ce2c5981417ad1316474735bc36d786b1bb /crawl-ref/source/dgnevent.h
parent9eb58e8d93102ac4b2c0664a05e8554f13565e8d (diff)
downloadcrawl-ref-f51eb1b1779b2efc4707b69802be19a8637eaf64.tar.gz
crawl-ref-f51eb1b1779b2efc4707b69802be19a8637eaf64.zip
Make pressure plates call Lua markers when stepped on.
Diffstat (limited to 'crawl-ref/source/dgnevent.h')
-rw-r--r--crawl-ref/source/dgnevent.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/crawl-ref/source/dgnevent.h b/crawl-ref/source/dgnevent.h
index d276848b31..f9c5731b1d 100644
--- a/crawl-ref/source/dgnevent.h
+++ b/crawl-ref/source/dgnevent.h
@@ -32,6 +32,7 @@ enum dgn_event_type
DET_DOOR_OPENED = 0x2000,
DET_DOOR_CLOSED = 0x4000,
DET_HP_WARNING = 0x8000,
+ DET_PRESSURE_PLATE = 0x10000,
DET_GLOBAL_MASK = DET_TURN_ELAPSED | DET_LEAVING_LEVEL
| DET_ENTERING_LEVEL | DET_ENTERED_LEVEL
@@ -40,7 +41,8 @@ enum dgn_event_type
DET_POSITION_MASK = DET_MONSTER_MOVED | DET_PLAYER_MOVED
| DET_PLAYER_IN_LOS | DET_ITEM_PICKUP
| DET_ITEM_MOVED | DET_FEAT_CHANGE | DET_WALL_HIT
- | DET_DOOR_OPENED | DET_DOOR_CLOSED,
+ | DET_DOOR_OPENED | DET_DOOR_CLOSED
+ | DET_PRESSURE_PLATE,
};
class dgn_event