summaryrefslogtreecommitdiff
path: root/src/news_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-01-13 14:37:30 +0000
committerrubidium <rubidium@openttd.org>2008-01-13 14:37:30 +0000
commit9c0c798dd8f6b6367755edee42d891063b8014d8 (patch)
treecc5b7b73252db061672a4947b441f4aaa189191e /src/news_gui.cpp
parenta6fa5dd124872b6d4e4a442eff1877c14d4e2822 (diff)
downloadopenttd-9c0c798dd8f6b6367755edee42d891063b8014d8.tar.xz
(svn r11834) -Codechange: only include settings_type.h if needed.
Diffstat (limited to 'src/news_gui.cpp')
-rw-r--r--src/news_gui.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/news_gui.cpp b/src/news_gui.cpp
index 91252ece4..c81484062 100644
--- a/src/news_gui.cpp
+++ b/src/news_gui.cpp
@@ -7,7 +7,7 @@
#include "window_gui.h"
#include "viewport_func.h"
#include "news.h"
-#include "variables.h"
+#include "settings_type.h"
#include "transparency.h"
#include "strings_func.h"
#include "window_func.h"
@@ -52,6 +52,8 @@ typedef byte NewsID;
#define INVALID_NEWS 255
NewsItem _statusbar_news_item;
+uint32 _news_display_opt;
+bool _news_ticker_sound;
static NewsItem _news_items[MAX_NEWS]; ///< The news FIFO queue
static NewsID _current_news = INVALID_NEWS; ///< points to news item that should be shown next
static NewsID _oldest_news = 0; ///< points to first item in fifo queue