diff options
author | rubidium <rubidium@openttd.org> | 2008-01-13 14:37:30 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-01-13 14:37:30 +0000 |
commit | dc87b05e8c61b03d5fb2246768ce58bf66edf93a (patch) | |
tree | cc5b7b73252db061672a4947b441f4aaa189191e /src/news_gui.cpp | |
parent | 2f9aab3217b0b219dcd546a4cb007ab140c7053c (diff) | |
download | openttd-dc87b05e8c61b03d5fb2246768ce58bf66edf93a.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.cpp | 4 |
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 |