maedhros@6772: /* $Id$ */ maedhros@6772: rubidium@9111: /** @file articulated_vehicles.h Functions related to articulated vehicles. */ maedhros@6772: maedhros@6772: #ifndef ARTICULATED_VEHICLES_H maedhros@6772: #define ARTICULATED_VEHICLES_H maedhros@6772: rubidium@8144: #include "vehicle_type.h" rubidium@8777: #include "engine_type.h" rubidium@8144: rubidium@7595: uint CountArticulatedParts(EngineID engine_type, bool purchase_window); peter1138@8559: uint16 *GetCapacityOfArticulatedParts(EngineID engine, VehicleType type); maedhros@6857: void AddArticulatedParts(Vehicle **vl, VehicleType type); frosch@9725: uint32 GetUnionOfArticulatedRefitMasks(EngineID engine, VehicleType type, bool include_initial_cargo_type); frosch@9725: uint32 GetIntersectionOfArticulatedRefitMasks(EngineID engine, VehicleType type, bool include_initial_cargo_type); frosch@9725: bool IsArticulatedVehicleCarryingDifferentCargos(const Vehicle *v, CargoID *cargo_type); maedhros@6772: maedhros@6772: #endif /* ARTICULATED_VEHICLES_H */