summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monstuff.h
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-08 00:09:03 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-08 00:09:03 +0000
commit20bb21380e30bd6cf6c3959222404e85c26fff1c (patch)
tree1b34d63b2486ef3b635637e44367c24c65720896 /crawl-ref/source/monstuff.h
parenta9cbe2e3d8d4bdc982061667a072a060a912134a (diff)
downloadcrawl-ref-20bb21380e30bd6cf6c3959222404e85c26fff1c.tar.gz
crawl-ref-20bb21380e30bd6cf6c3959222404e85c26fff1c.zip
Expand equip_undead() to handle smart undead as well as stupid undead,
and use it to equip Yred's enslaved intact souls. Also, allow undead capable of using items and drinking potions to drink potions of healing and heal wounds, since undead players can. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8310 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/monstuff.h')
-rw-r--r--crawl-ref/source/monstuff.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/monstuff.h b/crawl-ref/source/monstuff.h
index 382b435c5a..3cd58c1276 100644
--- a/crawl-ref/source/monstuff.h
+++ b/crawl-ref/source/monstuff.h
@@ -92,6 +92,9 @@ void monster_die(monsters *monster, killer_type killer,
int fill_out_corpse(const monsters* monster, item_def& corpse,
bool allow_weightless = false);
+int place_monster_corpse(const monsters *monster, bool silent,
+ bool force = true);
+
void mons_check_pool(monsters *monster, const coord_def &oldpos,
killer_type killer = KILL_NONE, int killnum = -1);