summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/externs.h
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2009-02-22 11:25:01 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2009-02-22 11:25:01 +0000
commitf00872b7a53d4b7d0aa8eb8b769f88b9abe5f830 (patch)
treef0c6e0522d23a32ffcb2599fb33cf6b02c2f758b /crawl-ref/source/externs.h
parent50dd7b84736b4c1c87908cae1030419f773e638d (diff)
downloadcrawl-ref-f00872b7a53d4b7d0aa8eb8b769f88b9abe5f830.tar.gz
crawl-ref-f00872b7a53d4b7d0aa8eb8b769f88b9abe5f830.zip
[2615112] Fix portal vaults sharing ghosts. Ghosts are now saved into bones.XXX where XXX is set from the 'dstext' property of the portal, or to the first three letters of the 'dst' property.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9148 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/externs.h')
-rw-r--r--crawl-ref/source/externs.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/externs.h b/crawl-ref/source/externs.h
index ab99a99379..850a5ccb37 100644
--- a/crawl-ref/source/externs.h
+++ b/crawl-ref/source/externs.h
@@ -877,6 +877,11 @@ public:
// if not explicitly set by the entry portal.
std::string level_type_name;
+ // Three-letter extension for portal vault bones files. Will be set
+ // to first three letters of level_type_tag if not explicitly set by
+ // the entry portal.
+ std::string level_type_ext;
+
// Abbreviation of portal vault name, for use in notes. If not
// explicitly set by the portal vault, will be set from level_type_name
// or level_type_tag if either is short enough, or the shorter of the