00001 /* $Id: articulated_vehicles.h 13850 2008-07-27 15:17:16Z frosch $ */ 00002 00005 #ifndef ARTICULATED_VEHICLES_H 00006 #define ARTICULATED_VEHICLES_H 00007 00008 #include "vehicle_type.h" 00009 #include "engine_type.h" 00010 00011 uint CountArticulatedParts(EngineID engine_type, bool purchase_window); 00012 uint16 *GetCapacityOfArticulatedParts(EngineID engine, VehicleType type); 00013 void AddArticulatedParts(Vehicle **vl, VehicleType type); 00014 uint32 GetUnionOfArticulatedRefitMasks(EngineID engine, VehicleType type, bool include_initial_cargo_type); 00015 uint32 GetIntersectionOfArticulatedRefitMasks(EngineID engine, VehicleType type, bool include_initial_cargo_type); 00016 bool IsArticulatedVehicleCarryingDifferentCargos(const Vehicle *v, CargoID *cargo_type); 00017 00018 #endif /* ARTICULATED_VEHICLES_H */