summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/place.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2011-11-16 15:22:21 +0100
committerAdam Borowski <kilobyte@angband.pl>2012-04-07 00:23:16 +0200
commitf9078c86f36ddad9e59edcd7e831dbc8867afee7 (patch)
treedff7267ce50651596ac2160776336de06edd5a3f /crawl-ref/source/place.h
parent6cbf94bf9a93561883ace832e5f76cd7f642eb75 (diff)
downloadcrawl-ref-f9078c86f36ddad9e59edcd7e831dbc8867afee7.tar.gz
crawl-ref-f9078c86f36ddad9e59edcd7e831dbc8867afee7.zip
Use the level stack to save return target for portal vaults/Abyss/Pan/Zigs/Lab.
Unlike the initial implementation that was talked about, this one nearly completely ignores what stair is used to do X, meaning you can exit a branch by any stair that goes up, etc. Also, this commit earns the prize of the most rebased and edited one. And it ended up a tiny fraction of its initial size, with far simpler code to boot.
Diffstat (limited to 'crawl-ref/source/place.h')
-rw-r--r--crawl-ref/source/place.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/crawl-ref/source/place.h b/crawl-ref/source/place.h
index 66baa2c0ee..fbceaf37af 100644
--- a/crawl-ref/source/place.h
+++ b/crawl-ref/source/place.h
@@ -35,8 +35,6 @@ int absdungeon_depth(branch_type branch, int depth);
bool single_level_branch(branch_type branch);
-bool branch_exits_up(branch_type branch);
-bool branch_exits_down(branch_type branch);
bool branch_allows_followers(branch_type branch);
bool branch_is_stash_trackable(branch_type branch);