summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/enum.h
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2007-10-04 12:52:55 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2007-10-04 12:52:55 +0000
commitce144b644df6884660606906b2e0bd2d002a9c6c (patch)
tree0c38eac8f5a02835a7a71ce827b99e33656d7e19 /crawl-ref/source/enum.h
parent1f97cbc369b32cf86dda02a148b29d8696e2906c (diff)
downloadcrawl-ref-ce144b644df6884660606906b2e0bd2d002a9c6c.tar.gz
crawl-ref-ce144b644df6884660606906b2e0bd2d002a9c6c.zip
Another cleanup of dungeon features. Adding general markers
for first branch/last branch and first altar/last altar that should hopefully make adding new ones easier. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2324 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/enum.h')
-rw-r--r--crawl-ref/source/enum.h24
1 files changed, 19 insertions, 5 deletions
diff --git a/crawl-ref/source/enum.h b/crawl-ref/source/enum.h
index 05ae52441e..4965e9cdf3 100644
--- a/crawl-ref/source/enum.h
+++ b/crawl-ref/source/enum.h
@@ -73,6 +73,8 @@ enum ability_type
ABIL_EVOKE_LEVITATE,
ABIL_EVOKE_STOP_LEVITATING,
ABIL_END_TRANSFORMATION, // 55
+
+ // Divine abilities
ABIL_ZIN_REPEL_UNDEAD = 110, // 110
ABIL_ZIN_HEALING,
ABIL_ZIN_PESTILENCE,
@@ -896,13 +898,15 @@ enum dungeon_feature_type
DNGN_STONE_STAIRS_DOWN_I,
DNGN_STONE_STAIRS_DOWN_II,
DNGN_STONE_STAIRS_DOWN_III,
- DNGN_ROCK_STAIRS_DOWN, // 85 - was this supposed to be a ladder? {dlb}
+ DNGN_ROCK_STAIRS_DOWN, // 85 - now escape hatch (Stonesoup 0.3)
+ // corresponding up stairs (same order as above)
DNGN_STONE_STAIRS_UP_I,
DNGN_STONE_STAIRS_UP_II,
DNGN_STONE_STAIRS_UP_III,
- DNGN_ROCK_STAIRS_UP, // 89 - was this supposed to be a ladder? {dlb}
+ DNGN_ROCK_STAIRS_UP, // 89 - now escape hatch (Stonesoup 0.3)
+ // Various gates
DNGN_ENTER_DIS = 92, // 92
DNGN_ENTER_GEHENNA,
DNGN_ENTER_COCYTUS,
@@ -917,7 +921,9 @@ enum dungeon_feature_type
DNGN_BUILDER_SPECIAL_WALL = 105, // 105; builder() only
DNGN_BUILDER_SPECIAL_FLOOR, // 106; builder() only
- DNGN_ENTER_ORCISH_MINES = 110, // 110
+ // Entrances to various branches
+ DNGN_ENTER_FIRST_BRANCH = 110, // 110
+ DNGN_ENTER_ORCISH_MINES = DNGN_ENTER_FIRST_BRANCH,
DNGN_ENTER_HIVE,
DNGN_ENTER_LAIR,
DNGN_ENTER_SLIME_PITS,
@@ -934,8 +940,12 @@ enum dungeon_feature_type
DNGN_ENTER_RESERVED_2,
DNGN_ENTER_RESERVED_3,
DNGN_ENTER_RESERVED_4, // 126
+ DNGN_ENTER_LAST_BRANCH = DNGN_ENTER_RESERVED_4,
- DNGN_RETURN_FROM_ORCISH_MINES = 130, // 130
+ // Exits from various branches
+ // Order must be the same as above
+ DNGN_RETURN_FROM_FIRST_BRANCH = 130, // 130
+ DNGN_RETURN_FROM_ORCISH_MINES = DNGN_RETURN_FROM_FIRST_BRANCH,
DNGN_RETURN_FROM_HIVE,
DNGN_RETURN_FROM_LAIR,
DNGN_RETURN_FROM_SLIME_PITS,
@@ -952,12 +962,15 @@ enum dungeon_feature_type
DNGN_RETURN_RESERVED_2,
DNGN_RETURN_RESERVED_3,
DNGN_RETURN_RESERVED_4, // 146
+ DNGN_RETURN_FROM_LAST_BRANCH = DNGN_RETURN_RESERVED_4,
// Portals to various places unknown.
DNGN_ENTER_PORTAL_VAULT = 160,
DNGN_EXIT_PORTAL_VAULT,
- DNGN_ALTAR_ZIN = 180, // 180
+ // Order of altars must match order of gods (god_type)
+ DNGN_ALTAR_FIRST_GOD = 180, // 180
+ DNGN_ALTAR_ZIN = DNGN_ALTAR_FIRST_GOD,
DNGN_ALTAR_SHINING_ONE,
DNGN_ALTAR_KIKUBAAQUDGHA,
DNGN_ALTAR_YREDELEMNUL,
@@ -971,6 +984,7 @@ enum dungeon_feature_type
DNGN_ALTAR_ELYVILON, // 191
DNGN_ALTAR_LUGONU,
DNGN_ALTAR_BEOGH,
+ DNGN_ALTAR_LAST_GOD = DNGN_ALTAR_BEOGH,
DNGN_BLUE_FOUNTAIN = 200, // 200
DNGN_DRY_FOUNTAIN_I,