mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-17 21:25:40 +00:00
68 lines
1.2 KiB
INI
68 lines
1.2 KiB
INI
|
[pre-amble]
|
||
|
static const SettingDesc _currency_settings[] = {
|
||
|
[post-amble]
|
||
|
};
|
||
|
[templates]
|
||
|
SDT_VAR = SDT_VAR($base, $var, $type, $flags, $guiflags, $def, $min, $max, $interval, $str, $proc),
|
||
|
SDT_CHR = SDT_CHR($base, $var, $flags, $guiflags, $def, $str, $proc),
|
||
|
SDT_STR = SDT_STR($base, $var, $type, $flags, $guiflags, $def, $str, $proc),
|
||
|
SDT_END = SDT_END()
|
||
|
|
||
|
[SDT_VAR]
|
||
|
base = CurrencySpec
|
||
|
var = rate
|
||
|
type = SLE_UINT16
|
||
|
flags = S
|
||
|
guiflags = 0
|
||
|
def = 1
|
||
|
min = 0
|
||
|
max = UINT16_MAX
|
||
|
interval = 0
|
||
|
str = STR_NULL
|
||
|
proc = NULL
|
||
|
|
||
|
[SDT_CHR]
|
||
|
base = CurrencySpec
|
||
|
var = separator
|
||
|
flags = S
|
||
|
guiflags = 0
|
||
|
def = "".""
|
||
|
str = STR_NULL
|
||
|
proc = NULL
|
||
|
|
||
|
[SDT_VAR]
|
||
|
base = CurrencySpec
|
||
|
var = to_euro
|
||
|
type = SLE_INT32
|
||
|
flags = S
|
||
|
guiflags = 0
|
||
|
def = 0
|
||
|
min = MIN_YEAR
|
||
|
max = MAX_YEAR
|
||
|
interval = 0
|
||
|
str = STR_NULL
|
||
|
proc = NULL
|
||
|
|
||
|
[SDT_STR]
|
||
|
base = CurrencySpec
|
||
|
var = prefix
|
||
|
type = SLE_STRBQ
|
||
|
flags = S
|
||
|
guiflags = 0
|
||
|
def = NULL
|
||
|
str = STR_NULL
|
||
|
proc = NULL
|
||
|
|
||
|
[SDT_STR]
|
||
|
base = CurrencySpec
|
||
|
var = suffix
|
||
|
type = SLE_STRBQ
|
||
|
flags = S
|
||
|
guiflags = 0
|
||
|
def = "" credits""
|
||
|
str = STR_NULL
|
||
|
proc = NULL
|
||
|
|
||
|
[SDT_END]
|
||
|
|