summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dgnevent.h
diff options
context:
space:
mode:
authorzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2007-10-18 17:42:50 +0000
committerzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2007-10-18 17:42:50 +0000
commit45b0ff6c34bfa8f1653413349a31a65070e662c6 (patch)
tree6d41494b0b486decce22d11a24903da7655faada /crawl-ref/source/dgnevent.h
parent6953c233808fe5c5cbc1b9f7143e7986a6e09439 (diff)
downloadcrawl-ref-45b0ff6c34bfa8f1653413349a31a65070e662c6.tar.gz
crawl-ref-45b0ff6c34bfa8f1653413349a31a65070e662c6.zip
Added fog machine Lua map markers. Needs a C interface to make it usable
in level generation. Clouds now have a "spread rate" field, which by default uses the same per-cloud-type rate as before (normal spread rate for steam, grey smoke and black smoke, no spreading for other cloud types). Might want to make the spread rate decrease as the cloud spreads (currently it remains unchanged). Added new dungeon event type "entered level", to complement "entering level". git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2489 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/dgnevent.h')
-rw-r--r--crawl-ref/source/dgnevent.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/crawl-ref/source/dgnevent.h b/crawl-ref/source/dgnevent.h
index bc394cab77..3ccd1d0246 100644
--- a/crawl-ref/source/dgnevent.h
+++ b/crawl-ref/source/dgnevent.h
@@ -22,11 +22,12 @@ enum dgn_event_type
DET_PLAYER_MOVED = 0x0004,
DET_LEAVING_LEVEL = 0x0008,
DET_ENTERING_LEVEL = 0x0010,
- DET_PLAYER_IN_LOS = 0x0020, // Player just entered LOS.
- DET_PLAYER_CLIMBS = 0x0040, // Player climbing stairs.
- DET_MONSTER_DIED = 0x0080,
- DET_ITEM_PICKUP = 0x0100,
- DET_FEAT_CHANGE = 0x0200
+ DET_ENTERED_LEVEL = 0x0020,
+ DET_PLAYER_IN_LOS = 0x0040, // Player just entered LOS.
+ DET_PLAYER_CLIMBS = 0x0080, // Player climbing stairs.
+ DET_MONSTER_DIED = 0x0100,
+ DET_ITEM_PICKUP = 0x0200,
+ DET_FEAT_CHANGE = 0x0400
};
class dgn_event