From dc87b05e8c61b03d5fb2246768ce58bf66edf93a Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 13 Jan 2008 14:37:30 +0000 Subject: (svn r11834) -Codechange: only include settings_type.h if needed. --- src/news_gui.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/news_gui.cpp') 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 -- cgit v1.2.3-54-g00ecf