src/vehicle_gui.h
changeset 6060 8388a1bcb7c8
parent 6059 14d457867d5e
child 6223 92d2073c3d7e
equal deleted inserted replaced
6059:14d457867d5e 6060:8388a1bcb7c8
    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;