|
@@ -23,9 +23,9 @@ static const SettingVariant _gui_setting
|
|
|
[post-amble]
|
|
|
};
|
|
|
[templates]
|
|
|
SDTC_BOOL = SDTC_BOOL( $var, $flags, $def, $str, $strhelp, $strval, $pre_cb, $post_cb, $from, $to, $cat, $extra, $startup),
|
|
|
SDTC_OMANY = SDTC_OMANY( $var, $type, $flags, $def, $max, $full, $str, $strhelp, $strval, $pre_cb, $post_cb, $from, $to, $cat, $extra, $startup),
|
|
|
SDTC_VAR = SDTC_VAR( $var, $type, $flags, $def, $min, $max, $interval, $str, $strhelp, $strval, $pre_cb, $post_cb, $from, $to, $cat, $extra, $startup),
|
|
|
SDTC_BOOL = SDTC_BOOL( $var, $flags, $def, $str, $strhelp, $strval, $pre_cb, $post_cb, $from, $to, $cat, $extra, $startup, $extver),
|
|
|
SDTC_OMANY = SDTC_OMANY( $var, $type, $flags, $def, $max, $full, $str, $strhelp, $strval, $pre_cb, $post_cb, $from, $to, $cat, $extra, $startup, $extver),
|
|
|
SDTC_VAR = SDTC_VAR( $var, $type, $flags, $def, $min, $max, $interval, $str, $strhelp, $strval, $pre_cb, $post_cb, $from, $to, $cat, $extra, $startup, $extver),
|
|
|
|
|
|
[validation]
|
|
|
SDTC_OMANY = static_assert($max <= MAX_$type, "Maximum value for $var exceeds storage size");
|
|
@@ -45,6 +45,7 @@ to = SL_MAX_VERSION
|
|
|
cat = SC_ADVANCED
|
|
|
extra = 0
|
|
|
startup = false
|
|
|
extver = SlXvFeatureTest()
|
|
|
|
|
|
|
|
|
[SDTC_OMANY]
|
|
@@ -294,6 +295,14 @@ strhelp = STR_CONFIG_SETTING_POPULATION
|
|
|
post_cb = [](auto) { UpdateAllTownVirtCoords(); }
|
|
|
|
|
|
[SDTC_BOOL]
|
|
|
var = gui.colour_based_on_town_rating
|
|
|
flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
|
|
|
def = true
|
|
|
str = STR_CONFIG_SETTING_RATING_COLOUR_IN_LABEL
|
|
|
strhelp = STR_CONFIG_SETTING_RATING_COLOUR_IN_LABEL_HELPTEXT
|
|
|
post_cb = [](auto) { UpdateAllTownVirtCoords(); }
|
|
|
|
|
|
[SDTC_BOOL]
|
|
|
var = gui.link_terraform_toolbar
|
|
|
flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
|
|
|
def = false
|
|
@@ -856,3 +865,9 @@ min = 1
|
|
|
max = 65535
|
|
|
cat = SC_EXPERT
|
|
|
|
|
|
[SDTC_BOOL]
|
|
|
var = gui.load_legacy_patchpack_savedata
|
|
|
flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
|
|
|
def = true
|
|
|
str = STR_CONFIG_SETTING_LOAD_LEGACY_PATCHPACK_DATA
|
|
|
strhelp = STR_CONFIG_SETTING_LOAD_LEGACY_PATCHPACK_DATA_HELPTEXT
|