diff options
author | Adam Borowski <kilobyte@angband.pl> | 2011-04-07 10:23:28 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2011-04-15 10:58:05 +0200 |
commit | 41d6e07ffc64866ab1cf5f55f4c4eab95c0276fb (patch) | |
tree | 0005578b481a6775e1e26370d56d84189f3a98ca /crawl-ref/source/mpr.h | |
parent | 031ae6b23c9b5a5e06bb5db974686f990cd8af82 (diff) | |
download | crawl-ref-41d6e07ffc64866ab1cf5f55f4c4eab95c0276fb.tar.gz crawl-ref-41d6e07ffc64866ab1cf5f55f4c4eab95c0276fb.zip |
Capitalized mprf().
It's going to be the default for mprf() since 99% uses are capitalized, but
it's safer to do this piecemeal then sed it back.
Diffstat (limited to 'crawl-ref/source/mpr.h')
-rw-r--r-- | crawl-ref/source/mpr.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/crawl-ref/source/mpr.h b/crawl-ref/source/mpr.h index a4557a9093..a34a2b15a7 100644 --- a/crawl-ref/source/mpr.h +++ b/crawl-ref/source/mpr.h @@ -76,7 +76,7 @@ enum msg_colour_type msg_colour_type msg_colour(int colour); void mpr(std::string text, msg_channel_type channel=MSGCH_PLAIN, int param=0, - bool nojoin=false); + bool nojoin=false, bool cap=true); inline void mprnojoin(std::string text, msg_channel_type channel=MSGCH_PLAIN, int param=0) @@ -89,6 +89,10 @@ void mprf(msg_channel_type channel, int param, const char *format, ...); void mprf(msg_channel_type channel, const char *format, ...); void mprf(const char *format, ...); +void Mprf(msg_channel_type channel, int param, const char *format, ...); +void Mprf(msg_channel_type channel, const char *format, ...); +void Mprf(const char *format, ...); + // Yay for C89 and lack of variadic #defines... #ifdef DEBUG_DIAGNOSTICS void dprf(const char *format, ...); |