summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/branch.h
diff options
context:
space:
mode:
authorRaphael Langella <raphael.langella@gmail.com>2011-08-18 01:41:03 +0200
committerRaphael Langella <raphael.langella@gmail.com>2011-09-05 23:20:15 +0200
commit5f32674c87b37df0f12d2b17c617ed0274e0541c (patch)
treeebf09d66a60cd6376762c2dfb0559c2c28fdf7a4 /crawl-ref/source/branch.h
parent659a44c6003b4ffc0dc33ea30538e76d383b387f (diff)
downloadcrawl-ref-5f32674c87b37df0f12d2b17c617ed0274e0541c.tar.gz
crawl-ref-5f32674c87b37df0f12d2b17c617ed0274e0541c.zip
Apply the new feature mimic implementation to all types.
Starting from D:10, any door, stairs, escape hatch, shop fountain and portal has one chance in 100 of being a mimic. Branch entry vaults can be placed with a branch entry mimic. No mimics in the temple and the vestibule. For now, those are the only excluded places.
Diffstat (limited to 'crawl-ref/source/branch.h')
-rw-r--r--crawl-ref/source/branch.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/branch.h b/crawl-ref/source/branch.h
index b0ff7f96fc..73db302780 100644
--- a/crawl-ref/source/branch.h
+++ b/crawl-ref/source/branch.h
@@ -73,5 +73,7 @@ bool set_branch_flags(uint32_t flags, bool silent = false,
bool unset_branch_flags(uint32_t flags, bool silent = false,
branch_type branch = NUM_BRANCHES);
uint32_t get_branch_flags(branch_type branch = NUM_BRANCHES);
+branch_type get_branch_at(const coord_def& pos);
+bool branch_is_unfinished(branch_type branch);
#endif