Codechange: remove INVALID_STRING_ID now drop down uses spans
This commit is contained in:
@@ -116,7 +116,6 @@ static const StringID _order_non_stop_drowdown[] = {
|
||||
STR_ORDER_GO_NON_STOP_TO,
|
||||
STR_ORDER_GO_VIA,
|
||||
STR_ORDER_GO_NON_STOP_VIA,
|
||||
INVALID_STRING_ID
|
||||
};
|
||||
|
||||
static const StringID _order_full_load_drowdown[] = {
|
||||
@@ -125,7 +124,6 @@ static const StringID _order_full_load_drowdown[] = {
|
||||
STR_ORDER_DROP_FULL_LOAD_ALL,
|
||||
STR_ORDER_DROP_FULL_LOAD_ANY,
|
||||
STR_ORDER_DROP_NO_LOADING,
|
||||
INVALID_STRING_ID
|
||||
};
|
||||
|
||||
static const StringID _order_unload_drowdown[] = {
|
||||
@@ -134,7 +132,6 @@ static const StringID _order_unload_drowdown[] = {
|
||||
STR_ORDER_DROP_TRANSFER,
|
||||
STR_EMPTY,
|
||||
STR_ORDER_DROP_NO_UNLOADING,
|
||||
INVALID_STRING_ID
|
||||
};
|
||||
|
||||
static const StringID _order_goto_dropdown[] = {
|
||||
@@ -142,7 +139,6 @@ static const StringID _order_goto_dropdown[] = {
|
||||
STR_ORDER_GO_TO_NEAREST_DEPOT,
|
||||
STR_ORDER_CONDITIONAL,
|
||||
STR_ORDER_SHARE,
|
||||
INVALID_STRING_ID
|
||||
};
|
||||
|
||||
static const StringID _order_goto_dropdown_aircraft[] = {
|
||||
@@ -150,7 +146,6 @@ static const StringID _order_goto_dropdown_aircraft[] = {
|
||||
STR_ORDER_GO_TO_NEAREST_HANGAR,
|
||||
STR_ORDER_CONDITIONAL,
|
||||
STR_ORDER_SHARE,
|
||||
INVALID_STRING_ID
|
||||
};
|
||||
|
||||
/** Variables for conditional orders; this defines the order of appearance in the dropdown box */
|
||||
@@ -174,7 +169,6 @@ static const StringID _order_conditional_condition[] = {
|
||||
STR_ORDER_CONDITIONAL_COMPARATOR_MORE_EQUALS,
|
||||
STR_ORDER_CONDITIONAL_COMPARATOR_IS_TRUE,
|
||||
STR_ORDER_CONDITIONAL_COMPARATOR_IS_FALSE,
|
||||
INVALID_STRING_ID,
|
||||
};
|
||||
|
||||
extern uint ConvertSpeedToDisplaySpeed(uint speed, VehicleType type);
|
||||
@@ -185,7 +179,6 @@ static const StringID _order_depot_action_dropdown[] = {
|
||||
STR_ORDER_DROP_SERVICE_DEPOT,
|
||||
STR_ORDER_DROP_HALT_DEPOT,
|
||||
STR_ORDER_DROP_UNBUNCH,
|
||||
INVALID_STRING_ID
|
||||
};
|
||||
|
||||
static int DepotActionStringIndex(const Order *order)
|
||||
@@ -204,7 +197,6 @@ static int DepotActionStringIndex(const Order *order)
|
||||
static const StringID _order_refit_action_dropdown[] = {
|
||||
STR_ORDER_DROP_REFIT_AUTO,
|
||||
STR_ORDER_DROP_REFIT_AUTO_ANY,
|
||||
INVALID_STRING_ID
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user