From f99e05e0fe9978367c71ed097e18cbac86998c81 Mon Sep 17 00:00:00 2001 From: haranp Date: Sat, 23 Jun 2007 09:53:35 +0000 Subject: 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 --- crawl-ref/source/spells2.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'crawl-ref/source/spells2.h') 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} -- cgit v1.2.3-54-g00ecf