Files @ r4014:8ecafcbb3d7e
Branch filter:

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

miham
(svn r5227) WebTranslator2 update to 2006-06-11 21:23:24
lithuanian - 16 fixed, 3 changed by Plyta (19)
polish - 4 changed by meush (4)
spanish - 31 fixed by eusebio (31)
/* $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 */