(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)
This commit is contained in:
truelight
2007-03-10 12:10:00 +00:00
parent 23e4a98dad
commit de5beec61c
5 changed files with 104 additions and 31 deletions

View File

@@ -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)