File diff r25974:20b36eb0550b → r25975:101b063336cf
src/table/settings/locale_settings.ini
Show inline comments
 
@@ -7,14 +7,16 @@
 
; Locale settings as stored in the main configuration file ("openttd.cfg") and
 
; in the savegame PATS chunk. These settings are not sync'd over the network.
 

	
 
[pre-amble]
 
uint8 _old_units;                                      ///< Old units from old savegames
 

	
 
static std::initializer_list<const char*> _locale_currencies{"GBP", "USD", "EUR", "YEN", "ATS", "BEF", "CHF", "CZK", "DEM", "DKK", "ESP", "FIM", "FRF", "GRD", "HUF", "ISK", "ITL", "NLG", "NOK", "PLN", "RON", "RUR", "SIT", "SEK", "YTL", "SKK", "BRL", "EEK", "custom"};
 
static std::initializer_list<const char*> _locale_units{"imperial", "metric", "si", "gameunits"};
 
static constexpr std::initializer_list<const char*> _locale_currencies{"GBP", "USD", "EUR", "JPY", "ATS", "BEF", "CHF", "CZK", "DEM", "DKK", "ESP", "FIM", "FRF", "GRD", "HUF", "ISK", "ITL", "NLG", "NOK", "PLN", "RON", "RUR", "SIT", "SEK", "TRY", "SKK", "BRL", "EEK", "LTL", "KRW", "ZAR", "custom", "GEL", "IRR", "RUB", "MXN", "NTD", "CNY", "HKD", "INR", "IDR", "MYR"};
 
static constexpr std::initializer_list<const char*> _locale_units{"imperial", "metric", "si", "gameunits"};
 

	
 
static_assert(_locale_currencies.size() == CURRENCY_END);
 

	
 
static const SettingVariant _locale_settings_table[] = {
 
[post-amble]
 
};
 
[templates]
 
SDTG_OMANY = SDTG_OMANY($name,              $type, $flags, $var, $def,       $max, $full,     $str, $strhelp, $strval, $pre_cb, $post_cb, $from, $to,        $cat, $extra, $startup),