diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-06-19 10:13:37 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-06-19 10:13:37 +0000 |
commit | 0e8554f0c56dcfeb428952ffab7f480dc6e57f5f (patch) | |
tree | e8339889bb4b35a82ea9f1e6e8c53b206fcf3e72 /crawl-ref/source/skills2.h | |
parent | b20cad20588ab48a2257807ea4b2dda897b18e8f (diff) | |
download | crawl-ref-0e8554f0c56dcfeb428952ffab7f480dc6e57f5f.tar.gz crawl-ref-0e8554f0c56dcfeb428952ffab7f480dc6e57f5f.zip |
A bit more type-safety (slightly intrusive this time): you.species and
you.char_class.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1601 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/skills2.h')
-rw-r--r-- | crawl-ref/source/skills2.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/skills2.h b/crawl-ref/source/skills2.h index 1492828819..5107fd289f 100644 --- a/crawl-ref/source/skills2.h +++ b/crawl-ref/source/skills2.h @@ -15,10 +15,10 @@ #ifndef SKILLS2_H #define SKILLS2_H -#include <stddef.h> // For NULL - #define MAX_SKILL_ORDER 100 +#include "enum.h" + // last_updated 24may2000 {dlb} /* *********************************************************************** * called from: chardump - it_use3 - itemname - skills @@ -70,7 +70,7 @@ int calc_hp(void); /* *********************************************************************** * called from: newgame - skills - skills2 * *********************************************************************** */ -int species_skills(int skill, int species); +int species_skills(int skill, species_type species); // last_updated 24may2000 {dlb} |