summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-cast.h
diff options
context:
space:
mode:
authorMatthew Cline <zelgadis@sourceforge.net>2009-11-01 01:55:04 -0700
committerMatthew Cline <zelgadis@sourceforge.net>2009-11-01 01:55:04 -0700
commit204607ad3e8aecb32e01f303b1e86545d3d57f62 (patch)
tree02cbad03b0e787e266cf650414d56022d34d5f6a /crawl-ref/source/mon-cast.h
parent82ab217c80b03d6e85cf0547c84e919535eb6827 (diff)
downloadcrawl-ref-204607ad3e8aecb32e01f303b1e86545d3d57f62.tar.gz
crawl-ref-204607ad3e8aecb32e01f303b1e86545d3d57f62.zip
Split up monstuff.cc
A lot of monstuff.cc was moved into mon-abil.cc (monster abilities), mon-act.cc (the main monster loop), mon-behv.cc (monster behaviour) and mon-cast.cc (monster spells). mstuff2.cc was completely merged into other files.
Diffstat (limited to 'crawl-ref/source/mon-cast.h')
-rw-r--r--crawl-ref/source/mon-cast.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/crawl-ref/source/mon-cast.h b/crawl-ref/source/mon-cast.h
new file mode 100644
index 0000000000..5d10125d98
--- /dev/null
+++ b/crawl-ref/source/mon-cast.h
@@ -0,0 +1,25 @@
+/*
+ * File: mon-cast.h
+ * Summary: Monster spell casting.
+ * Written by: Linley Henzell
+ */
+
+#ifndef MONCAST_H
+#define MONCAST_H
+
+#include "enum.h"
+
+class monsters;
+class bolt;
+
+bool handle_mon_spell(monsters *monster, bolt &beem);
+
+bolt mons_spells(monsters *mons, spell_type spell_cast, int power);
+void mons_cast(monsters *monster, bolt &pbolt, spell_type spell_cast,
+ bool do_noise = true);
+void mons_cast_noise(monsters *monster, bolt &pbolt, spell_type spell_cast);
+void setup_mons_cast(monsters *monster, bolt &pbolt, spell_type spell_cast);
+
+void mons_cast_haunt(monsters *monster);
+
+#endif