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-util.h | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'crawl-ref/source/mon-util.h') diff --git a/crawl-ref/source/mon-util.h b/crawl-ref/source/mon-util.h index c6470c9169..3b6eb54433 100644 --- a/crawl-ref/source/mon-util.h +++ b/crawl-ref/source/mon-util.h @@ -157,17 +157,6 @@ enum mons_class_flags M_NO_EXP_GAIN = (1<<31) // worth 0 xp }; -enum mon_event_type -{ - ME_EVAL, // 0, evaluate monster AI state - ME_DISTURB, // noisy - ME_ANNOY, // annoy at range - ME_ALERT, // alert to presence - ME_WHACK, // physical attack - ME_SCARE, // frighten monster - ME_CORNERED // cannot flee -}; - enum mon_intel_type // Must be in increasing intelligence order { I_PLANT = 0, @@ -894,4 +883,6 @@ mon_inv_type item_to_mslot(const item_def &item); int scan_mon_inv_randarts(const monsters *mon, artefact_prop_type ra_prop); + +bool player_or_mon_in_sanct(const monsters* monster); #endif -- cgit v1.2.3-54-g00ecf