summaryrefslogtreecommitdiff
path: root/src/settings_type.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2013-06-29 09:47:18 +0000
committerrubidium <rubidium@openttd.org>2013-06-29 09:47:18 +0000
commitf9c9ff6ec3754ae7d36c64bff0a13bf8bda80bd8 (patch)
treeebcdd76048e5f65bc1fb0779866347b3c4f0a400 /src/settings_type.h
parent6e97b7a6e81559f5e9fe3ccea2d1fda0095379c5 (diff)
downloadopenttd-f9c9ff6ec3754ae7d36c64bff0a13bf8bda80bd8.tar.xz
(svn r25508) -Change: split unit localisation choice into a choice per type of unit, and move it to the advanced settings
-Feature [FS#5482]: have tractive effort in imperial (lbf) and metric (kgf) units -Feature: have weights and volumes in imperial units (short tons, gallons)
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 45aa157e9..7731e40c9 100644
--- a/src/settings_type.h
+++ b/src/settings_type.h
@@ -194,7 +194,12 @@ struct MusicSettings {
/** Settings related to currency/unit systems. */
struct LocaleSettings {
byte currency; ///< currency we currently use
- byte units; ///< unit system we show everything
+ byte units_velocity; ///< unit system for velocity
+ byte units_power; ///< unit system for power
+ byte units_weight; ///< unit system for weight
+ byte units_volume; ///< unit system for volume
+ byte units_force; ///< unit system for force
+ byte units_height; ///< unit system for height
char *digit_group_separator; ///< thousand separator for non-currencies
char *digit_group_separator_currency; ///< thousand separator for currencies
char *digit_decimal_separator; ///< decimal separator