Files @ r4042:f0f940a0d57a
Branch filter:

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

miham
(svn r5310) WebTranslator2 update to 2006-06-18 21:00:21
afrikaans - 116 fixed, 2 changed by TrueTenacity (118)
portuguese - 13 fixed by supra90 (13)
/* $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 */