@@ -44,16 +44,13 @@ struct VehicleListIdentifier {
* @param company Company associated with this list.
* @param index Optional type specific index.
*/
VehicleListIdentifier(VehicleListType type, VehicleType vtype, CompanyID company, uint index = 0) :
type(type), vtype(vtype), company(company), index(index) {}
VehicleListIdentifier(uint32 data);
/** Simple empty constructor. In this case you must set everything! */
VehicleListIdentifier() {}
VehicleListIdentifier(uint32 data = 0);
};
/** A list of vehicles. */
typedef SmallVector<const Vehicle *, 32> VehicleList;
bool GenerateVehicleSortList(VehicleList *list, const VehicleListIdentifier &identifier);