summaryrefslogtreecommitdiff
path: root/vehicle.h
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2006-09-04 09:07:52 +0000
committerbjarni <bjarni@openttd.org>2006-09-04 09:07:52 +0000
commit1a0476535db15590efd8d08b671efaade9098b6f (patch)
treed57b09d393145e52bd9bae2676d629b183f2abae /vehicle.h
parentdf135e8190283ff2bf85dfbccccf2b0bb466863a (diff)
downloadopenttd-1a0476535db15590efd8d08b671efaade9098b6f.tar.xz
(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
Diffstat (limited to 'vehicle.h')
-rw-r--r--vehicle.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/vehicle.h b/vehicle.h
index 7269c91d3..e97f54942 100644
--- a/vehicle.h
+++ b/vehicle.h
@@ -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);