diff options
author | truelight <truelight@openttd.org> | 2007-03-10 12:10:00 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2007-03-10 12:10:00 +0000 |
commit | 146e5e12ecf9c7e9c0b7b768fdb4b153821503d3 (patch) | |
tree | 0fec6ef4cf0f5115edac8e54f6eeb6d8aef39cce /src/news.h | |
parent | 1461e39bb9f0640758244a4a30e7cc0eaee6db94 (diff) | |
download | openttd-146e5e12ecf9c7e9c0b7b768fdb4b153821503d3.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.h | 3 |
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) |