(svn r17899) -Codechange: Deduplicate code for refitting vehicles.
This commit is contained in:
@@ -42,8 +42,7 @@ byte VehicleRandomBits();
|
||||
void ResetVehiclePosHash();
|
||||
void ResetVehicleColourMap();
|
||||
|
||||
bool CanRefitTo(EngineID engine_type, CargoID cid_to);
|
||||
CommandCost GetRefitCost(EngineID engine_type);
|
||||
CommandCost RefitVehicle(Vehicle *v, bool only_this, CargoID new_cid, byte new_subtype, DoCommandFlag flags);
|
||||
|
||||
void ViewportAddVehicles(DrawPixelInfo *dpi);
|
||||
|
||||
|
Reference in New Issue
Block a user