diff options
author | Darshan Shaligram <dshaligram@users.sourceforge.net> | 2010-02-27 19:53:48 +0530 |
---|---|---|
committer | Darshan Shaligram <dshaligram@users.sourceforge.net> | 2010-02-27 20:01:01 +0530 |
commit | 3340529f1d77571c0de8f7e63600ee561ff6b3a3 (patch) | |
tree | b95213580944656ab68a64db1abd188f6b3a5d32 /crawl-ref/source/hiscores.h | |
parent | 70f0ac54e5f8a4157a4630ead194a0d2a8abf46f (diff) | |
download | crawl-ref-3340529f1d77571c0de8f7e63600ee561ff6b3a3.tar.gz crawl-ref-3340529f1d77571c0de8f7e63600ee561ff6b3a3.zip |
Report parent level in branch entry milestones.
When generating a milestone for entering a new area, include the level
containing the entry stair/portal in the 'oplace' key. This will allow Henzell
to report the dungeon level containing the Lair entrance, wizlab, etc.
This isn't perfect: oplace will be plain Wrong when the player uses the Trowel
card to create portal vaults outside the main dungeon (such as Trowel in
Pandemonium). Trowel is generally problematic outside the dungeon
(see http://crawl.develz.org/mantis/view.php?id=960).
Since Ziggurats can legitimately be generated in Pandemonium, generate ziggurat
entry milestones in the onclimb event of the ziggurat portal, instead of
waiting until the player has entered the Ziggurat. Unfortunately this means
that the entry place for Ziggurats will be reported in the 'place' field
instead of 'oplace'.
I recommend that this change not be included in 0.6, since we need additional
work to fix Trowel and other issues before we have full milestone sanity.
Diffstat (limited to 'crawl-ref/source/hiscores.h')
-rw-r--r-- | crawl-ref/source/hiscores.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/hiscores.h b/crawl-ref/source/hiscores.h index 2fc108c37d..1aa00d08d4 100644 --- a/crawl-ref/source/hiscores.h +++ b/crawl-ref/source/hiscores.h @@ -22,7 +22,8 @@ std::string hiscores_format_single_long( const scorefile_entry &se, bool verbose = false ); #ifdef DGL_MILESTONES -void mark_milestone(const std::string &type, const std::string &milestone); +void mark_milestone(const std::string &type, const std::string &milestone, + bool report_origin_level = false); #endif #ifdef DGL_WHEREIS |