summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/message.h
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2010-03-04 14:57:42 +0100
committerRobert Vollmert <rvollmert@gmx.net>2010-03-04 15:02:51 +0100
commit44b9f7481f0e7ab62143f1e7000b0343e82c5e16 (patch)
tree4e4f41d5a462a4a10c2314f48026850ba772c53a /crawl-ref/source/message.h
parent07dce66f5a8a29c148680903996ba9e65bb8b52c (diff)
downloadcrawl-ref-44b9f7481f0e7ab62143f1e7000b0343e82c5e16.tar.gz
crawl-ref-44b9f7481f0e7ab62143f1e7000b0343e82c5e16.zip
Clean up message colour handling.
Also add tagstring.cc:colour_string that handles wrapping a string with appropriate colour strings. It would be nice to concentrate all the awful colour tagging code in tagstring and eventually replace it with a dedicated datatype.
Diffstat (limited to 'crawl-ref/source/message.h')
-rw-r--r--crawl-ref/source/message.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/message.h b/crawl-ref/source/message.h
index ac3249c1dc..8cb780af01 100644
--- a/crawl-ref/source/message.h
+++ b/crawl-ref/source/message.h
@@ -115,7 +115,7 @@ inline std::vector<std::string> get_recent_messages(int &message_pos,
}
-msg_colour_type channel_to_colour(msg_channel_type channel, int param = 0);
+int channel_to_colour(msg_channel_type channel, int param = 0);
namespace msg
{