summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dungeon.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-06-21 15:49:19 +0200
committerAdam Borowski <kilobyte@angband.pl>2012-06-21 15:49:19 +0200
commita8417e431d03a5e7aec2f5fb25418e74b376e73e (patch)
treeec0c2bb440bcbe8a7241020b04e579265832377b /crawl-ref/source/dungeon.h
parent672e3193c3099a7519406dd7f26d4f99c1d5f8d8 (diff)
downloadcrawl-ref-a8417e431d03a5e7aec2f5fb25418e74b376e73e.tar.gz
crawl-ref-a8417e431d03a5e7aec2f5fb25418e74b376e73e.zip
Store the overview of portal vaults as branches.
It was a mess of a private enum for Labs, Abyss, Pan and Hell, and strings for the rest. This was missed during the portal_branches rewrite. Fixes "Buggy:" portals.
Diffstat (limited to 'crawl-ref/source/dungeon.h')
-rw-r--r--crawl-ref/source/dungeon.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/crawl-ref/source/dungeon.h b/crawl-ref/source/dungeon.h
index 16d36094ce..cda451a73d 100644
--- a/crawl-ref/source/dungeon.h
+++ b/crawl-ref/source/dungeon.h
@@ -29,7 +29,8 @@
#define OVERFLOW_TEMPLES_KEY "overflow_temples_key"
#define TEMPLE_MAP_KEY "temple_map_key"
-enum portal_type
+#if TAG_MAJOR_VERSION == 33
+enum oldportal_type
{
PORTAL_NONE = 0,
PORTAL_LABYRINTH,
@@ -38,6 +39,7 @@ enum portal_type
PORTAL_PANDEMONIUM,
NUM_PORTALS
};
+#endif
const int MAKE_GIFT_ITEM = 350; // worse than the next one
const int MAKE_GOOD_ITEM = 351;