summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/message.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2011-11-11 19:52:53 +0100
committerAdam Borowski <kilobyte@angband.pl>2011-11-11 20:23:29 +0100
commite6ed42f4c8cfce3e881bdda511e040563a88e320 (patch)
tree0ecbf5b1bfa7d58b4432eaa4769a141229efd0d1 /crawl-ref/source/message.h
parentbb81648a5f5d433d4465aeaca525c0eaa18e5b5e (diff)
downloadcrawl-ref-e6ed42f4c8cfce3e881bdda511e040563a88e320.tar.gz
crawl-ref-e6ed42f4c8cfce3e881bdda511e040563a88e320.zip
Let CHANNEL: prefixes use all types in both current uses.
Diffstat (limited to 'crawl-ref/source/message.h')
-rw-r--r--crawl-ref/source/message.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/message.h b/crawl-ref/source/message.h
index 7bac2541a8..8eb04affd0 100644
--- a/crawl-ref/source/message.h
+++ b/crawl-ref/source/message.h
@@ -117,6 +117,8 @@ inline std::vector<std::string> get_recent_messages(int &message_pos,
int channel_to_colour(msg_channel_type channel, int param = 0);
+bool strip_channel_prefix(std::string &text, msg_channel_type &channel,
+ bool silence = false);
namespace msg
{