diff options
author | frosch <frosch@openttd.org> | 2008-07-27 15:17:16 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2008-07-27 15:17:16 +0000 |
commit | a3662216eef83f44a8a6189c65ab81beca2fd30f (patch) | |
tree | abde763616597da5aa73671f0d811fa725489335 /src/articulated_vehicles.h | |
parent | 81bf2c60103ee2248c99e812f29b8caeb6fe56eb (diff) | |
download | openttd-a3662216eef83f44a8a6189c65ab81beca2fd30f.tar.xz |
(svn r13850) -Fix [FS#2146]: Fix resp. implement refitting of articulated vehicles during autoreplace.
Diffstat (limited to 'src/articulated_vehicles.h')
-rw-r--r-- | src/articulated_vehicles.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/articulated_vehicles.h b/src/articulated_vehicles.h index abfe495b0..66f2e7f2f 100644 --- a/src/articulated_vehicles.h +++ b/src/articulated_vehicles.h @@ -11,5 +11,8 @@ uint CountArticulatedParts(EngineID engine_type, bool purchase_window); uint16 *GetCapacityOfArticulatedParts(EngineID engine, VehicleType type); void AddArticulatedParts(Vehicle **vl, VehicleType type); +uint32 GetUnionOfArticulatedRefitMasks(EngineID engine, VehicleType type, bool include_initial_cargo_type); +uint32 GetIntersectionOfArticulatedRefitMasks(EngineID engine, VehicleType type, bool include_initial_cargo_type); +bool IsArticulatedVehicleCarryingDifferentCargos(const Vehicle *v, CargoID *cargo_type); #endif /* ARTICULATED_VEHICLES_H */ |