diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2010-04-01 12:27:38 +0200 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2010-04-01 12:37:19 +0200 |
commit | 3572979943a2c0a5e3d085d8bff91956360e8fea (patch) | |
tree | 7b9c46c1735690607c352533cc660047304cbbc8 /crawl-ref/source/player-stats.h | |
parent | 6a85c4874b0959245581c22772603a490e8dfca3 (diff) | |
download | crawl-ref-3572979943a2c0a5e3d085d8bff91956360e8fea.tar.gz crawl-ref-3572979943a2c0a5e3d085d8bff91956360e8fea.zip |
Move player stat handling to player-stats.{cc,h}.
Diffstat (limited to 'crawl-ref/source/player-stats.h')
-rw-r--r-- | crawl-ref/source/player-stats.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/crawl-ref/source/player-stats.h b/crawl-ref/source/player-stats.h new file mode 100644 index 0000000000..4b222e80fc --- /dev/null +++ b/crawl-ref/source/player-stats.h @@ -0,0 +1,19 @@ +#ifndef PLAYER_STATS_H +#define PLAYER_STATS_H + +void attribute_increase(); + +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); + +int stat_modifier(stat_type stat); + +void jiyva_stat_action(); + +#endif |