summaryrefslogtreecommitdiff
path: root/src/settings_type.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-06-05 11:26:38 +0000
committerrubidium <rubidium@openttd.org>2008-06-05 11:26:38 +0000
commit9e811a2f8be9c69807acef3c727e4022be2cd9c0 (patch)
treee63519c8e5c875e772b1fd4a458ac9cf260d4ce2 /src/settings_type.h
parent9b971dab60ad98c1444cc79c6dc3802f529f10e2 (diff)
downloadopenttd-9e811a2f8be9c69807acef3c727e4022be2cd9c0.tar.xz
(svn r13386) -Fix: global currency/units setting being overriden when loading a savegame.
Diffstat (limited to 'src/settings_type.h')
-rw-r--r--src/settings_type.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/settings_type.h b/src/settings_type.h
index 6230c0e54..0926db66c 100644
--- a/src/settings_type.h
+++ b/src/settings_type.h
@@ -78,9 +78,13 @@ struct GUISettings {
bool autorenew; ///< should autorenew be enabled for new companies?
int16 autorenew_months; ///< how many months from EOL of vehicles should autorenew trigger for new companies?
int32 autorenew_money; ///< how much money before autorenewing for new companies?
+ byte news_message_timeout; ///< how much longer than the news message "age" should we keep the message in the history
+};
+
+/** Settings related to currency/unit systems. */
+struct LocaleSettings {
byte currency; ///< currency we currently use
byte units; ///< unit system we show everything
- byte news_message_timeout; ///< how much longer than the news message "age" should we keep the message in the history
};
/** All settings related to the network. */
@@ -311,6 +315,7 @@ struct GameSettings {
VehicleSettings vehicle; ///< options for vehicles
EconomySettings economy; ///< settings to change the economy
StationSettings station; ///< settings related to station management
+ LocaleSettings locale; ///< settings related to used currency/unit system in the current game
};
/** All settings that are only important for the local client. */