diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-11-25 16:03:36 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-11-25 16:03:36 +0000 |
commit | 74ecb4ad57ac84d6e8471a6d6aa2ac1030ef0dcb (patch) | |
tree | bd739b6c2afd48a93568cf5f563c6bd0a049384e /crawl-ref/source/dgnevent.h | |
parent | 0afe4c455bf5a0358cf7f6688b413389a5080fcc (diff) | |
download | crawl-ref-74ecb4ad57ac84d6e8471a6d6aa2ac1030ef0dcb.tar.gz crawl-ref-74ecb4ad57ac84d6e8471a6d6aa2ac1030ef0dcb.zip |
Ditch baroque dgnevent veto mechanism in favour of marker-property-based veto, which is trivial to extend. Also fix turn loss when trying to use a toll portal without enough gold.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7611 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/dgnevent.h')
-rw-r--r-- | crawl-ref/source/dgnevent.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/crawl-ref/source/dgnevent.h b/crawl-ref/source/dgnevent.h index 75a0174c06..cff604d2c1 100644 --- a/crawl-ref/source/dgnevent.h +++ b/crawl-ref/source/dgnevent.h @@ -29,10 +29,7 @@ enum dgn_event_type DET_MONSTER_DIED = 0x0100, DET_ITEM_PICKUP = 0x0200, DET_ITEM_MOVED = 0x0400, - DET_FEAT_CHANGE = 0x0800, - - // Vetoable events, usually fired before the corresponding (real) event. - DETV_LEAVE_LEVEL = 0x1000 + DET_FEAT_CHANGE = 0x0800 }; class dgn_event |