From 6f58c0476ee2afc785c3f62aa5b3a7d06561837b Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Sat, 14 Mar 2009 16:36:33 +0000 Subject: 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 --- crawl-ref/source/branch.cc | 35 ++++++++--------------------------- 1 file changed, 8 insertions(+), 27 deletions(-) (limited to 'crawl-ref/source/branch.cc') 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 } }; -- cgit v1.2.3-54-g00ecf