summaryrefslogtreecommitdiff
path: root/variables.h
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2005-04-13 23:03:31 +0000
committerDarkvater <darkvater@openttd.org>2005-04-13 23:03:31 +0000
commitfebae668fec6ebb3fffc9ff038e9cfab0f3f0a39 (patch)
tree6b6a8aa05e22c1c6f0d84cdc20bbc1a190e9f7c4 /variables.h
parent7f4b636559e6c4b7a5ba6d34eff17965d57fa617 (diff)
downloadopenttd-febae668fec6ebb3fffc9ff038e9cfab0f3f0a39.tar.xz
(svn r2192) - Add greater control to the 'message options' window. Now you can turn off the telegraphc ticker sound for summarized messages, or turn off news-messages altogether (you get a red blot to notify you though). The [<][>] set the settings in one way, while clicking on the option itself, cycles it. This commit also 'fixes' bugs [1166973], [1121484] and patch [1169930].
- I also changed an order of strings from On, Off to Off, On, so this can be used ingame with the WWT_4 widget type. - Since the newssettings now take 2 bits per setting (off/summary/on) _news_display_opt is widened to 32 bits and the settings code changed slightly to accomodate for a maximum of 16 message-types.
Diffstat (limited to 'variables.h')
-rw-r--r--variables.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/variables.h b/variables.h
index c1f977ec1..32432f28d 100644
--- a/variables.h
+++ b/variables.h
@@ -269,7 +269,8 @@ VARDEF byte _local_player;
VARDEF byte _display_opt;
VARDEF byte _pause;
VARDEF int _caret_timer;
-VARDEF uint16 _news_display_opt;
+VARDEF uint32 _news_display_opt;
+VARDEF bool _news_ticker_sound;
VARDEF byte _game_mode;
VARDEF StringID _error_message;