summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-05-28 05:16:14 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-05-28 05:16:14 +0000
commit9a762716ca93d9edf8c096079cbd2bf10efb27d6 (patch)
treed20250c185c30f210208720218b23e912d910402 /crawl-ref/source
parent368a2fca54f26d5bf7b3246405dbf272d8a5f676 (diff)
downloadcrawl-ref-9a762716ca93d9edf8c096079cbd2bf10efb27d6.tar.gz
crawl-ref-9a762716ca93d9edf8c096079cbd2bf10efb27d6.zip
Use the "sound" message channel properly with some sound-related
messages. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5309 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source')
-rw-r--r--crawl-ref/source/it_use3.cc2
-rw-r--r--crawl-ref/source/item_use.cc3
-rw-r--r--crawl-ref/source/mon-util.cc4
-rw-r--r--crawl-ref/source/spells1.cc3
-rw-r--r--crawl-ref/source/spells3.cc2
5 files changed, 7 insertions, 7 deletions
diff --git a/crawl-ref/source/it_use3.cc b/crawl-ref/source/it_use3.cc
index 4c8478290c..90fe0faa58 100644
--- a/crawl-ref/source/it_use3.cc
+++ b/crawl-ref/source/it_use3.cc
@@ -369,7 +369,7 @@ static bool evoke_horn_of_geryon()
}
else
{
- mpr("You produce a hideous howling noise!");
+ mpr("You produce a hideous howling noise!", MSGCH_SOUND);
create_monster(
mgen_data( MONS_BEAST, BEH_HOSTILE,
4, you.pos(), MHITYOU ));
diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc
index 17a3c500d8..a1732b0fe6 100644
--- a/crawl-ref/source/item_use.cc
+++ b/crawl-ref/source/item_use.cc
@@ -4279,8 +4279,7 @@ void read_scroll( int slot )
}
case SCR_NOISE:
- mpr("You hear a loud clanging noise!");
- noisy( 25, you.x_pos, you.y_pos );
+ noisy(25, you.x_pos, you.y_pos, "You hear a loud clanging noise!");
break;
case SCR_SUMMONING:
diff --git a/crawl-ref/source/mon-util.cc b/crawl-ref/source/mon-util.cc
index 428747f977..7a4c952de4 100644
--- a/crawl-ref/source/mon-util.cc
+++ b/crawl-ref/source/mon-util.cc
@@ -3058,7 +3058,7 @@ void monsters::equip_weapon(item_def &item, int near, bool msg)
mpr("It softly glows with a divine radiance!");
break;
case SPWPN_ELECTROCUTION:
- mpr("You hear the crackle of electricity.");
+ mpr("You hear the crackle of electricity.", MSGCH_SOUND);
break;
case SPWPN_VENOM:
mpr("It begins to drip with poison!");
@@ -4080,7 +4080,7 @@ bool monsters::fumbles_attack(bool verbose)
this->name(DESC_CAP_THE).c_str());
}
else if (!silenced(you.x_pos, you.y_pos) && !silenced(x, y))
- mprf(MSGCH_SOUND, "You hear a splashing noise.");
+ mpr("You hear a splashing noise.", MSGCH_SOUND);
}
return (true);
}
diff --git a/crawl-ref/source/spells1.cc b/crawl-ref/source/spells1.cc
index 4d014f7e8b..cd3fe5e673 100644
--- a/crawl-ref/source/spells1.cc
+++ b/crawl-ref/source/spells1.cc
@@ -1203,7 +1203,8 @@ void cast_deaths_door(int pow)
else
{
mpr("You feel invincible!");
- mpr("You seem to hear sand running through an hourglass...");
+ mpr("You seem to hear sand running through an hourglass...",
+ MSGCH_SOUND);
set_hp( allowed_deaths_door_hp(), false );
deflate_hp( you.hp_max, false );
diff --git a/crawl-ref/source/spells3.cc b/crawl-ref/source/spells3.cc
index 08b6d3e9bf..a49e221fc9 100644
--- a/crawl-ref/source/spells3.cc
+++ b/crawl-ref/source/spells3.cc
@@ -974,7 +974,7 @@ void decrease_sanctuary_radius()
bool cast_sanctuary(const int power)
{
if (!silenced(you.x_pos, you.y_pos)) // how did you manage that?
- mpr("You hear a choir sing!");
+ mpr("You hear a choir sing!", MSGCH_SOUND);
else
mpr("You are suddenly bathed in radiance!");