Files
@ r4066:919d15dcd976
Branch filter:
Location: cpp/openttd-patchpack/source/aircraft.h - annotation
r4066:919d15dcd976
478 B
text/x-c
(svn r5362) - Fix: Updated sprites in New Airports to be allow cleaner replacement by newgrf graphics. All tiles now use SPR_AIRPORT_APRON as the tarmac. Created two new sprites in airports.grf for half-grass half-tarmac tiles on Intercontinental airport.
r3963:fb193040fb7a r3963:fb193040fb7a r3987:274c1601e34c r3987:274c1601e34c r3987:274c1601e34c r3963:fb193040fb7a r3963:fb193040fb7a r3963:fb193040fb7a r3963:fb193040fb7a r3963:fb193040fb7a r3963:fb193040fb7a r3963:fb193040fb7a r3963:fb193040fb7a r3963:fb193040fb7a r3963:fb193040fb7a r3963:fb193040fb7a r3963:fb193040fb7a r3963:fb193040fb7a r3963:fb193040fb7a r3987:274c1601e34c r3987:274c1601e34c r3987:274c1601e34c r3987:274c1601e34c | /* $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 */
|