articulated_vehicles.h
Go to the documentation of this file.00001
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