From 033b2f5904e3a87e5ce2605b2779be860bf46682 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Sun, 1 Jun 2008 12:27:44 +0000 Subject: 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 --- crawl-ref/source/mon-util.h | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'crawl-ref/source/mon-util.h') 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, -- cgit v1.2.3-54-g00ecf