Files
@ r4381:c965d1f3016a
Branch filter:
Location: cpp/openttd-patchpack/source/aircraft.h - annotation
r4381:c965d1f3016a
478 B
text/x-c
(svn r6131) -Codechange : Complete all missing _ttdpatch_flags entries
-Feature : both unifiedmaglevmode are now set.
Maglev and monorail are not allowed to run on each other tracks and will not be.
Setting those flags will allow grfsets as the Norvegian one to be loaded
-Codechange : link the TTDPatch's irregularstations with OTTD's nonuniform_stations
-Codechange : Reformat the whole array (thanks Rubidium, it sure looks better now)
-Feature : both unifiedmaglevmode are now set.
Maglev and monorail are not allowed to run on each other tracks and will not be.
Setting those flags will allow grfsets as the Norvegian one to be loaded
-Codechange : link the TTDPatch's irregularstations with OTTD's nonuniform_stations
-Codechange : Reformat the whole array (thanks Rubidium, it sure looks better now)
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 */
|