summaryrefslogtreecommitdiff
path: root/vehicle.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2006-06-07 07:20:28 +0000
committerpeter1138 <peter1138@openttd.org>2006-06-07 07:20:28 +0000
commitd286235a6ada2616c4e19fbfff565867e379bc21 (patch)
tree4539d4235dbbf4c3b1a8fdac043c17f06e9fe707 /vehicle.h
parent4a26eb083b7de1834257ceacb338e0a0c07dab00 (diff)
downloadopenttd-d286235a6ada2616c4e19fbfff565867e379bc21.tar.xz
(svn r5146) - NewGRF: Support selection of aircraft default cargo type by checking its refit mask. If aircraft can be refitted to passengers, no change happens, else the first refittable type is chosen. Also use refit capacity to determine the default capacity.
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 d74a17eb0..487ad7797 100644
--- a/vehicle.h
+++ b/vehicle.h
@@ -267,6 +267,7 @@ byte VehicleRandomBits(void);
bool CanFillVehicle(Vehicle *v);
bool CanRefitTo(EngineID engine_type, CargoID cid_to);
+CargoID FindFirstRefittableCargo(EngineID engine_type);
void ViewportAddVehicles(DrawPixelInfo *dpi);