diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-01-27 11:46:32 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-01-27 11:46:32 +0000 |
commit | 6c39c085ffd9d5d75d5d3ba7c5edb3952eef8064 (patch) | |
tree | 0d8f46a5e205d2f265df7f658a64f24722ef381d /crawl-ref/source/message.h | |
parent | 1d78b895cd536021bae5ab96ca3a4fff30eef870 (diff) | |
download | crawl-ref-6c39c085ffd9d5d75d5d3ba7c5edb3952eef8064.tar.gz crawl-ref-6c39c085ffd9d5d75d5d3ba7c5edb3952eef8064.zip |
Added formatted_mpr(), which gives (very!) basic support for formatted
output in mpr(). This is an extreme hack, and should be redone better.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@891 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/message.h')
-rw-r--r-- | crawl-ref/source/message.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/message.h b/crawl-ref/source/message.h index 584dc07554..b0ff6a93c0 100644 --- a/crawl-ref/source/message.h +++ b/crawl-ref/source/message.h @@ -55,6 +55,11 @@ void more(void); * *********************************************************************** */ void mpr(const char *inf, int channel = MSGCH_PLAIN, int param = 0); +class formatted_string; + +void formatted_mpr(const formatted_string& fs, int channel = MSGCH_PLAIN, + int param = 0); + // 4.1-style mpr, currently named mprf for minimal disruption. void mprf( int channel, const char *format, ... ); void mprf( const char *format, ... ); |