summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/hiscores.h
diff options
context:
space:
mode:
authorThomas Holmes <thomas@devminded.com>2012-04-03 19:52:00 -0400
committerRaphael Langella <raphael.langella@gmail.com>2012-04-19 14:34:00 +0200
commit1233ce084ce3b0bcc31e3e99a4b43e80f4d2d3b5 (patch)
treeec553b5c54f99848b19cb4a6b18a470dd8d43186 /crawl-ref/source/hiscores.h
parent7b98e9b5b3f7feb232701ade28e8c254bcc944b4 (diff)
downloadcrawl-ref-1233ce084ce3b0bcc31e3e99a4b43e80f4d2d3b5.tar.gz
crawl-ref-1233ce084ce3b0bcc31e3e99a4b43e80f4d2d3b5.zip
Some refactoring of highscore table code, catching enter keypress, and stubbing the loading of the morgue file
Diffstat (limited to 'crawl-ref/source/hiscores.h')
-rw-r--r--crawl-ref/source/hiscores.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/hiscores.h b/crawl-ref/source/hiscores.h
index 7d854aeb6b..59093c4a50 100644
--- a/crawl-ref/source/hiscores.h
+++ b/crawl-ref/source/hiscores.h
@@ -154,6 +154,7 @@ public:
std::string death_place(death_desc_verbosity) const;
std::string game_time(death_desc_verbosity) const;
+ std::string get_name() const { return name; }
int get_score() const { return points; }
int get_death_type() const { return death_type; }
time_t get_death_time() const { return death_time; }