Files @ r4086:7c5b0e7baecb
Branch filter:

Location: cpp/openttd-patchpack/source/aircraft.h

miham
(svn r5402) WebTranslator2 update to 2006-06-28 15:08:19
czech - 15 fixed by Hadez (15)
french - 1 fixed, 3 changed by belugas (4)
italian - 1 changed by sidew (1)
ukrainian - 1 fixed by znikoz (1)
/* $Id$ */

#ifndef AIRCRAFT_H
#define AIRCRAFT_H

#include "station_map.h"
#include "vehicle.h"


static inline bool IsAircraftInHangar(const Vehicle* v)
{
	assert(v->type == VEH_Aircraft);
	return v->vehstatus & VS_HIDDEN && IsHangarTile(v->tile);
}

static inline bool IsAircraftInHangarStopped(const Vehicle* v)
{
	return IsAircraftInHangar(v) && v->vehstatus & VS_STOPPED;
}

uint16 AircraftDefaultCargoCapacity(CargoID cid, EngineID engine_type);

#endif /* AIRCRAFT_H */