summaryrefslogtreecommitdiff
path: root/src/news.h
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2007-03-10 12:10:00 +0000
committertruelight <truelight@openttd.org>2007-03-10 12:10:00 +0000
commitde5beec61cd10f1236968f7bec33e2b750037e02 (patch)
tree0fec6ef4cf0f5115edac8e54f6eeb6d8aef39cce /src/news.h
parent23e4a98dadc2eeb230cba916abd9c233cdae9861 (diff)
downloadopenttd-de5beec61cd10f1236968f7bec33e2b750037e02.tar.xz
(svn r9097) -Fix [FS#525]: open and close messages now have their own setting, so you can hide economy changes, but do show open/close of industries
-Change: store news_display_opt in his own section, so it is no longer stored as uint in openttd.cfg (allows adding news-types easier)
Diffstat (limited to 'src/news.h')
-rw-r--r--src/news.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/news.h b/src/news.h
index 39cab2a4f..362b34a03 100644
--- a/src/news.h
+++ b/src/news.h
@@ -35,6 +35,7 @@ enum NewsType {
NT_ARRIVAL_OTHER,
NT_ACCIDENT,
NT_COMPANY_INFO,
+ NT_OPENCLOSE,
NT_ECONOMY,
NT_ADVICE,
NT_NEW_VEHICLES,
@@ -44,6 +45,8 @@ enum NewsType {
NT_END,
};
+extern const char *_news_display_name[NT_END];
+
enum NewsMode {
NM_SMALL = 0, ///< Show only a small popup informing us about vehicle age for example
NM_NORMAL = 1, ///< Show a simple news message (height 170 pixels)