diff options
Diffstat (limited to 'crawl-ref/source/message.h')
-rw-r--r-- | crawl-ref/source/message.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/crawl-ref/source/message.h b/crawl-ref/source/message.h index c7fe736ef1..584dc07554 100644 --- a/crawl-ref/source/message.h +++ b/crawl-ref/source/message.h @@ -3,6 +3,8 @@ * Summary: Functions used to print messages. * Written by: Linley Henzell * + * Modified for Crawl Reference by $Author$ on $Date$ + * * Change History (most recent first): * * <2> 5/08/99 JDJ mpr takes a const char* instead of a char array. @@ -53,6 +55,18 @@ void more(void); * *********************************************************************** */ void mpr(const char *inf, 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, ... ); + +class no_messages +{ +public: + no_messages(); + ~no_messages(); +private: + bool msuppressed; +}; // last updated 12may2000 {dlb} /* *********************************************************************** |