summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-util.h
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-10-06 02:51:44 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-10-06 02:51:44 +0000
commit0fb28d6c1b82e6c10e00c4cc9b946eb010d65017 (patch)
tree1377e3e61587069330bf28359a7a871723a458bf /crawl-ref/source/mon-util.h
parent967e9e7bb84c639c1e5065c6a65a05972dbc88c5 (diff)
downloadcrawl-ref-0fb28d6c1b82e6c10e00c4cc9b946eb010d65017.tar.gz
crawl-ref-0fb28d6c1b82e6c10e00c4cc9b946eb010d65017.zip
Expand handling of monster intelligence and zombifiability to work on
the level of individual monsters. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7148 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/mon-util.h')
-rw-r--r--crawl-ref/source/mon-util.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/crawl-ref/source/mon-util.h b/crawl-ref/source/mon-util.h
index e4f6a510b7..9fcc37aca8 100644
--- a/crawl-ref/source/mon-util.h
+++ b/crawl-ref/source/mon-util.h
@@ -545,7 +545,8 @@ bool mons_is_shapeshifter(const monsters *m);
/* ***********************************************************************
* called from: monstuff - spells4 - view
* *********************************************************************** */
-mon_intel_type mons_intel(int mc);
+mon_intel_type mons_class_intel(int mc);
+mon_intel_type mons_intel(const monsters *mon);
// Use mons_habitat() and mons_primary_habitat() wherever possible,
// since the class variants do not handle zombies correctly.
@@ -600,6 +601,9 @@ int mons_zombie_size(int mc);
monster_type mons_zombie_base(const monsters *monster);
bool mons_class_is_zombified(int mc);
bool mons_is_zombified(const monsters *monster);
+bool mons_class_can_be_zombified(int mc);
+bool mons_can_be_zombified(const monsters *mon);
+
// last updated 12may2000 {dlb}
/* ***********************************************************************