Files @ r10232:40f71efe145b
Branch filter:

Location: cpp/openttd-patchpack/source/src/articulated_vehicles.h

translators
(svn r14460) -Update: WebTranslator2 update to 2008-10-12 17:43:44
bulgarian - 6 fixed, 1 changed by kokobongo (7)
english_US - 6 fixed by WhiteRabbit (6)
ido - 43 fixed by Cecile (43)
italian - 6 changed by lorenzodv (6)
korean - 41 changed by dlunch (41)
latvian - 54 changed by v3rb0 (54)
persian - 66 fixed by ali sattari (66)
/* $Id$ */

/** @file articulated_vehicles.h Functions related to articulated vehicles. */

#ifndef ARTICULATED_VEHICLES_H
#define ARTICULATED_VEHICLES_H

#include "vehicle_type.h"
#include "engine_type.h"

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 */