STR_BUY_VEHICLE_TRAIN_LIST_TOOLTIP :{BLACK}Train vehicle selection list. Click on vehicle for information. Ctrl+Click for toggling hiding of the vehicle type
STR_BUY_VEHICLE_ROAD_VEHICLE_LIST_TOOLTIP :{BLACK}Road vehicle selection list. Click on vehicle for information. Ctrl+Click for toggling hiding of the vehicle type
@ -76,14 +77,25 @@ struct BaseVehicleListWindow : public Window {
GB_END,
};
GroupBygrouping;///< How we want to group the list.
VehicleListvehicles;///< List of vehicles. This is the buffer for `vehgroups` to point into; if this is structurally modified, `vehgroups` must be rebuilt.
GUIVehicleGroupListvehgroups;///< List of (groups of) vehicles. This stores iterators of `vehicles`, and should be rebuilt if `vehicles` is structurally changed.
Listing*sorting;///< Pointer to the vehicle type related sorting.
byteunitnumber_digits;///< The number of digits of the highest unit number.
/** Special cargo filter criteria */
enumCargoFilterSpecialType{
CF_NONE=CT_INVALID,///< Show only vehicles which do not carry cargo (e.g. train engines)
CF_ANY=CT_NO_REFIT,///< Show all vehicles independent of carried cargo (i.e. no filtering)
CF_FREIGHT=CT_AUTO_REFIT,///< Show only vehicles which carry any freight (non-passenger) cargo
};
GroupBygrouping;///< How we want to group the list.
VehicleListvehicles;///< List of vehicles. This is the buffer for `vehgroups` to point into; if this is structurally modified, `vehgroups` must be rebuilt.
GUIVehicleGroupListvehgroups;///< List of (groups of) vehicles. This stores iterators of `vehicles`, and should be rebuilt if `vehicles` is structurally changed.
Listing*sorting;///< Pointer to the vehicle type related sorting.
byteunitnumber_digits;///< The number of digits of the highest unit number.
Scrollbar*vscroll;
VehicleListIdentifiervli;///< Identifier of the vehicle list we want to currently show.
uintorder_arrow_width;///< Width of the arrow in the small order list.
VehicleListIdentifiervli;///< Identifier of the vehicle list we want to currently show.
VehicleIDvehicle_sel;///< Selected vehicle
CargoIDcargo_filter[NUM_CARGO+3];///< Available cargo filters; CargoID or CF_ANY or CF_FREIGHT or CF_NONE
StringIDcargo_filter_texts[NUM_CARGO+4];///< Texts for filter_cargo, terminated by INVALID_STRING_ID
bytecargo_filter_criteria;///< Selected cargo filter index
uintorder_arrow_width;///< Width of the arrow in the small order list.