(svn r6376) -Codechange: [vehicle refit] moved all refit cost calculations into GetRefitCost()

Now it's possible to tell refit costs for an EngineID without actually having build a vehicle
This commit is contained in:
bjarni
2006-09-04 09:07:52 +00:00
parent df135e8190
commit 1a0476535d
6 changed files with 25 additions and 6 deletions

View File

@@ -266,6 +266,7 @@ byte VehicleRandomBits(void);
bool CanFillVehicle(Vehicle *v);
bool CanRefitTo(EngineID engine_type, CargoID cid_to);
CargoID FindFirstRefittableCargo(EngineID engine_type);
int32 GetRefitCost(EngineID engine_type);
void ViewportAddVehicles(DrawPixelInfo *dpi);