summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells3.h
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-09 00:28:37 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-09 00:28:37 +0000
commitd5950593f2e966032a81d4f150b24834c18a521b (patch)
tree8eb0aed3e97b4dd1b34a81487250c42cf96bb08b /crawl-ref/source/spells3.h
parent297297da01e51a1ba70d3fde8c994ab9bb4f890c (diff)
downloadcrawl-ref-d5950593f2e966032a81d4f150b24834c18a521b.tar.gz
crawl-ref-d5950593f2e966032a81d4f150b24834c18a521b.zip
Clean up the routines to animate the dead.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5621 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spells3.h')
-rw-r--r--crawl-ref/source/spells3.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/crawl-ref/source/spells3.h b/crawl-ref/source/spells3.h
index 842f31512f..9988f54ee8 100644
--- a/crawl-ref/source/spells3.h
+++ b/crawl-ref/source/spells3.h
@@ -14,6 +14,7 @@
#ifndef SPELLS3_H
#define SPELLS3_H
+#include "itemprop.h" // from _raise_corpse()
struct dist;
struct bolt;
@@ -123,6 +124,26 @@ bool cast_summon_greater_demon(int pow, bool god_gift = false);
bool cast_shadow_creatures(bool god_gift = false);
bool cast_summon_horrible_things(int pow, bool god_gift = false);
+// last updated 24may2000 {dlb}
+/* ***********************************************************************
+ * called from: ability - spell
+ * *********************************************************************** */
+bool animate_a_corpse(int x, int y, corpse_type class_allowed,
+ beh_type beha, unsigned short hitting,
+ bool god_gift = false, bool actual = true,
+ bool silent = false);
+
+// last updated 24may2000 {dlb}
+/* ***********************************************************************
+ * called from: ability - it_use3 - monstuff - mstuff2 - spell
+ * *********************************************************************** */
+int animate_dead(actor *caster, int pow, beh_type beha, unsigned short hitting,
+ bool god_gift = false, bool actual = true);
+
+// updated 24may2000 {dlb}
+/* ***********************************************************************
+ * called from: spell
+ * *********************************************************************** */
bool cast_simulacrum(int pow, bool god_gift = false);
bool cast_twisted_resurrection(int pow, bool god_gift = false);
bool cast_summon_wraiths(int pow, bool god_gift = false);