summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/hiscores.h
diff options
context:
space:
mode:
authorDarshan Shaligram <dshaligram@users.sourceforge.net>2010-06-28 12:47:31 +0530
committerDarshan Shaligram <dshaligram@users.sourceforge.net>2010-06-28 12:56:22 +0530
commit1659bee3ecd4332d80cbf7d814c815026167d1da (patch)
tree399fc6d68a464d21a6b2ed39efcdb5f07cd16d02 /crawl-ref/source/hiscores.h
parent25c35d0f714771a4bc27d627f9c466cee8dbfc7c (diff)
downloadcrawl-ref-1659bee3ecd4332d80cbf7d814c815026167d1da.tar.gz
crawl-ref-1659bee3ecd4332d80cbf7d814c815026167d1da.zip
If the PC dies in a vault, log the map name and description.
Map descriptions are intended to be human-readable place name qualifiers, such as Pan (Cerebov's castle).
Diffstat (limited to 'crawl-ref/source/hiscores.h')
-rw-r--r--crawl-ref/source/hiscores.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/hiscores.h b/crawl-ref/source/hiscores.h
index 7ec089f455..cd6e7b7797 100644
--- a/crawl-ref/source/hiscores.h
+++ b/crawl-ref/source/hiscores.h
@@ -87,6 +87,8 @@ private:
short absdepth; // 1-based absolute depth
level_area_type level_type; // what kind of level died on..
branch_type branch; // dungeon branch
+ std::string map; // the vault (if any) the player is in
+ std::string mapdesc; // DESC: of the vault the player is in.
int final_hp; // actual current HPs (probably <= 0)
int final_max_hp; // net HPs after rot
int final_max_max_hp; // gross HPs before rot