From 204607ad3e8aecb32e01f303b1e86545d3d57f62 Mon Sep 17 00:00:00 2001 From: Matthew Cline Date: Sun, 1 Nov 2009 01:55:04 -0700 Subject: 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. --- crawl-ref/source/mon-cast.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 crawl-ref/source/mon-cast.h (limited to 'crawl-ref/source/mon-cast.h') 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 -- cgit v1.2.3-54-g00ecf