diff options
author | Raphael Langella <raphael.langella@gmail.com> | 2011-07-04 23:58:01 +0200 |
---|---|---|
committer | Raphael Langella <raphael.langella@gmail.com> | 2011-07-04 23:58:53 +0200 |
commit | 029cdfee66afda832c6cd1b75c3fb41939ea7bb3 (patch) | |
tree | 5db26696b3a1e95caabbe636202e519956257279 /crawl-ref/source/skills.h | |
parent | 55d5b58761fe2065f5126ca3fc3b48f3cff50236 (diff) | |
download | crawl-ref-029cdfee66afda832c6cd1b75c3fb41939ea7bb3.tar.gz crawl-ref-029cdfee66afda832c6cd1b75c3fb41939ea7bb3.zip |
New skill training system.
Exercised are stored in a queue and skills are trained immediately when XP is
gained. There's a manual mode in which only the selected skills are trained.
No XP pool. No victory dancing.
Diffstat (limited to 'crawl-ref/source/skills.h')
-rw-r--r-- | crawl-ref/source/skills.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/crawl-ref/source/skills.h b/crawl-ref/source/skills.h index e6b2462c11..f377fbe769 100644 --- a/crawl-ref/source/skills.h +++ b/crawl-ref/source/skills.h @@ -12,10 +12,13 @@ void calc_total_skill_points(void); int calc_skill_cost(int skill_cost_level); void reassess_starting_skills(); +void init_training(); +void reset_training(); void check_skill_level_change(skill_type sk, bool do_level_up = true); void change_skill_level(skill_type exsk, int num_level); void change_skill_points(skill_type sk, int points, bool do_level_up); -int exercise(skill_type exsk, int deg); +void exercise(skill_type exsk, int deg); +void train_skills(); #endif |