diff options
author | Jude Brown <bookofjude@users.sourceforge.net> | 2010-04-23 20:30:55 +1000 |
---|---|---|
committer | Jude Brown <bookofjude@users.sourceforge.net> | 2010-04-23 20:30:55 +1000 |
commit | 3c2dce49541c912dfe8e2808053bed67fba102f9 (patch) | |
tree | f8ac2e2c409e1e14435ae4e344bf5d2fd0d94a70 /crawl-ref/source/dgnevent.h | |
parent | 85563e132f41840750a05e25819522c04bff8397 (diff) | |
download | crawl-ref-3c2dce49541c912dfe8e2808053bed67fba102f9.tar.gz crawl-ref-3c2dce49541c912dfe8e2808053bed67fba102f9.zip |
Add a Dungeon event for low-HP warning.
Also includes relevant Lua coding for use in maps/tutorial, etc.
Diffstat (limited to 'crawl-ref/source/dgnevent.h')
-rw-r--r-- | crawl-ref/source/dgnevent.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/dgnevent.h b/crawl-ref/source/dgnevent.h index 7f767ac244..0b4415d3b9 100644 --- a/crawl-ref/source/dgnevent.h +++ b/crawl-ref/source/dgnevent.h @@ -31,10 +31,11 @@ enum dgn_event_type DET_WALL_HIT = 0x1000, DET_DOOR_OPENED = 0x2000, DET_DOOR_CLOSED = 0x4000, + DET_HP_WARNING = 0x8000, DET_GLOBAL_MASK = DET_TURN_ELAPSED | DET_LEAVING_LEVEL | DET_ENTERING_LEVEL | DET_ENTERED_LEVEL - | DET_MONSTER_DIED, + | DET_MONSTER_DIED | DET_HP_WARNING, DET_POSITION_MASK = DET_MONSTER_MOVED | DET_PLAYER_MOVED | DET_PLAYER_IN_LOS | DET_ITEM_PICKUP |