summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mpr.h
diff options
context:
space:
mode:
authorSamuel Bronson <naesten@gmail.com>2011-11-02 14:13:39 -0400
committerSamuel Bronson <naesten@gmail.com>2011-11-02 14:13:39 -0400
commit3823072b0743b3da0cd7816d140affa1c1eded27 (patch)
treece84f6ecdf69349a277b08630fe66bb9d24a5369 /crawl-ref/source/mpr.h
parentba6051510a9e82e4798aec3dbff4a066b86bc930 (diff)
downloadcrawl-ref-3823072b0743b3da0cd7816d140affa1c1eded27.tar.gz
crawl-ref-3823072b0743b3da0cd7816d140affa1c1eded27.zip
Attempt to stop capitalising inventory letters in messages.
I hope I didn't miss any!
Diffstat (limited to 'crawl-ref/source/mpr.h')
-rw-r--r--crawl-ref/source/mpr.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/crawl-ref/source/mpr.h b/crawl-ref/source/mpr.h
index d978079a90..86a044f1bc 100644
--- a/crawl-ref/source/mpr.h
+++ b/crawl-ref/source/mpr.h
@@ -84,6 +84,12 @@ inline void mprnojoin(std::string text, msg_channel_type channel=MSGCH_PLAIN,
mpr(text, channel, param, true);
}
+inline void mpr_nocap(std::string text, msg_channel_type channel=MSGCH_PLAIN,
+ int param=0, bool nojoin=false)
+{
+ mpr(text, channel, param, nojoin, false);
+}
+
// 4.1-style mpr, currently named mprf for minimal disruption.
void mprf(msg_channel_type channel, int param, PRINTF(2, ));
void mprf(msg_channel_type channel, PRINTF(1, ));