diff options
author | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-11-26 04:49:33 +0000 |
---|---|---|
committer | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-11-26 04:49:33 +0000 |
commit | 9629076ee9f0b7a88048c0eb6d979c5d86a7a3d2 (patch) | |
tree | cb7381ef2ff5a76c88624a951070e3495b15e5fb /crawl-ref/source/dungeon.h | |
parent | 300286dd913491e4869d56078d42bab7c47c40db (diff) | |
download | crawl-ref-9629076ee9f0b7a88048c0eb6d979c5d86a7a3d2.tar.gz crawl-ref-9629076ee9f0b7a88048c0eb6d979c5d86a7a3d2.zip |
Start of moving special room definitions (monster lairs and monster pits)
to lua. As of now all special rooms are filled with rats.
Introduces two new members to map_def, weight_depth_mult and weight_depth_div,
which change a map's weight based on the absolute dungeon depth (not yet
accesible via lua or vault definitions). This needs to be done in C++
rather than in lua since a map's lua isn't re-invoked every time a random
map is chosen, but only when the map is placed.
NOTE: When I first made this change crawl started crashing until I manually
forced the recompilation of util/levcomp.lex.o and util/levcomp.tab.o;
if crawl starts crashing after this change, try doing that.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7629 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/dungeon.h')
-rw-r--r-- | crawl-ref/source/dungeon.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/crawl-ref/source/dungeon.h b/crawl-ref/source/dungeon.h index e0b2c9b31b..bcfa1d6d16 100644 --- a/crawl-ref/source/dungeon.h +++ b/crawl-ref/source/dungeon.h @@ -32,17 +32,6 @@ enum portal_type NUM_PORTALS }; -enum special_room_type -{ - SROOM_LAIR_ORC, // 0 - SROOM_LAIR_KOBOLD, - SROOM_TREASURY, - SROOM_BEEHIVE, - SROOM_JELLY_PIT, - SROOM_MORGUE, - NUM_SPECIAL_ROOMS // 5 - must remain final member {dlb} -}; - const int MAKE_GOOD_ITEM = 351; // Should be the larger of GXM/GYM |