diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-06-23 09:53:35 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-06-23 09:53:35 +0000 |
commit | f99e05e0fe9978367c71ed097e18cbac86998c81 (patch) | |
tree | 49f6374d513f5344d33ec220c10a80730becc2a2 /crawl-ref/source/spells2.h | |
parent | 639bda974405b152b7655657a8a4af441888d74c (diff) | |
download | crawl-ref-f99e05e0fe9978367c71ed097e18cbac86998c81.tar.gz crawl-ref-f99e05e0fe9978367c71ed097e18cbac86998c81.zip |
Some more card implementations (resists in Helm, demon summoning.)
More type-safety.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1624 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spells2.h')
-rw-r--r-- | crawl-ref/source/spells2.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/crawl-ref/source/spells2.h b/crawl-ref/source/spells2.h index d982c3e997..61bd654853 100644 --- a/crawl-ref/source/spells2.h +++ b/crawl-ref/source/spells2.h @@ -13,6 +13,8 @@ #ifndef SPELLS2_H #define SPELLS2_H +#include "enum.h" + // last updated 24may2000 {dlb} /* *********************************************************************** @@ -25,14 +27,15 @@ bool brand_weapon(int which_brand, int power); /* *********************************************************************** * called from: ability - spell * *********************************************************************** */ -int animate_a_corpse(int axps, int ayps, int corps_beh, int corps_hit, int class_allowed); +int animate_a_corpse(int axps, int ayps, beh_type corps_beh, + int corps_hit, int class_allowed); // last updated 24may2000 {dlb} /* *********************************************************************** * called from: ability - it_use3 - monstuff - mstuff2 - spell * *********************************************************************** */ -int animate_dead(int power, int corps_beh, int corps_hit, int actual); +int animate_dead(int power, beh_type corps_beh, int corps_hit, int actual); // last updated 24may2000 {dlb} @@ -103,7 +106,7 @@ void cast_toxic_radiance(void); /* *********************************************************************** * called from: spell * *********************************************************************** */ -void cast_twisted(int power, int corps_beh, int corps_hit); +void cast_twisted(int power, beh_type corps_beh, int corps_hit); // last updated 24may2000 {dlb} |