00001 /* 00002 * File: skills.h 00003 * Summary: Skill exercising functions. 00004 * Written by: Linley Henzell 00005 */ 00006 00007 00008 #ifndef SKILLS_H 00009 #define SKILLS_H 00010 00011 int skill_cost_needed(int level); 00012 void calc_total_skill_points(void); 00013 int calc_skill_cost(int skill_cost_level, int skill_level); 00014 00015 void check_skill_level_change(skill_type sk, bool do_level_up = true); 00016 void change_skill_level(skill_type exsk, int num_level); 00017 void change_skill_points(skill_type sk, int points, bool do_level_up); 00018 00019 int exercise(skill_type exsk, int deg); 00020 00021 #endif