diff options
author | Matthew Cline <zelgadis@sourceforge.net> | 2009-11-01 01:55:04 -0700 |
---|---|---|
committer | Matthew Cline <zelgadis@sourceforge.net> | 2009-11-01 01:55:04 -0700 |
commit | 204607ad3e8aecb32e01f303b1e86545d3d57f62 (patch) | |
tree | 02cbad03b0e787e266cf650414d56022d34d5f6a /crawl-ref/source/mon-util.h | |
parent | 82ab217c80b03d6e85cf0547c84e919535eb6827 (diff) | |
download | crawl-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-util.h')
-rw-r--r-- | crawl-ref/source/mon-util.h | 13 |
1 files changed, 2 insertions, 11 deletions
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 |