diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-01-28 14:22:11 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-01-28 14:22:11 +0000 |
commit | 14855516c12f34ae5d289631a665d61837563a7a (patch) | |
tree | fe926753c926a5f4cb3365a2c8e02f88ea84c905 /crawl-ref/source/message.h | |
parent | 1bbfa550c2f3a16c1a4964771e4905c90461442d (diff) | |
download | crawl-ref-14855516c12f34ae5d289631a665d61837563a7a.tar.gz crawl-ref-14855516c12f34ae5d289631a665d61837563a7a.zip |
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
Diffstat (limited to 'crawl-ref/source/message.h')
-rw-r--r-- | crawl-ref/source/message.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 |