Files
@ r16521:46950cd322c9
Branch filter:
Location: cpp/openttd-patchpack/source/src/articulated_vehicles.h - annotation
r16521:46950cd322c9
1.5 KiB
text/x-c
(svn r21257) -Update from WebTranslator v3.0:
arabic_egypt - 6 changes by kasakg
finnish - 2 changes by jpx_
french - 2 changes by glx
italian - 1 changes by lorenzodv
lithuanian - 63 changes by BlinK_
portuguese - 8 changes by JayCity
spanish - 4 changes by Terkhen
turkish - 5 changes by niw3
arabic_egypt - 6 changes by kasakg
finnish - 2 changes by jpx_
french - 2 changes by glx
italian - 1 changes by lorenzodv
lithuanian - 63 changes by BlinK_
portuguese - 8 changes by JayCity
spanish - 4 changes by Terkhen
turkish - 5 changes by niw3
r6772:59235ded8522 r6772:59235ded8522 r12768:980ae0491352 r12768:980ae0491352 r12768:980ae0491352 r12768:980ae0491352 r12768:980ae0491352 r12768:980ae0491352 r12768:980ae0491352 r9111:983de9c5a848 r6772:59235ded8522 r6772:59235ded8522 r6772:59235ded8522 r6772:59235ded8522 r8144:1432edd15267 r8777:59b04e504aa5 r8144:1432edd15267 r7595:4f881cfee2f3 r13211:4ba95564ba64 r13209:e62009d81509 r14014:448f8c2f27bc r13211:4ba95564ba64 r13211:4ba95564ba64 r9725:d6d7b42bd986 r11238:1abc5ab40770 r11346:032b1fd8218f r11346:032b1fd8218f r6772:59235ded8522 r6772:59235ded8522 | /* $Id$ */
/*
* This file is part of OpenTTD.
* OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
* OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
*/
/** @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);
CargoArray GetCapacityOfArticulatedParts(EngineID engine);
void AddArticulatedParts(Vehicle *first);
void GetArticulatedRefitMasks(EngineID engine, bool include_initial_cargo_type, uint32 *union_mask, uint32 *intersection_mask);
uint32 GetUnionOfArticulatedRefitMasks(EngineID engine, bool include_initial_cargo_type);
uint32 GetIntersectionOfArticulatedRefitMasks(EngineID engine, bool include_initial_cargo_type);
bool IsArticulatedVehicleCarryingDifferentCargos(const Vehicle *v, CargoID *cargo_type);
bool IsArticulatedVehicleRefittable(EngineID engine);
void CheckConsistencyOfArticulatedVehicle(const Vehicle *v);
#endif /* ARTICULATED_VEHICLES_H */
|