diff options
author | xale <code@xale.me> | 2010-06-04 04:01:51 +1100 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2010-06-03 23:17:14 +0200 |
commit | 36824b22df3ffde2747cb5006fcba26fc465d1b0 (patch) | |
tree | a4a56dabba3b603c8a4da3050798ed7d6e7399d6 /crawl-ref/source/hiscores.h | |
parent | bb9e897927bc05bdfa700866d3e52b4faef1db36 (diff) | |
download | crawl-ref-36824b22df3ffde2747cb5006fcba26fc465d1b0.tar.gz crawl-ref-36824b22df3ffde2747cb5006fcba26fc465d1b0.zip |
allow to pass death_source_name directly to a scoreboard entry
Signed-off-by: Robert Vollmert <rvollmert@gmx.net>
Diffstat (limited to 'crawl-ref/source/hiscores.h')
-rw-r--r-- | crawl-ref/source/hiscores.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/hiscores.h b/crawl-ref/source/hiscores.h index dd9caeb5b4..58cdde616a 100644 --- a/crawl-ref/source/hiscores.h +++ b/crawl-ref/source/hiscores.h @@ -116,13 +116,14 @@ private: public: scorefile_entry(); scorefile_entry(int damage, int death_source, int death_type, - const char *aux, bool death_cause_only = false); + const char *aux, bool death_cause_only = false, + const char *death_source_name = NULL); scorefile_entry(const scorefile_entry &se); scorefile_entry &operator = (const scorefile_entry &other); void init_death_cause(int damage, int death_source, int death_type, - const char *aux); + const char *aux, const char *death_source_name); void init(); void reset(); |