summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-util.h
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-01 12:27:44 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-01 12:27:44 +0000
commit033b2f5904e3a87e5ce2605b2779be860bf46682 (patch)
tree538907b1b7b6475845ec008d953c188047851ad8 /crawl-ref/source/mon-util.h
parentcd46d3d8df2dfddda422fa80cfc47240de365b13 (diff)
downloadcrawl-ref-033b2f5904e3a87e5ce2605b2779be860bf46682.tar.gz
crawl-ref-033b2f5904e3a87e5ce2605b2779be860bf46682.zip
Fix 1937489: Remove map markers overwritten by lakes or rivers, as was
already done for vaults. Modify monster speech to make the beast only use some selected shouts (i.e. not "You hear an irritating whine") and NEVER do the demon taunts since it cannot speak. Demon lords can use almost the whole array of speaking verbs except for "buzz" and "whine". git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5400 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/mon-util.h')
-rw-r--r--crawl-ref/source/mon-util.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/crawl-ref/source/mon-util.h b/crawl-ref/source/mon-util.h
index 0dbc4dc974..e8d01f48ad 100644
--- a/crawl-ref/source/mon-util.h
+++ b/crawl-ref/source/mon-util.h
@@ -217,14 +217,16 @@ enum shout_type
S_SHOUT2, // shout twice (e.g. two-headed ogres)
S_ROAR, // roar
S_SCREAM, // scream
- S_BELLOW, // bellow (?)
+ S_BELLOW, // bellow (yaks)
S_SCREECH, // screech
S_BUZZ, // buzz
S_MOAN, // moan
- S_WHINE, // irritating whine (mosquito)
+ S_WHINE, // irritating whine (mosquitos)
S_CROAK, // frog croak
S_GROWL, // for bears
S_HISS, // for snakes and lizards
+ S_DEMON_TAUNT, // for pandemonium lords
+ NUM_SHOUTS,
// Loudness setting for shouts that are only defined in dat/shout.txt
S_VERY_SOFT,
@@ -233,7 +235,7 @@ enum shout_type
S_LOUD,
S_VERY_LOUD,
- NUM_SHOUTS,
+ NUM_LOUDNESS,
S_RANDOM
};
@@ -420,7 +422,7 @@ bool mons_player_visible( const monsters *mon );
* called from: view
* *********************************************************************** */
int get_shout_noise_level(const shout_type shout);
-shout_type mons_shouts(int mclass);
+shout_type mons_shouts(int mclass, bool demon_shout = false);
bool mons_is_unique(int mclass);
@@ -684,9 +686,10 @@ void init_mon_name_cache();
monster_type get_monster_by_name(std::string name, bool exact = false);
std::string do_mon_str_replacements(const std::string &msg,
- const monsters* monster);
+ const monsters* monster, int s_type = -1);
-enum mon_body_shape {
+enum mon_body_shape
+{
MON_SHAPE_HUMANOID,
MON_SHAPE_HUMANOID_WINGED,
MON_SHAPE_HUMANOID_TAILED,