diff options
Diffstat (limited to 'crawl-ref/source/player.h')
-rw-r--r-- | crawl-ref/source/player.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/crawl-ref/source/player.h b/crawl-ref/source/player.h index d70fd80048..c9e9ba6d99 100644 --- a/crawl-ref/source/player.h +++ b/crawl-ref/source/player.h @@ -16,6 +16,9 @@ #include "externs.h" +class monsters; +class item_def; + enum genus_type { GENPC_DRACONIAN, // 0 @@ -290,7 +293,14 @@ void gain_exp(unsigned int exp_gained, unsigned int* actual_gain = NULL, * called from: acr - it_use2 - item_use - mutation - transfor - player - * misc - stuff * *********************************************************************** */ -void modify_stat(stat_type which_stat, char amount, bool suppress_msg); +void modify_stat(stat_type which_stat, char amount, bool suppress_msg, + const std::string cause, bool see_source = true); +void modify_stat(stat_type which_stat, char amount, bool suppress_msg, + const char* cause, bool see_source = true); +void modify_stat(stat_type which_stat, char amount, bool suppress_msg, + const monsters* cause); +void modify_stat(stat_type which_stat, char amount, bool suppress_msg, + const item_def &cause, bool removed = false); // last updated 19may2000 {dlb} |