diff options
author | Adam Borowski <kilobyte@angband.pl> | 2011-11-16 15:22:21 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2012-04-07 00:23:16 +0200 |
commit | f9078c86f36ddad9e59edcd7e831dbc8867afee7 (patch) | |
tree | dff7267ce50651596ac2160776336de06edd5a3f /crawl-ref/source/place.h | |
parent | 6cbf94bf9a93561883ace832e5f76cd7f642eb75 (diff) | |
download | crawl-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.h | 2 |
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); |