diff options
author | Thomas Holmes <thomas@devminded.com> | 2012-04-03 19:24:58 -0400 |
---|---|---|
committer | Raphael Langella <raphael.langella@gmail.com> | 2012-04-19 14:33:59 +0200 |
commit | 7b98e9b5b3f7feb232701ade28e8c254bcc944b4 (patch) | |
tree | fb1ad83a7dd302990b449fa6bad0eae025b49a9d /crawl-ref/source/ouch.h | |
parent | 96260651bdecdc067ce62cb6241f1cfd48ddf3f6 (diff) | |
download | crawl-ref-7b98e9b5b3f7feb232701ade28e8c254bcc944b4.tar.gz crawl-ref-7b98e9b5b3f7feb232701ade28e8c254bcc944b4.zip |
Refactored _morgue_name(t_time) to morgue_name(std::string, t_time) and made it public facing so that high scores could get the morgue file name rather than rebuilding it itself.
Diffstat (limited to 'crawl-ref/source/ouch.h')
-rw-r--r-- | crawl-ref/source/ouch.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/ouch.h b/crawl-ref/source/ouch.h index e4a00a73e9..1487fd8eab 100644 --- a/crawl-ref/source/ouch.h +++ b/crawl-ref/source/ouch.h @@ -67,6 +67,8 @@ void weapon_acid(int acid_strength); class actor; int actor_to_death_source(const actor* agent); +std::string morgue_name(std::string char_name, time_t when_crawl_got_even); + void reset_damage_counters(); void ouch(int dam, int death_source, kill_method_type death_type, const char *aux = NULL, bool see_source = true, |