summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monstuff.h
diff options
context:
space:
mode:
authorpauldubois <pauldubois@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-30 08:32:51 +0000
committerpauldubois <pauldubois@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-30 08:32:51 +0000
commit7d398e13982b3106943d8890d62863eecebdb342 (patch)
treeb6f0ef92194db8597787a1b2169e0433bf383de7 /crawl-ref/source/monstuff.h
parent6f5bda0a4546297361756ae584f119ed9f5f73b4 (diff)
downloadcrawl-ref-7d398e13982b3106943d8890d62863eecebdb342.tar.gz
crawl-ref-7d398e13982b3106943d8890d62863eecebdb342.zip
Pull out some code from print_wounds() into new function mons_get_damage_level.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3950 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/monstuff.h')
-rw-r--r--crawl-ref/source/monstuff.h23
1 files changed, 1 insertions, 22 deletions
diff --git a/crawl-ref/source/monstuff.h b/crawl-ref/source/monstuff.h
index dca415f0ec..3a2b4e21b5 100644
--- a/crawl-ref/source/monstuff.h
+++ b/crawl-ref/source/monstuff.h
@@ -140,12 +140,6 @@ void print_wounds(const monsters *monster);
/* ***********************************************************************
- * called from: fight
- * *********************************************************************** */
-bool wounded_damaged(int wound_class);
-
-
-/* ***********************************************************************
* called from: acr
* *********************************************************************** */
void handle_monsters(void);
@@ -162,29 +156,14 @@ bool monster_descriptor(int which_class, unsigned char which_descriptor);
* *********************************************************************** */
bool message_current_target(void);
-
-/* ***********************************************************************
- * called from: xxx
- * *********************************************************************** */
unsigned int monster_index(const monsters *monster);
+void mons_get_damage_level(const monsters*, std::string& desc, mon_dam_level_type&);
-// last updated 08jun2000 {dlb}
-/* ***********************************************************************
- * called from: bang - beam - effects - fight - monstuff - mstuff2 -
- * spells2 - spells3 - spells4
- * *********************************************************************** */
int hurt_monster(monsters *victim, int damage_dealt);
-
-/* ***********************************************************************
- * called from: beam - fight - files - monstuff - spells1
- * *********************************************************************** */
bool heal_monster(monsters *patient, int health_boost, bool permit_growth);
-/* ***********************************************************************
- * called from: monplace - spells2 - view
- * *********************************************************************** */
void seen_monster(monsters *monster);
bool shift_monster(monsters *mon, int x = 0, int y = 0 );