|
Oolite
|
import "OOCacheManager.h"import "OOColor.h"import "OOFoundation.h"import "OOMaths.h"import "OOTypes.h"import "OOWeakReference.h"#include "OOEntityStatus.tbl"#include "OOScanClass.tbl"Go to the source code of this file.
Classes | |
| class | Entity |
| protocol | <OOBeaconEntity> |
Macros | |
| #define | NO_DRAW_DISTANCE_FACTOR 1024.0 |
| #define | ABSOLUTE_NO_DRAW_DISTANCE2 (2500.0 * 2500.0 * NO_DRAW_DISTANCE_FACTOR * NO_DRAW_DISTANCE_FACTOR) |
| #define | SCANNER_MAX_RANGE 25600.0 |
| #define | SCANNER_MAX_RANGE2 655360000.0 |
| #define | CLOSE_COLLISION_CHECK_MAX_RANGE2 1000000000.0 |
| #define | ENTRY(label, value) |
| #define | OO_SCANCLASS_TYPE |
Typedefs | |
| typedef enum OOEntityStatus | OOEntityStatus |
| typedef enum OOScanClass | OOScanClass |
Enumerations | |
| enum | OOEntityStatus |
| enum | OOScanClass |
| enum | { kOOEntityStatusDefault = STATUS_INACTIVE , kOOScanClassDefault = CLASS_NOT_SET } |
Functions | |
| NSString * | OOStringFromEntityStatus (OOEntityStatus status) CONST_FUNC |
| OOEntityStatus | OOEntityStatusFromString (NSString *string) PURE_FUNC |
| NSString * | OOStringFromScanClass (OOScanClass scanClass) CONST_FUNC |
| OOScanClass | OOScanClassFromString (NSString *string) PURE_FUNC |
| #define ABSOLUTE_NO_DRAW_DISTANCE2 (2500.0 * 2500.0 * NO_DRAW_DISTANCE_FACTOR * NO_DRAW_DISTANCE_FACTOR) |
Definition at line 50 of file Entity.h.
Referenced by Entity::isVisible.
| #define NO_DRAW_DISTANCE_FACTOR 1024.0 |
Definition at line 49 of file Entity.h.
Referenced by OOMesh(Private)::calculateBoundingVolumes, OOLightParticleEntity::initWithDiameter:, OOVisualEffectEntity::setNoDrawDistance, OOSunEntity::setRadius:andCorona:, OOWaypointEntity::setSize:, ShipEntity::setUpSubEntities, and WormholeEntity::update:.
| #define SCANNER_MAX_RANGE 25600.0 |
Definition at line 53 of file Entity.h.
Referenced by Universe::addShipAt:withRole:withinRadius:, Universe::addShips:withRole:nearPosition:withCoordinateSystem:, Universe::addShipsToRoute:withRole:quantity:routeFraction:asGroup:, Universe::addShipWithRole:nearPosition:withCoordinateSystem:, ShipEntity::dealEnergyDamage:atRange:withBias:, WormholeEntity::disgorgeShips, DockEntity::dockingInstructionsForShip:, HeadUpDisplay(Private)::drawScanner:, HeadUpDisplay::drawScannerGrid, Universe::firstEntityTargetedByPlayer, Universe(OOPrivate)::fractionalPositionFrom:to:withFraction:, PlayerEntity::leaveWitchspace, ShipEntity::leaveWitchspace, Universe::locationByCode:withSun:andPlanet:, HeadUpDisplay::nonlinearScannerFunc, Universe(OOPrivate)::randomDistanceWithinScanner, PlayerEntity::setUpAndConfirmOK:saveGame:, PlayerEntity::setUpShipFromDictionary:, Universe::spawnShip:, SystemAddShipsOrGroup(), SystemAddShipsOrGroup(), OOECMBlastEntity::update:, and PlayerEntity(OOPrivate)::updateAlertConditionForNearbyEntities.
| #define SCANNER_MAX_RANGE2 655360000.0 |
Definition at line 54 of file Entity.h.
Referenced by ShipEntity::AuthorityPredicate, ShipEntity::becomeExplosion, ShipEntity::broadcastMessage:withUnpilotedOverride:, PlayerEntity(OOPrivate)::checkEntityForMassLock:withScanClass:, ShipEntity::checkForAegis, ShipEntity::checkShipsInVicinityForWitchJumpExit, PlayerEntity::doBookkeeping:, HeadUpDisplay(Private)::drawSecondaryTargetReticle:, ShipEntity(PureAI)::getWitchspaceEntryCoordinates, PlayerEntity(OOControlsPrivate)::handleAutopilotOn:, ShipEntity::initWithKey:definition:, PlayerEntity::isValidTarget:, Universe::locationByCode:withSun:andPlanet:, PlayerEntity::moveTargetMemoryBy:, DockEntity::pruneAndCountShipsOnApproach, ShipEntity(PureAI)::recallStoredTarget, ShipEntity(AI)::requestDockingCoordinates, ShipEntity::setTargetToNearestStationIncludingHostiles:, and PlayerEntity(OOPrivate)::updateAlertConditionForNearbyEntities.
| typedef enum OOEntityStatus OOEntityStatus |
| typedef enum OOScanClass OOScanClass |
| anonymous enum |
| Enumerator | |
|---|---|
| kOOEntityStatusDefault | |
| kOOScanClassDefault | |
Definition at line 324 of file Entity.h.
| enum OOEntityStatus |
| enum OOScanClass |
| OOEntityStatus OOEntityStatusFromString | ( | NSString * | string | ) |
Definition at line 142 of file OOConstToString.m.
References kOOEntityStatusDefault.
| OOScanClass OOScanClassFromString | ( | NSString * | string | ) |
Definition at line 177 of file OOConstToString.m.
References kOOScanClassDefault.
Referenced by ShipEntity::setUpShipFromDictionary:.
| NSString * OOStringFromEntityStatus | ( | OOEntityStatus | status | ) |
Definition at line 52 of file OOConstToString.m.
Referenced by Entity::dumpSelfState, PlayerEntity::isDocked, and PlayerEntity(Scripting)::status_string.
| NSString * OOStringFromScanClass | ( | OOScanClass | scanClass | ) |
Definition at line 105 of file OOConstToString.m.
Referenced by Entity::dumpSelfState.