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-abil.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 crawl-ref/source/mon-abil.h (limited to 'crawl-ref/source/mon-abil.h') diff --git a/crawl-ref/source/mon-abil.h b/crawl-ref/source/mon-abil.h new file mode 100644 index 0000000000..527f71dc3e --- /dev/null +++ b/crawl-ref/source/mon-abil.h @@ -0,0 +1,19 @@ +/* + * File: mon-abil.h + * Summary: Monster abilities. + * Written by: Linley Henzell + */ + +#ifndef MONABIL_H +#define MONABIL_H + +class monsters; +class bolt; + +bool mon_special_ability(monsters *monster, bolt & beem); +void mon_nearby_ability(monsters *monster); + +bool ugly_thing_mutate(monsters *ugly, bool proximity = false); +bool slime_split_merge(monsters *thing); + +#endif -- cgit v1.2.3-54-g00ecf