summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/branch.h
diff options
context:
space:
mode:
authorSteve Melenchuk <smelenchuk@gmail.com>2013-05-25 19:17:43 -0600
committerSteve Melenchuk <smelenchuk@gmail.com>2013-05-26 20:56:16 -0600
commit65f519f29f21b78d568cbf1bfbd574a461031efb (patch)
treea8be07c0e4ca0989b575a148cf175f9ebd277e7c /crawl-ref/source/branch.h
parent2e5ab92c51b25f0536971a6c7c6f9ffbe784adee (diff)
downloadcrawl-ref-65f519f29f21b78d568cbf1bfbd574a461031efb.tar.gz
crawl-ref-65f519f29f21b78d568cbf1bfbd574a461031efb.zip
Alternate Forest with Crypt.
Forest's entrance depth and absolute depth are now the same as Crypt's. This also adds functionality to move Tomb's entrance to Forest if Crypt isn't placed in the game, so Tomb always exists (at present).
Diffstat (limited to 'crawl-ref/source/branch.h')
-rw-r--r--crawl-ref/source/branch.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/crawl-ref/source/branch.h b/crawl-ref/source/branch.h
index 1817de46ba..6f08220c4e 100644
--- a/crawl-ref/source/branch.h
+++ b/crawl-ref/source/branch.h
@@ -52,7 +52,7 @@ const Branch& your_branch();
bool at_branch_bottom();
bool is_hell_subbranch(branch_type branch);
-bool is_random_lair_subbranch(branch_type branch);
+bool is_random_subbranch(branch_type branch);
bool is_connected_branch(branch_type branch);
bool is_connected_branch(level_id place);
level_id current_level_parent();
@@ -63,4 +63,6 @@ int current_level_ambient_noise();
branch_type get_branch_at(const coord_def& pos);
bool branch_is_unfinished(branch_type branch);
+
+branch_type parent_branch(branch_type branch);
#endif