diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-04-04 06:49:36 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-04-04 06:49:36 +0000 |
commit | c9b7d443bf6acf3514a6374a3f84200aee48959b (patch) | |
tree | 47cede2c73966337179c1b44ae25075c25f78e49 /crawl-ref/source/spl-cast.h | |
parent | ab95ccbc8f5e57b8a615fdaaae2fef383e6aecc7 (diff) | |
download | crawl-ref-c9b7d443bf6acf3514a6374a3f84200aee48959b.tar.gz crawl-ref-c9b7d443bf6acf3514a6374a3f84200aee48959b.zip |
Type safety on SPRET results.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1210 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spl-cast.h')
-rw-r--r-- | crawl-ref/source/spl-cast.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-cast.h b/crawl-ref/source/spl-cast.h index 30f5a49c2e..04557a95d7 100644 --- a/crawl-ref/source/spl-cast.h +++ b/crawl-ref/source/spl-cast.h @@ -14,6 +14,8 @@ #ifndef SPL_CAST_H #define SPL_CAST_H +#include "enum.h" + char list_spells( void ); int spell_fail( int spell ); int calc_spell_power( int spell, bool apply_intel, bool fail_rate_chk = false ); @@ -37,7 +39,7 @@ bool cast_a_spell( void ); /* *********************************************************************** * called from: ability - debug - it_use3 - spell * *********************************************************************** */ -int your_spells( int spc2, int powc = 0, bool allow_fail = true ); +spret_type your_spells( int spc2, int powc = 0, bool allow_fail = true ); // last updated 12may2000 {dlb} /* *********************************************************************** |