summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/branch.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-03-14 16:36:33 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-03-14 16:36:33 +0000
commit6f58c0476ee2afc785c3f62aa5b3a7d06561837b (patch)
tree5e2eb4c52fd36f739185d0a2d7cf2aaeb35dc699 /crawl-ref/source/branch.cc
parentfb0c1ee8cbedcc50843b298a6ea4e5ea1263a09c (diff)
downloadcrawl-ref-6f58c0476ee2afc785c3f62aa5b3a7d06561837b.tar.gz
crawl-ref-6f58c0476ee2afc785c3f62aa5b3a7d06561837b.zip
Remove references to unimplemented branches (Caverns, Pit, Inferno).
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9474 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/branch.cc')
-rw-r--r--crawl-ref/source/branch.cc35
1 files changed, 8 insertions, 27 deletions
diff --git a/crawl-ref/source/branch.cc b/crawl-ref/source/branch.cc
index 94145ee906..3e10784e89 100644
--- a/crawl-ref/source/branch.cc
+++ b/crawl-ref/source/branch.cc
@@ -139,6 +139,14 @@ unsigned long get_branch_flags(branch_type branch)
}
Branch branches[] = {
+ // Branch struct:
+ // branch id, parent branch, depth, startdepth, branch flags, level flags
+ // entry stairs, exit stairs, short name, long name, abbrev name
+ // entry message
+ // has_shops, has_uniques, floor colour, rock colour
+ // mons rarity function, mons level function
+ // num_traps_function, rand_trap_function, num_fogs_function, rand_fog_function
+ // altar chance (in %), travel shortcut, upstairs exit branch, dangerous branch end
{ BRANCH_MAIN_DUNGEON, BRANCH_MAIN_DUNGEON, 27, -1, 0, 0,
NUM_FEATURES, NUM_FEATURES, // sentinel values
@@ -312,24 +320,6 @@ Branch branches[] = {
NULL, NULL, NULL, NULL,
0, 'Y', true, true },
- { BRANCH_INFERNO, BRANCH_MAIN_DUNGEON, -1, -1, 0, 0,
- NUM_FEATURES, NUM_FEATURES,
- NULL, NULL, NULL,
- NULL,
- false, false, BLACK, BLACK,
- NULL, NULL,
- NULL, NULL, NULL, NULL,
- 0, 'R', false, false },
-
- { BRANCH_THE_PIT, BRANCH_MAIN_DUNGEON, -1, -1, 0, 0,
- NUM_FEATURES, NUM_FEATURES,
- NULL, NULL, NULL,
- NULL,
- false, false, BLACK, BLACK,
- NULL, NULL,
- NULL, NULL, NULL, NULL,
- 0, '0', false, false },
-
{ BRANCH_HALL_OF_ZOT, BRANCH_MAIN_DUNGEON, 5, 27, BFLAG_HAS_ORB, 0,
DNGN_ENTER_ZOT, DNGN_RETURN_FROM_ZOT,
"Zot", "the Realm of Zot", "Zot",
@@ -338,13 +328,4 @@ Branch branches[] = {
mons_hallzot_rare, mons_hallzot_level,
NULL, NULL, NULL, NULL,
1, 'Z', false, true },
-
- { BRANCH_CAVERNS, BRANCH_MAIN_DUNGEON, -1, -1, 0, 0,
- NUM_FEATURES, NUM_FEATURES,
- NULL, NULL, NULL,
- NULL,
- false, false, BLACK, BLACK,
- NULL, NULL,
- NULL, NULL, NULL, NULL,
- 0, 0, false, false }
};