diff options
author | frosch <frosch@openttd.org> | 2012-12-23 21:07:12 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2012-12-23 21:07:12 +0000 |
commit | 21b43b63f5e936dc284af0e635879ea0c0ec2d66 (patch) | |
tree | 6fb821af3852bbf297485baa7db355ec33a33b7f /src/settings_type.h | |
parent | 647ee0de64b74f714aea04b6e3bd0b4fb06f8694 (diff) | |
download | openttd-21b43b63f5e936dc284af0e635879ea0c0ec2d66.tar.xz |
(svn r24843) -Codechange: Move news display options into the general settings framework. (based on patch by eagle_rainbow)
Diffstat (limited to 'src/settings_type.h')
-rw-r--r-- | src/settings_type.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/settings_type.h b/src/settings_type.h index b182191a7..a6326c3df 100644 --- a/src/settings_type.h +++ b/src/settings_type.h @@ -182,6 +182,25 @@ struct LocaleSettings { char *digit_decimal_separator; ///< decimal separator }; +/** Settings related to news */ +struct NewsSettings { + uint8 arrival_player; ///< NewsDisplay of vehicles arriving at new stations of current player + uint8 arrival_other; ///< NewsDisplay of vehicles arriving at new stations of other players + uint8 accident; ///< NewsDisplay of accidents that occur + uint8 company_info; ///< NewsDisplay of general company information + uint8 open; ///< NewsDisplay on new industry constructions + uint8 close; ///< NewsDisplay about closing industries + uint8 economy; ///< NewsDisplay on economical changes + uint8 production_player; ///< NewsDisplay of production changes of industries affecting current player + uint8 production_other; ///< NewsDisplay of production changes of industries affecting competitors + uint8 production_nobody; ///< NewsDisplay of production changes of industries affecting no one + uint8 advice; ///< NewsDisplay on advice affecting the player's vehicles + uint8 new_vehicles; ///< NewsDisplay of new vehicles becoming available + uint8 acceptance; ///< NewsDisplay on changes affecting the acceptance of cargo at stations + uint8 subsidies; ///< NewsDisplay of changes on subsidies + uint8 general; ///< NewsDisplay of other topics +}; + /** All settings related to the network. */ struct NetworkSettings { #ifdef ENABLE_NETWORK @@ -496,6 +515,7 @@ struct ClientSettings { NetworkSettings network; ///< settings related to the network CompanySettings company; ///< default values for per-company settings MusicSettings music; ///< settings related to music/sound + NewsSettings news_display; ///< news display settings. }; /** The current settings for this game. */ |