summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-util.h
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-10-06 04:21:59 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-10-06 04:21:59 +0000
commitc6f1b8f3258bc3369e3d31ef9d66ae6f6dfcb7a6 (patch)
tree132adc0b87976509867ecfd14f04e05c313fa5bd /crawl-ref/source/mon-util.h
parent3905eb1807dab85e62766fd362daf0edb3815cfb (diff)
downloadcrawl-ref-c6f1b8f3258bc3369e3d31ef9d66ae6f6dfcb7a6.tar.gz
crawl-ref-c6f1b8f3258bc3369e3d31ef9d66ae6f6dfcb7a6.zip
Expand mons_itemuse() to work at the individual monster level, as well.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7152 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/mon-util.h')
-rw-r--r--crawl-ref/source/mon-util.h23
1 files changed, 12 insertions, 11 deletions
diff --git a/crawl-ref/source/mon-util.h b/crawl-ref/source/mon-util.h
index f6ae1c1103..2232cf4b55 100644
--- a/crawl-ref/source/mon-util.h
+++ b/crawl-ref/source/mon-util.h
@@ -453,7 +453,8 @@ bool mons_wall_shielded(const monsters *mon);
/* ***********************************************************************
* called from: dungeon - monstuff
* *********************************************************************** */
-mon_itemuse_type mons_itemuse(int mc);
+mon_itemuse_type mons_class_itemuse(int mc);
+mon_itemuse_type mons_itemuse(const monsters *mon);
// last updated 12may2000 {dlb}
@@ -559,16 +560,16 @@ habitat_type mons_secondary_habitat(const monsters *mon);
bool intelligent_ally(const monsters *mon);
-bool mons_res_sticky_flame( const monsters *mon );
-int mons_res_cold( const monsters *mon );
-int mons_res_elec( const monsters *mon );
-int mons_res_fire( const monsters *mon );
-int mons_res_steam( const monsters *mon );
-int mons_res_poison( const monsters *mon );
-int mons_res_acid( const monsters *mon );
-int mons_res_negative_energy( const monsters *mon );
-int mons_res_miasma( const monsters *mon );
-bool mons_res_asphyx( const monsters *mon );
+bool mons_res_sticky_flame(const monsters *mon);
+int mons_res_cold(const monsters *mon);
+int mons_res_elec(const monsters *mon);
+int mons_res_fire(const monsters *mon);
+int mons_res_steam(const monsters *mon);
+int mons_res_poison(const monsters *mon);
+int mons_res_acid(const monsters *mon);
+int mons_res_negative_energy(const monsters *mon);
+int mons_res_miasma(const monsters *mon);
+bool mons_res_asphyx(const monsters *mon);
// last updated 12may2000 {dlb}