diff options
author | peter1138 <peter1138@openttd.org> | 2006-06-07 07:20:28 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2006-06-07 07:20:28 +0000 |
commit | d286235a6ada2616c4e19fbfff565867e379bc21 (patch) | |
tree | 4539d4235dbbf4c3b1a8fdac043c17f06e9fe707 /vehicle.h | |
parent | 4a26eb083b7de1834257ceacb338e0a0c07dab00 (diff) | |
download | openttd-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |