summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/message.h
diff options
context:
space:
mode:
authorzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2008-12-26 23:01:43 +0000
committerzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2008-12-26 23:01:43 +0000
commit02561cdbb4714cbda683165e6a7d8d4d0d89fa18 (patch)
tree5118a2c77cbe479e63f31037365a8578a01871ef /crawl-ref/source/message.h
parent6ceab003bb46f769b5f4d1c0d7429f5032f3c017 (diff)
downloadcrawl-ref-02561cdbb4714cbda683165e6a7d8d4d0d89fa18.tar.gz
crawl-ref-02561cdbb4714cbda683165e6a7d8d4d0d89fa18.zip
If a multi-line message matches message_colour or note_messages then apply them
to the whole message before it gets split into lines, rather than to each individual line after it gets split. Breaks previous-messages savefile compatability. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7984 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/message.h')
-rw-r--r--crawl-ref/source/message.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/crawl-ref/source/message.h b/crawl-ref/source/message.h
index 8b914e39b3..2ca46b9e45 100644
--- a/crawl-ref/source/message.h
+++ b/crawl-ref/source/message.h
@@ -16,20 +16,6 @@
#include "enum.h"
#include "mpr.h"
-class message_item {
-public:
- msg_channel_type channel; // message channel
- int param; // param for channel (god, enchantment)
- std::string text; // text of message
- int repeats;
-
- message_item() : channel(NUM_MESSAGE_CHANNELS), param(0), text(""),
- repeats(0)
- {
- }
-};
-
-
// last updated 12may2000 {dlb}
/* ***********************************************************************
* called from: ability - acr - command - direct - effects - item_use -