diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-11-20 18:53:40 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-11-20 18:53:40 +0000 |
commit | f1d9756f8c577019f9446fbf22cec49d41babd28 (patch) | |
tree | f37ea2ea8086aa331978e151e336bb9c77cc97b4 /crawl-ref/source/externs.h | |
parent | 683599a4fa6300d6517c0f75d60c028bd62136cc (diff) | |
download | crawl-ref-f1d9756f8c577019f9446fbf22cec49d41babd28.tar.gz crawl-ref-f1d9756f8c577019f9446fbf22cec49d41babd28.zip |
Spadework for ziggurats and other multilevel portal vaults.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7520 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/externs.h')
-rw-r--r-- | crawl-ref/source/externs.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/crawl-ref/source/externs.h b/crawl-ref/source/externs.h index 21bedd446f..6419609046 100644 --- a/crawl-ref/source/externs.h +++ b/crawl-ref/source/externs.h @@ -215,6 +215,11 @@ struct coord_def { return (!x && !y); } + + bool zero() const + { + return origin(); + } }; class actor @@ -731,8 +736,14 @@ public: KillMaster* kills; level_area_type level_type; + + // Human-readable name for portal vault. Will be set to level_type_tag + // if not explicitly set by the entry portal. std::string level_type_name; + // .des file tag for portal vault + std::string level_type_tag; + entry_cause_type entry_cause; god_type entry_cause_god; |