From 14855516c12f34ae5d289631a665d61837563a7a Mon Sep 17 00:00:00 2001 From: dshaligram Date: Sun, 28 Jan 2007 14:22:11 +0000 Subject: Added add_glyph methods to formatted string to show a monster or item glyph as displayed on screen. Still is a bit messy to use, and you must initialise the formatted_string with a base colour before using add_glyph(), or the formatted_string will reset to lightgrey after the glyph. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@897 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/message.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crawl-ref/source/message.h') diff --git a/crawl-ref/source/message.h b/crawl-ref/source/message.h index b0ff6a93c0..ec6e4258af 100644 --- a/crawl-ref/source/message.h +++ b/crawl-ref/source/message.h @@ -99,4 +99,6 @@ bool any_messages(void); * *********************************************************************** */ std::string get_last_messages(int mcount); +int channel_to_colour( int channel, int param = 0 ); + #endif -- cgit v1.2.3-54-g00ecf