summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mpr.h
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-12-09 22:33:26 +0100
committerRobert Vollmert <rvollmert@gmx.net>2009-12-09 22:46:20 +0100
commitd6aba91237df6c060a0ff621a037588d81b8de35 (patch)
treeaadd16d16355c8cced947fc6f876f7af07e77aa7 /crawl-ref/source/mpr.h
parentc6f7d86e7e80ae454130399b18c5ef40735a47a3 (diff)
downloadcrawl-ref-d6aba91237df6c060a0ff621a037588d81b8de35.tar.gz
crawl-ref-d6aba91237df6c060a0ff621a037588d81b8de35.zip
Implement msg_colour (conversion from colour to msg_colour_type).
Diffstat (limited to 'crawl-ref/source/mpr.h')
-rw-r--r--crawl-ref/source/mpr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/mpr.h b/crawl-ref/source/mpr.h
index 43f3aa708d..389eda87d8 100644
--- a/crawl-ref/source/mpr.h
+++ b/crawl-ref/source/mpr.h
@@ -71,6 +71,8 @@ enum msg_colour_type
MSGCOL_PLAIN // same as plain channel
};
+msg_colour_type msg_colour(int colour);
+
void mpr(const char *inf, msg_channel_type channel = MSGCH_PLAIN, int param=0);
// 4.1-style mpr, currently named mprf for minimal disruption.