summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/skills2.h
diff options
context:
space:
mode:
authorRaphael Langella <raphael.langella@gmail.com>2011-03-24 13:45:09 +0100
committerRaphael Langella <raphael.langella@gmail.com>2011-03-24 18:24:48 +0100
commit7832d4d99ca3966bd9d96ff860489b0f0a22b22a (patch)
tree8a94c3151aeae8e79e5d6e3afac20900ffe003b7 /crawl-ref/source/skills2.h
parentb111cea2eb178bed34f1dd7e190940b62bc3cb6b (diff)
downloadcrawl-ref-7832d4d99ca3966bd9d96ff860489b0f0a22b22a.tar.gz
crawl-ref-7832d4d99ca3966bd9d96ff860489b0f0a22b22a.zip
Add a function to compare skill levels.
It breaks ties by using skill_order.
Diffstat (limited to 'crawl-ref/source/skills2.h')
-rw-r--r--crawl-ref/source/skills2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/skills2.h b/crawl-ref/source/skills2.h
index 317f910e53..9646f1d9f1 100644
--- a/crawl-ref/source/skills2.h
+++ b/crawl-ref/source/skills2.h
@@ -44,6 +44,7 @@ unsigned int skill_exp_needed(int lev);
unsigned int skill_exp_needed(int lev, skill_type sk,
species_type sp = you.species);
+bool compare_skills(skill_type sk1, skill_type sk2);
float crosstrain_bonus(skill_type sk);
bool crosstrain_other(skill_type sk, bool show_zero);
bool is_antitrained(skill_type sk);