From 6c39c085ffd9d5d75d5d3ba7c5edb3952eef8064 Mon Sep 17 00:00:00 2001 From: haranp Date: Sat, 27 Jan 2007 11:46:32 +0000 Subject: 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 --- crawl-ref/source/message.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'crawl-ref/source/message.h') 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, ... ); -- cgit v1.2.3-54-g00ecf