summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/hiscores.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-04-25 16:35:56 +0200
committerAdam Borowski <kilobyte@angband.pl>2012-04-25 16:35:56 +0200
commite8da5e6c01950dd649f90030a2c77654480e4369 (patch)
treeb8749886499f49f092be6362fe1e42bbabd53bfd /crawl-ref/source/hiscores.h
parentb15ddc7bf0397d5034f0514c2d76e717da0819ba (diff)
parentfb959798448db7e13e6485f7fece472404f21f0e (diff)
downloadcrawl-ref-e8da5e6c01950dd649f90030a2c77654480e4369.tar.gz
crawl-ref-e8da5e6c01950dd649f90030a2c77654480e4369.zip
Merge branch 'master' into portal_branches
Diffstat (limited to 'crawl-ref/source/hiscores.h')
-rw-r--r--crawl-ref/source/hiscores.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/hiscores.h b/crawl-ref/source/hiscores.h
index 1cb3329839..49dcb66645 100644
--- a/crawl-ref/source/hiscores.h
+++ b/crawl-ref/source/hiscores.h
@@ -7,6 +7,8 @@
#ifndef HISCORES_H
#define HISCORES_H
+#include "menu.h"
+
class scorefile_entry;
void hiscores_new_entry(const scorefile_entry &se);
@@ -15,6 +17,7 @@ void logfile_new_entry(const scorefile_entry &se);
void hiscores_print_list(int display_count = -1, int format = SCORE_TERSE);
void hiscores_print_all(int display_count = -1, int format = SCORE_TERSE);
+void show_hiscore_table();
std::string hiscores_format_single(const scorefile_entry &se);
std::string hiscores_format_single_long(const scorefile_entry &se,
@@ -150,6 +153,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; }