src/articulated_vehicles.h
changeset 9725 982452c3357e
parent 9111 48ce04029fe4
equal deleted inserted replaced
9724:ffff7f3fcd47 9725:982452c3357e
     9 #include "engine_type.h"
     9 #include "engine_type.h"
    10 
    10 
    11 uint CountArticulatedParts(EngineID engine_type, bool purchase_window);
    11 uint CountArticulatedParts(EngineID engine_type, bool purchase_window);
    12 uint16 *GetCapacityOfArticulatedParts(EngineID engine, VehicleType type);
    12 uint16 *GetCapacityOfArticulatedParts(EngineID engine, VehicleType type);
    13 void AddArticulatedParts(Vehicle **vl, VehicleType type);
    13 void AddArticulatedParts(Vehicle **vl, VehicleType type);
       
    14 uint32 GetUnionOfArticulatedRefitMasks(EngineID engine, VehicleType type, bool include_initial_cargo_type);
       
    15 uint32 GetIntersectionOfArticulatedRefitMasks(EngineID engine, VehicleType type, bool include_initial_cargo_type);
       
    16 bool IsArticulatedVehicleCarryingDifferentCargos(const Vehicle *v, CargoID *cargo_type);
    14 
    17 
    15 #endif /* ARTICULATED_VEHICLES_H */
    18 #endif /* ARTICULATED_VEHICLES_H */