diff options
author | gammafunk <gammafunk@gmail.com> | 2014-03-17 20:10:33 -0500 |
---|---|---|
committer | gammafunk <gammafunk@gmail.com> | 2014-03-18 00:16:40 -0500 |
commit | a18227ede66e02d668551662e35476ed00ef7e13 (patch) | |
tree | 7f6fca6ea4bf53148232bacfc35698eef069b604 /crawl-ref/source/skills2.h | |
parent | fbd6e7ded89bf1ad2ebe2393fe0c11dd2e298bd0 (diff) | |
download | crawl-ref-a18227ede66e02d668551662e35476ed00ef7e13.tar.gz crawl-ref-a18227ede66e02d668551662e35476ed00ef7e13.zip |
Clean up the player hp change and calculation functions
Move calc_hp() to player.cc, and fix all but a couple instances where
you.hp is changed directly to use set_hp() instead. We'll eventually
just move these functions to inline methods for the player class, but
this reorganization will do for now.
Diffstat (limited to 'crawl-ref/source/skills2.h')
-rw-r--r-- | crawl-ref/source/skills2.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/crawl-ref/source/skills2.h b/crawl-ref/source/skills2.h index 9982b0920a..43a5b90b83 100644 --- a/crawl-ref/source/skills2.h +++ b/crawl-ref/source/skills2.h @@ -60,8 +60,6 @@ skill_type best_skill(skill_type min_skill, skill_type max_skill, skill_type excl_skill = SK_NONE); void init_skill_order(); -void calc_mp(); -void calc_hp(); bool is_useless_skill(skill_type skill); bool is_harmful_skill(skill_type skill); bool all_skills_maxed(bool inc_harmful = false); |