You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
341 B
C
17 lines
341 B
C
19 years ago
|
/* $Id$ */
|
||
|
|
||
|
#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;
|
||
|
}
|