src/vehicle_func.h
changeset 9351 ecf2fdeb2328
parent 9348 dc680f675138
child 9365 95e9cbc0257e
equal deleted inserted replaced
9350:922f99fb3da4 9351:ecf2fdeb2328
    68 void TrainPowerChanged(Vehicle *v);
    68 void TrainPowerChanged(Vehicle *v);
    69 Money GetTrainRunningCost(const Vehicle *v);
    69 Money GetTrainRunningCost(const Vehicle *v);
    70 
    70 
    71 /* Old style list kept for migration */
    71 /* Old style list kept for migration */
    72 uint GenerateVehicleSortList(const Vehicle*** sort_list, uint16 *length_of_array, VehicleType type, PlayerID owner, uint32 index, uint16 window_type);
    72 uint GenerateVehicleSortList(const Vehicle*** sort_list, uint16 *length_of_array, VehicleType type, PlayerID owner, uint32 index, uint16 window_type);
    73 void BuildDepotVehicleList(VehicleType type, TileIndex tile, Vehicle ***engine_list, uint16 *engine_list_length, uint16 *engine_count, Vehicle ***wagon_list, uint16 *wagon_list_length, uint16 *wagon_count);
       
    74 void GenerateVehicleSortList(VehicleList *list, VehicleType type, PlayerID owner, uint32 index, uint16 window_type);
    73 void GenerateVehicleSortList(VehicleList *list, VehicleType type, PlayerID owner, uint32 index, uint16 window_type);
    75 void BuildDepotVehicleList(VehicleType type, TileIndex tile, VehicleList *engine_list, VehicleList *wagon_list);
    74 void BuildDepotVehicleList(VehicleType type, TileIndex tile, VehicleList *engine_list, VehicleList *wagon_list);
    76 CommandCost SendAllVehiclesToDepot(VehicleType type, uint32 flags, bool service, PlayerID owner, uint16 vlw_flag, uint32 id);
    75 CommandCost SendAllVehiclesToDepot(VehicleType type, uint32 flags, bool service, PlayerID owner, uint16 vlw_flag, uint32 id);
    77 void VehicleEnterDepot(Vehicle *v);
    76 void VehicleEnterDepot(Vehicle *v);
    78 
    77