Oolite 1.91.0.7646-241128-10e222e
|
import "Universe.h"
Go to the source code of this file.
Classes | |
struct | ChainedEntityPredicateParameter |
struct | BinaryOperationPredicateParameter |
Functions | |
BOOL | YESPredicate (Entity *entity, void *parameter) |
BOOL | NOPredicate (Entity *entity, void *parameter) |
BOOL | NOTPredicate (Entity *entity, void *parameter) |
BOOL | ANDPredicate (Entity *entity, void *parameter) |
BOOL | ORPredicate (Entity *entity, void *parameter) |
BOOL | NORPredicate (Entity *entity, void *parameter) |
BOOL | XORPredicate (Entity *entity, void *parameter) |
BOOL | NANDPredicate (Entity *entity, void *parameter) |
BOOL | HasScanClassPredicate (Entity *entity, void *parameter) |
BOOL | HasClassPredicate (Entity *entity, void *parameter) |
BOOL | IsShipPredicate (Entity *entity, void *parameter) |
BOOL | IsStationPredicate (Entity *entity, void *parameter) |
BOOL | IsPlanetPredicate (Entity *entity, void *parameter) |
BOOL | IsSunPredicate (Entity *entity, void *parameter) |
BOOL | IsVisualEffectPredicate (Entity *entity, void *parameter) |
BOOL | HasRolePredicate (Entity *ship, void *parameter) |
BOOL | HasPrimaryRolePredicate (Entity *ship, void *parameter) |
BOOL | HasRoleInSetPredicate (Entity *ship, void *parameter) |
BOOL | HasPrimaryRoleInSetPredicate (Entity *ship, void *parameter) |
BOOL | IsHostileAgainstTargetPredicate (Entity *ship, void *parameter) |
BOOL ANDPredicate | ( | Entity * | entity, |
void * | parameter ) |
Definition at line 56 of file OOEntityFilterPredicate.m.
References BinaryOperationPredicateParameter::parameter1, BinaryOperationPredicateParameter::parameter2, BinaryOperationPredicateParameter::predicate1, and BinaryOperationPredicateParameter::predicate2.
Referenced by FindShips().
BOOL HasClassPredicate | ( | Entity * | entity, |
void * | parameter ) |
Definition at line 116 of file OOEntityFilterPredicate.m.
BOOL HasPrimaryRoleInSetPredicate | ( | Entity * | ship, |
void * | parameter ) |
Definition at line 172 of file OOEntityFilterPredicate.m.
BOOL HasPrimaryRolePredicate | ( | Entity * | ship, |
void * | parameter ) |
Definition at line 160 of file OOEntityFilterPredicate.m.
Referenced by SystemShipsWithPrimaryRole().
BOOL HasRoleInSetPredicate | ( | Entity * | ship, |
void * | parameter ) |
Definition at line 166 of file OOEntityFilterPredicate.m.
BOOL HasRolePredicate | ( | Entity * | ship, |
void * | parameter ) |
Definition at line 154 of file OOEntityFilterPredicate.m.
Referenced by SystemShipsWithRole().
BOOL HasScanClassPredicate | ( | Entity * | entity, |
void * | parameter ) |
Definition at line 110 of file OOEntityFilterPredicate.m.
References Entity::scanClass.
Referenced by SystemEntitiesWithScanClass().
BOOL IsHostileAgainstTargetPredicate | ( | Entity * | ship, |
void * | parameter ) |
Definition at line 178 of file OOEntityFilterPredicate.m.
BOOL IsPlanetPredicate | ( | Entity * | entity, |
void * | parameter ) |
Definition at line 134 of file OOEntityFilterPredicate.m.
References STELLAR_TYPE_MOON, and STELLAR_TYPE_NORMAL_PLANET.
BOOL IsShipPredicate | ( | Entity * | entity, |
void * | parameter ) |
Definition at line 122 of file OOEntityFilterPredicate.m.
References Entity::isShip, and Entity::isSubEntity.
Referenced by FindShips().
BOOL IsStationPredicate | ( | Entity * | entity, |
void * | parameter ) |
Definition at line 128 of file OOEntityFilterPredicate.m.
References Entity::isStation.
BOOL IsSunPredicate | ( | Entity * | entity, |
void * | parameter ) |
Definition at line 142 of file OOEntityFilterPredicate.m.
References Entity::isSun.
BOOL IsVisualEffectPredicate | ( | Entity * | entity, |
void * | parameter ) |
Definition at line 148 of file OOEntityFilterPredicate.m.
References Entity::isSubEntity, and Entity::isVisualEffect.
BOOL NANDPredicate | ( | Entity * | entity, |
void * | parameter ) |
Definition at line 98 of file OOEntityFilterPredicate.m.
References BinaryOperationPredicateParameter::parameter1, BinaryOperationPredicateParameter::parameter2, BinaryOperationPredicateParameter::predicate1, and BinaryOperationPredicateParameter::predicate2.
BOOL NOPredicate | ( | Entity * | entity, |
void * | parameter ) |
Definition at line 41 of file OOEntityFilterPredicate.m.
BOOL NORPredicate | ( | Entity * | entity, |
void * | parameter ) |
Definition at line 76 of file OOEntityFilterPredicate.m.
References BinaryOperationPredicateParameter::parameter1, BinaryOperationPredicateParameter::parameter2, BinaryOperationPredicateParameter::predicate1, and BinaryOperationPredicateParameter::predicate2.
BOOL NOTPredicate | ( | Entity * | entity, |
void * | parameter ) |
Definition at line 47 of file OOEntityFilterPredicate.m.
References ChainedEntityPredicateParameter::parameter, and ChainedEntityPredicateParameter::predicate.
BOOL ORPredicate | ( | Entity * | entity, |
void * | parameter ) |
Definition at line 66 of file OOEntityFilterPredicate.m.
References BinaryOperationPredicateParameter::parameter1, BinaryOperationPredicateParameter::parameter2, BinaryOperationPredicateParameter::predicate1, and BinaryOperationPredicateParameter::predicate2.
BOOL XORPredicate | ( | Entity * | entity, |
void * | parameter ) |
Definition at line 86 of file OOEntityFilterPredicate.m.
References BinaryOperationPredicateParameter::parameter1, BinaryOperationPredicateParameter::parameter2, BinaryOperationPredicateParameter::predicate1, and BinaryOperationPredicateParameter::predicate2.
BOOL YESPredicate | ( | Entity * | entity, |
void * | parameter ) |
Definition at line 35 of file OOEntityFilterPredicate.m.