From 14f96d4f59e4c91915bb15d2f4ca845e6e2e459e Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Thu, 12 Jun 2008 09:03:37 +0000 Subject: Remove unneeded methods (including the old resistance screen), rename debugging functions, and some other clean-up. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5757 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/branch.h | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'crawl-ref/source/branch.h') diff --git a/crawl-ref/source/branch.h b/crawl-ref/source/branch.h index 08abfaaa14..94222fc689 100644 --- a/crawl-ref/source/branch.h +++ b/crawl-ref/source/branch.h @@ -43,7 +43,7 @@ struct Branch const char* entry_message; bool has_shops; bool has_uniques; - char floor_colour; // Zot needs special handling + char floor_colour; // Zot needs special handling. char rock_colour; int (*mons_rarity_function)(int); int (*mons_level_function)(int); @@ -51,16 +51,21 @@ struct Branch trap_type (*rand_trap_function)(int); int (*num_fogs_function)(int); void (*rand_fog_function)(int,fog_machine_data&); - int altar_chance; // in percent - int travel_shortcut; // which key to press for travel - bool any_upstair_exits; // any upstair exits the branch (Hell branches) + int altar_chance; // in percent + int travel_shortcut; // Which key to press for travel. + bool any_upstair_exits; // any upstair exits the branch (Hell branches) bool dangerous_bottom_level; // bottom level is more dangerous than normal }; extern Branch branches[]; Branch& your_branch(); + +/* *********************************************************************** + * called from: dungeon + * *********************************************************************** */ bool at_branch_bottom(); + branch_type str_to_branch(const std::string &branch, branch_type err = NUM_BRANCHES); -- cgit v1.2.3-54-g00ecf