Files
openttd-cmclient/src/table/settings/citymania_settings.ini
T
2024-02-07 14:28:08 +05:30

35 lines
920 B
INI

[pre-amble]
static const SettingVariant _citymania_settings_table[] = {
[post-amble]
};
[templates]
SDT_VAR = SDT_VAR(GameSettings, $var, $type, $flags, $def, $min, $max, $interval, $str, $strhelp, $strval, $pre_cb, $post_cb, $str_cb, $help_cb, $val_cb, $from, $to, $cat, $extra, $startup),
[validation]
SDT_VAR = static_assert($max <= MAX_$type, "Maximum value for GameSettings.$var exceeds storage size");
[defaults]
flags = SF_NONE
interval = 0
str = STR_NULL
strhelp = STR_CONFIG_SETTING_NO_EXPLANATION_AVAILABLE_HELPTEXT
strval = STR_NULL
pre_cb = nullptr
post_cb = nullptr
str_cb = nullptr
help_cb = nullptr
val_cb = nullptr
load = nullptr
from = SLV_TABLE_CHUNKS
to = SL_MAX_VERSION
cat = SC_ADVANCED
extra = 0
startup = false
[SDT_VAR]
var = citymania.cb.acceptance_range
type = SLE_UINT16
def = 25
min = 0
max = UINT16_MAX