Add no unload option to station order modifier hotkey actions
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
static void cm_v_RedrawStatusBar(int32 new_value);
|
||||
static void cm_v_RedrawGraphs(int32 new_value);
|
||||
|
||||
static std::initializer_list<const char*> _station_mod_actions{"nothing", "full_load", "transfer", "unload_all", "feeder_load", "feeder_unload", "no_load"};
|
||||
static std::initializer_list<const char*> _station_mod_actions{"nothing", "full_load", "transfer", "unload_all", "feeder_load", "feeder_unload", "no_load", "no_unload"};
|
||||
static std::initializer_list<const char*> _depot_mod_actions{"nothing", "service", "stop", "unbunch"};
|
||||
static std::initializer_list<const char*> _mod_keys{"none", "shift", "ctrl", "alt", "command"};
|
||||
static std::initializer_list<const char*> _shaded_tree_options{"always_off", "always_on", "as_server"};
|
||||
@@ -67,7 +67,7 @@ var = gui.cm_ctrl_station_mod
|
||||
type = SLE_UINT8
|
||||
flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_GUI_DROPDOWN | CM_SF_CITYMANIA
|
||||
def = 1
|
||||
max = 6
|
||||
max = 7
|
||||
full = _station_mod_actions
|
||||
str = CM_STR_CONFIG_SETTING_STATION_MOD_CTRL
|
||||
strval = CM_STR_CONFIG_SETTING_STATION_MOD_ACTION_NONE
|
||||
@@ -78,7 +78,7 @@ var = gui.cm_shift_station_mod
|
||||
type = SLE_UINT8
|
||||
flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_GUI_DROPDOWN | CM_SF_CITYMANIA
|
||||
def = 0
|
||||
max = 6
|
||||
max = 7
|
||||
full = _station_mod_actions
|
||||
str = CM_STR_CONFIG_SETTING_STATION_MOD_SHIFT
|
||||
strval = CM_STR_CONFIG_SETTING_STATION_MOD_ACTION_NONE
|
||||
@@ -89,7 +89,7 @@ var = gui.cm_ctrl_shift_station_mod
|
||||
type = SLE_UINT8
|
||||
flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_GUI_DROPDOWN | CM_SF_CITYMANIA
|
||||
def = 2
|
||||
max = 6
|
||||
max = 7
|
||||
full = _station_mod_actions
|
||||
str = CM_STR_CONFIG_SETTING_STATION_MOD_CTRL_SHIFT
|
||||
strval = CM_STR_CONFIG_SETTING_STATION_MOD_ACTION_NONE
|
||||
@@ -100,7 +100,7 @@ var = gui.cm_alt_station_mod
|
||||
type = SLE_UINT8
|
||||
flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_GUI_DROPDOWN | CM_SF_CITYMANIA
|
||||
def = 4
|
||||
max = 6
|
||||
max = 7
|
||||
full = _station_mod_actions
|
||||
str = CM_STR_CONFIG_SETTING_STATION_MOD_ALT
|
||||
strval = CM_STR_CONFIG_SETTING_STATION_MOD_ACTION_NONE
|
||||
@@ -111,7 +111,7 @@ var = gui.cm_alt_shift_station_mod
|
||||
type = SLE_UINT8
|
||||
flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_GUI_DROPDOWN | CM_SF_CITYMANIA
|
||||
def = 3
|
||||
max = 6
|
||||
max = 7
|
||||
full = _station_mod_actions
|
||||
str = CM_STR_CONFIG_SETTING_STATION_MOD_ALT_SHIFT
|
||||
strval = CM_STR_CONFIG_SETTING_STATION_MOD_ACTION_NONE
|
||||
@@ -122,7 +122,7 @@ var = gui.cm_alt_ctrl_station_mod
|
||||
type = SLE_UINT8
|
||||
flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_GUI_DROPDOWN | CM_SF_CITYMANIA
|
||||
def = 5
|
||||
max = 6
|
||||
max = 7
|
||||
full = _station_mod_actions
|
||||
str = CM_STR_CONFIG_SETTING_STATION_MOD_ALT_CTRL
|
||||
strval = CM_STR_CONFIG_SETTING_STATION_MOD_ACTION_NONE
|
||||
|
||||
Reference in New Issue
Block a user