diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2006-12-20 20:08:15 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2006-12-20 20:08:15 +0000 |
commit | ebe5e29212f88a4db612ffe5707c08aaa01f818e (patch) | |
tree | fb0a90f1ae4f92250010ffca50f3300797b49379 /crawl-ref/source/enum.h | |
parent | 1aabb3c12726b02bce39e5f9ec843e18640b1fdd (diff) | |
download | crawl-ref-ebe5e29212f88a4db612ffe5707c08aaa01f818e.tar.gz crawl-ref-ebe5e29212f88a4db612ffe5707c08aaa01f818e.zip |
Refactored out branches into branch.h and branch.cc.
NOTE: This commit is *buggy*; the final Hell vaults contain buggy runes
now. Will fix later; this is a benchmark, since hopefully everything else
works.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@682 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/enum.h')
-rw-r--r-- | crawl-ref/source/enum.h | 55 |
1 files changed, 19 insertions, 36 deletions
diff --git a/crawl-ref/source/enum.h b/crawl-ref/source/enum.h index 9726ea4b0e..b4ec68e2f8 100644 --- a/crawl-ref/source/enum.h +++ b/crawl-ref/source/enum.h @@ -439,48 +439,31 @@ enum book_type NUM_BOOKS }; -enum branch_type // you.where_are_you +enum branch_type // you.where_are_you { - BRANCH_MAIN_DUNGEON, // 0 - BRANCH_DIS, - BRANCH_GEHENNA, - BRANCH_VESTIBULE_OF_HELL, - BRANCH_COCYTUS, - BRANCH_TARTARUS, // 5 - BRANCH_INFERNO, // unimplemented - BRANCH_THE_PIT, // 7 // unimplemented - BRANCH_ORCISH_MINES = 10, // 10 - BRANCH_HIVE, + BRANCH_MAIN_DUNGEON, // 0 + BRANCH_ECUMENICAL_TEMPLE, + BRANCH_ORCISH_MINES, + BRANCH_ELVEN_HALLS, BRANCH_LAIR, + BRANCH_SWAMP, BRANCH_SLIME_PITS, + BRANCH_SNAKE_PIT, + BRANCH_HIVE, BRANCH_VAULTS, - BRANCH_CRYPT, // 15 BRANCH_HALL_OF_BLADES, - BRANCH_HALL_OF_ZOT, - BRANCH_ECUMENICAL_TEMPLE, - BRANCH_SNAKE_PIT, - BRANCH_ELVEN_HALLS, // 20 + BRANCH_CRYPT, BRANCH_TOMB, - BRANCH_SWAMP, - BRANCH_CAVERNS -}; - -enum branch_stair_type // you.branch_stairs[] - 10 less than BRANCHES {dlb} -{ - STAIRS_ORCISH_MINES, // 0 - STAIRS_HIVE, - STAIRS_LAIR, - STAIRS_SLIME_PITS, - STAIRS_VAULTS, - STAIRS_CRYPT, // 5 - STAIRS_HALL_OF_BLADES, - STAIRS_HALL_OF_ZOT, - STAIRS_ECUMENICAL_TEMPLE, - STAIRS_SNAKE_PIT, - STAIRS_ELVEN_HALLS, // 10 - STAIRS_TOMB, - STAIRS_SWAMP, - STAIRS_CAVERNS + BRANCH_VESTIBULE_OF_HELL, + BRANCH_DIS, + BRANCH_GEHENNA, + BRANCH_COCYTUS, + BRANCH_TARTARUS, + BRANCH_INFERNO, // unimplemented + BRANCH_THE_PIT, // unimplemented + BRANCH_HALL_OF_ZOT, + BRANCH_CAVERNS, // unimplemented + NUM_BRANCHES }; enum burden_state_type // you.burden_state |