summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/travel.h
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2012-03-19 02:21:08 -0400
committerNeil Moore <neil@s-z.org>2012-03-19 02:39:05 -0400
commit079782c0c992c08bbc892950b3b6a3e1c4dd2a96 (patch)
tree5ba430c098c47b7afe3e7b71b716d0a1f471c59d /crawl-ref/source/travel.h
parent8f855e29bf011a0cfe0b5f7ae3b8d46c1e9b3c62 (diff)
downloadcrawl-ref-079782c0c992c08bbc892950b3b6a3e1c4dd2a96.tar.gz
crawl-ref-079782c0c992c08bbc892950b3b6a3e1c4dd2a96.zip
Add explore_stop = portals, branches
The former was already implemented, but could not be specified in the init file (and thus could not be turned off with -=). Fix that, and also make Lab entrances count as portals. The "branches" setting includes branch entrances as well as the entrances to Hell, Abyss, and Pandemonium. It does not include portal vaults. This is a regression for those who use "explore_stop -= stairs" and expect it not to stop at branch entrances.
Diffstat (limited to 'crawl-ref/source/travel.h')
-rw-r--r--crawl-ref/source/travel.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/travel.h b/crawl-ref/source/travel.h
index 5b7a175139..1f98bd3db2 100644
--- a/crawl-ref/source/travel.h
+++ b/crawl-ref/source/travel.h
@@ -188,7 +188,7 @@ enum explore_stop_type
ES_GREEDY_VISITED_ITEM_STACK = 0x0040,
// Explored into view of a stair, shop, altar, portal, glowing
- // item, or artefact.
+ // item, artefact, or branch entrance.
ES_STAIR = 0x0080,
ES_SHOP = 0x0100,
ES_ALTAR = 0x0200,
@@ -196,6 +196,7 @@ enum explore_stop_type
ES_GLOWING_ITEM = 0x0800,
ES_ARTEFACT = 0x1000,
ES_RUNE = 0x2000,
+ ES_BRANCH = 0x4000,
};
////////////////////////////////////////////////////////////////////////////