49 void ShowVehicleListWindow(const Vehicle *v); |
49 void ShowVehicleListWindow(const Vehicle *v); |
50 void ShowVehicleListWindow(PlayerID player, byte vehicle_type); |
50 void ShowVehicleListWindow(PlayerID player, byte vehicle_type); |
51 void ShowVehicleListWindow(PlayerID player, byte vehicle_type, StationID station); |
51 void ShowVehicleListWindow(PlayerID player, byte vehicle_type, StationID station); |
52 void ShowVehicleListWindow(PlayerID player, byte vehicle_type, TileIndex depot_tile); |
52 void ShowVehicleListWindow(PlayerID player, byte vehicle_type, TileIndex depot_tile); |
53 |
53 |
|
54 void ShowReplaceVehicleWindow(byte vehicletype); |
54 |
55 |
55 static inline void DrawVehicleImage(const Vehicle *v, int x, int y, int count, int skip, VehicleID selection) |
56 static inline void DrawVehicleImage(const Vehicle *v, int x, int y, int count, int skip, VehicleID selection) |
56 { |
57 { |
57 switch (v->type) { |
58 switch (v->type) { |
58 case VEH_Train: DrawTrainImage(v, x, y, count, skip, selection); break; |
59 case VEH_Train: DrawTrainImage(v, x, y, count, skip, selection); break; |