summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/message.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-03-25 14:08:07 +0200
committerAdam Borowski <kilobyte@angband.pl>2012-03-25 14:08:07 +0200
commit9f2b09ec700521cff33b99274f751466d8969edc (patch)
treeaaee01c50666a276b73cfc16fb192d4af9e7eb2b /crawl-ref/source/message.h
parentf97044e2e9a86d8cf865aabe912a4f9e889908c2 (diff)
downloadcrawl-ref-9f2b09ec700521cff33b99274f751466d8969edc.tar.gz
crawl-ref-9f2b09ec700521cff33b99274f751466d8969edc.zip
Fix arena message dumps being inoperative.
Someone made it as a stub in early 2009, and never implemented (but documented as working!). This suggests this feature is not exactly needed, and perhaps could be axed?
Diffstat (limited to 'crawl-ref/source/message.h')
-rw-r--r--crawl-ref/source/message.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/crawl-ref/source/message.h b/crawl-ref/source/message.h
index 8eb04affd0..2b563e53bc 100644
--- a/crawl-ref/source/message.h
+++ b/crawl-ref/source/message.h
@@ -107,14 +107,8 @@ void replay_messages();
void set_more_autoclear(bool on);
std::string get_last_messages(int mcount);
-
-inline std::vector<std::string> get_recent_messages(int &message_pos,
- bool dumpworthy_only = true,
- std::vector<int> *channels = NULL)
-{
- return std::vector<std::string>();
-}
-
+void get_recent_messages(std::vector<std::string> &messages,
+ std::vector<msg_channel_type> &channels);
int channel_to_colour(msg_channel_type channel, int param = 0);
bool strip_channel_prefix(std::string &text, msg_channel_type &channel,