src/vehicle_func.h
changeset 9365 95e9cbc0257e
parent 9351 ecf2fdeb2328
child 9396 3f70b1b8642c
equal deleted inserted replaced
9364:5476e1a21517 9365:95e9cbc0257e
    66 
    66 
    67 void TrainConsistChanged(Vehicle *v);
    67 void TrainConsistChanged(Vehicle *v);
    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 */
       
    72 uint GenerateVehicleSortList(const Vehicle*** sort_list, uint16 *length_of_array, VehicleType type, PlayerID owner, uint32 index, uint16 window_type);
       
    73 void GenerateVehicleSortList(VehicleList *list, VehicleType type, PlayerID owner, uint32 index, uint16 window_type);
    71 void GenerateVehicleSortList(VehicleList *list, VehicleType type, PlayerID owner, uint32 index, uint16 window_type);
    74 void BuildDepotVehicleList(VehicleType type, TileIndex tile, VehicleList *engine_list, VehicleList *wagon_list);
    72 void BuildDepotVehicleList(VehicleType type, TileIndex tile, VehicleList *engine_list, VehicleList *wagon_list);
    75 CommandCost SendAllVehiclesToDepot(VehicleType type, uint32 flags, bool service, PlayerID owner, uint16 vlw_flag, uint32 id);
    73 CommandCost SendAllVehiclesToDepot(VehicleType type, uint32 flags, bool service, PlayerID owner, uint16 vlw_flag, uint32 id);
    76 void VehicleEnterDepot(Vehicle *v);
    74 void VehicleEnterDepot(Vehicle *v);
    77 
    75