Add setting for whether to hide default stop location

This commit is contained in:
Jonathan G Rennison
2023-11-13 19:21:57 +00:00
parent fc1c47cbd2
commit 86fff56c14
5 changed files with 15 additions and 1 deletions

View File

@@ -6156,6 +6156,15 @@ strhelp = STR_CONFIG_SETTING_SHOW_ORDER_NUMBER_IN_VEHICLE_VIEW_HELPTEXT
patchcat = SC_PATCH
post_cb = [](auto) { SetWindowClassesDirty(WC_VEHICLE_VIEW); }
[SDTC_BOOL]
var = gui.hide_default_stop_location
flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
def = true
str = STR_CONFIG_SETTING_HIDE_DEFAULT_STOP_LOCATION
strhelp = STR_CONFIG_SETTING_HIDE_DEFAULT_STOP_LOCATION_HELPTEXT
patchcat = SC_PATCH
post_cb = [](auto) { SetWindowClassesDirty(WC_VEHICLE_ORDERS); }
; For the dedicated build we'll enable dates in logs by default.
[SDTC_BOOL]
ifdef = DEDICATED