Add UI setting to control whether cargo filter drop down is shown
This commit is contained in:
@@ -25,6 +25,7 @@ static bool TrainSlopeSteepnessChanged(int32 p1);
|
||||
static bool RoadVehSlopeSteepnessChanged(int32 p1);
|
||||
static bool DragSignalsDensityChanged(int32);
|
||||
static bool ProgrammableSignalsShownChanged(int32);
|
||||
static bool VehListCargoFilterShownChanged(int32);
|
||||
static bool TownFoundingChanged(int32 p1);
|
||||
static bool DifficultyNoiseChange(int32 i);
|
||||
static bool MaxNoAIsChange(int32 i);
|
||||
@@ -4122,6 +4123,14 @@ strhelp = STR_CONFIG_SETTING_SHOW_PROGSIG_FEATURES_HELPTEXT
|
||||
proc = ProgrammableSignalsShownChanged
|
||||
cat = SC_ADVANCED
|
||||
|
||||
[SDTC_BOOL]
|
||||
var = gui.show_veh_list_cargo_filter
|
||||
flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
|
||||
def = true
|
||||
str = STR_CONFIG_SETTING_SHOW_VEH_LIST_CARGO_FILTER
|
||||
strhelp = STR_CONFIG_SETTING_SHOW_VEH_LIST_CARGO_FILTER_HELPTEXT
|
||||
proc = VehListCargoFilterShownChanged
|
||||
|
||||
[SDTC_BOOL]
|
||||
var = gui.enable_single_veh_shared_order_gui
|
||||
flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
|
||||
|
Reference in New Issue
Block a user