![]() |
Oolite 1.91.0.7650-250121-affa790
|
#include <Entity.h>
Public Attributes | |
OOUniversalID | universalID |
unsigned | isShip: 1 |
unsigned | isStation: 1 |
unsigned | isPlayer: 1 |
unsigned | isWormhole: 1 |
unsigned | isSubEntity: 1 |
unsigned | hasMoved: 1 |
unsigned | hasRotated: 1 |
unsigned | hasCollided: 1 |
unsigned | isSunlit: 1 |
unsigned | collisionTestFilter: 2 |
unsigned | throw_sparks: 1 |
unsigned | isImmuneToBreakPatternHide: 1 |
unsigned | isExplicitlyNotMainStation: 1 |
unsigned | isVisualEffect: 1 |
OOScanClass | scanClass |
GLfloat | zero_distance |
GLfloat | cam_zero_distance |
GLfloat | no_draw_distance |
GLfloat | collision_radius |
HPVector | position |
Vector | cameraRelativePosition |
Quaternion | orientation |
OOColor * | atmosphereFogging |
int | zero_index |
Entity * | x_previous |
Entity * | x_next |
Entity * | y_previous |
Entity * | y_next |
Entity * | z_previous |
Entity * | z_next |
Entity * | collision_chain |
OOUniversalID | shadingEntityID |
Entity * | collider |
CollisionRegion * | collisionRegion |
Protected Attributes | |
HPVector | lastPosition |
Quaternion | lastOrientation |
GLfloat | distanceTravelled |
OOMatrix | rotMatrix |
Vector | velocity |
GLfloat | energy |
GLfloat | maxEnergy |
BoundingBox | boundingBox |
GLfloat | mass |
NSMutableArray * | collidingEntities |
OOTimeAbsolute | spawnTime |
struct JSObject * | _jsSelf |
![]() | |
OOWeakReference * | weakSelf |
Private Attributes | |
NSUInteger | _sessionID |
OOWeakReference * | _owner |
OOEntityStatus | _status |
- (HPVector) absolutePositionForSubentity |
Definition at line 669 of file Entity.m.
References absolutePositionForSubentity, and absolutePositionForSubentityOffset:.
Referenced by DockEntity::abortAllDockings, DockEntity::abortDockingForShip:, absolutePositionForSubentity, DockEntity(OOPrivate)::addShipToShipsOnApproach:, ShipEntity::ballTrackLeadingTarget:atTarget:, ShipEntity::becomeExplosion, cameraRelativePosition, DockEntity::clearDockingCorridor, ShipEntity::collideWithShip:, DockEntity::dockingCorridorIsEmpty, DockEntity::dockingInstructionsForShip:, PlayerEntity::doesHitLine:v0:v1:, ShipEntity::doesHitLine:v0:v1:, ShipEntity::doOctreesCollide, ShipEntity::dumpItem:, DockEntity::launchShip:, DockEntity::pruneAndCountShipsOnApproach, DockEntity::shipIsInDockingCorridor:, updateCameraRelativePosition, and OOSunEntity::updateCameraRelativePosition.
- (HPVector) absolutePositionForSubentityOffset: | (HPVector) | offset |
Definition at line 675 of file Entity.m.
References drawRotationMatrix, isSubEntity, nil, OOHPVectorMultiplyMatrix(), owner, parentEntity, position, and rotMatrix.
Referenced by absolutePositionForSubentity, Universe::firstShipHitByLaserFromShip:inDirection:offset:gettingRangeFound:, and OOLaserShotEntity::initLaserFromShip:direction:offset:.
- (void) addToLinkedLists |
Definition at line 228 of file Entity.m.
References addToLinkedLists, checkLinkedLists, collision_radius, DEBUG_LINKED_LISTS, gDebugFlags, kOOLogEntityAddToList, kOOLogEntityAddToListError, nil, OOLog, position, UNIVERSE, x_next, x_previous, y_next, y_previous, z_next, and z_previous.
Referenced by addToLinkedLists, isVisualEffect, and Universe::MaintainLinkedLists.
- (NSSet *) allTextures |
Reimplemented in OOEntityWithDrawable, OOLightParticleEntity, OOParticleSystem, and PlanetEntity.
Definition at line 1107 of file Entity.m.
References allTextures, and nil.
Referenced by allTextures, and spawnTime.
- (void) applyRoll: | (GLfloat) | roll | |
andClimb: | (GLfloat) | climb |
Reimplemented in PlayerEntity, and ShipEntity.
Definition at line 835 of file Entity.m.
References hasRotated, orientation, orientationChanged, quaternion_rotate_about_x(), and quaternion_rotate_about_z().
- (void) applyRoll: | (GLfloat) | roll | |
climb: | (GLfloat) | climb | |
andYaw: | (GLfloat) | yaw |
Reimplemented in ShipEntity.
Definition at line 849 of file Entity.m.
References hasRotated, orientation, orientationChanged, quaternion_rotate_about_x(), quaternion_rotate_about_y(), and quaternion_rotate_about_z().
- (void) applyVelocity: | (OOTimeDelta) | delta_t |
Definition at line 965 of file Entity.m.
References position, and velocity.
Referenced by PlayerEntity(OOPrivate)::performAutopilotUpdates:, PlayerEntity(OOPrivate)::performInFlightUpdates:, and update:.
- (BoundingBox) boundingBox |
References boundingBox.
- (GLfloat) cameraRangeBack |
Reimplemented in SkyEntity.
Definition at line 627 of file Entity.m.
References cameraRangeBack, cameraRelativePosition, and frustumRadius.
Referenced by cameraRangeBack, and cameraRelativePosition.
- (GLfloat) cameraRangeFront |
Reimplemented in SkyEntity.
Definition at line 622 of file Entity.m.
References cameraRangeFront, cameraRelativePosition, and frustumRadius.
Referenced by cameraRangeFront, and cameraRelativePosition.
- (Vector) cameraRelativePosition |
References absolutePositionForSubentity, cameraRangeBack, cameraRangeFront, cameraRelativePosition, camZeroDistance, updateCameraRelativePosition, and zeroDistance.
- (double) camZeroDistance |
Definition at line 698 of file Entity.m.
References cam_zero_distance, and camZeroDistance.
Referenced by cameraRelativePosition, camZeroDistance, OOLightParticleEntity::drawSubEntityImmediate:translucent:, and update:.
- (BOOL) canCollide |
Reimplemented in DustEntity, OOBreakPatternEntity, OOLaserShotEntity, OOLightParticleEntity, OOParticleSystem, OOPlasmaShotEntity, OOQuiriumCascadeEntity, OORingEffectEntity, OOSunEntity, OOVisualEffectEntity, PlanetEntity, PlayerEntity, ShipEntity, SkyEntity, and WormholeEntity.
Definition at line 899 of file Entity.m.
References canCollide.
Referenced by canCollide, Universe::filterSortedLists, and maxEnergy.
- (BOOL) checkCloseCollisionWith: | (Entity *) | other |
Reimplemented in OOParticleSystem, OOPlasmaShotEntity, OOQuiriumCascadeEntity, OOSunEntity, PlanetEntity, ShipEntity, and WormholeEntity.
Definition at line 971 of file Entity.m.
References nil.
Referenced by OOSunEntity::checkCloseCollisionWith:, and CollisionRegion::findCollisions.
|
implementation |
Provided by category Entity(OOPrivate).
Definition at line 333 of file Entity.m.
References Entity(OOPrivate)::checkLinkedLists, kOOLogEntityVerificationError, nil, OOLog, UNIVERSE, x_next, x_previous, y_next, y_previous, z_next, and z_previous.
Referenced by addToLinkedLists, Entity(OOPrivate)::checkLinkedLists, removeFromLinkedLists, and updateLinkedLists.
|
implementation |
Provided by category Entity(ShaderBindings).
Definition at line 36 of file EntityShaderBindings.m.
- (NSMutableArray *) collisionArray |
Definition at line 923 of file Entity.m.
References collidingEntities, and collisionArray.
Referenced by ShipEntity::collideWithShip:, collisionArray, CollisionRegion::findCollisions, maxEnergy, and ShipEntity::scoopUpProcess:processEvents:processMessages:.
- (GLfloat) collisionRadius |
Reimplemented in OOVisualEffectEntity.
Definition at line 905 of file Entity.m.
References collision_radius, and collisionRadius.
Referenced by Universe::addShipsToRoute:withRole:quantity:routeFraction:asGroup:, ShipEntity::becomeExplosion, ShipEntity::behaviour_land_on_planet:, ShipEntity::behaviour_track_as_turret:, collisionRadius, ShipEntity::dealEnergyDamage:atRange:withBias:, ShipEntity::dealEnergyDamageWithinDesiredRange, ShipEntity::dealMomentumWithinDesiredRange:, DockEntity::dockingInstructionsForShip:, OOEntityWithDrawable::drawImmediate:translucent:, OOFlashEffectEntity::explosionFlashFromEntity:, Universe::firstEntityTargetedByPlayer, OOBigFragmentBurstEntity::fragmentBurstFromEntity:, OOSmallFragmentBurstEntity::fragmentBurstFromEntity:, HeadUpDisplay::hudDrawReticleOnTarget, OOExplosionCloudEntity(OOPrivate)::initExplosionCloudWithEntity:size:andSettings:, OORingEffectEntity::initRingFromEntity:, Universe::makeDemoShipWithRole:spinning:, maxEnergy, PlanetEntity::miniaturize, Universe::safeWitchspaceExitDistance, PlayerEntity::showShipModelWithKey:shipData:personality:factorX:factorY:factorZ:inContext:, WormholeEntity::suckInShip:, and PlayerEntity(OOPrivate)::updateAlertConditionForNearbyEntities.
- (CollisionRegion *) collisionRegion |
References collisionRegion.
- (NSComparisonResult) compareZeroDistance: | (Entity *) | otherEntity |
Reimplemented in PlayerEntity.
Definition at line 704 of file Entity.m.
References zero_distance.
|
implementation |
Reimplemented from OOWeakRefObject.
Reimplemented in DockEntity, DustEntity, OOEntityWithDrawable, OOExplosionCloudEntity, OOFlasherEntity, OOLaserShotEntity, OOSunEntity, OOVisualEffectEntity, OOWaypointEntity, PlanetEntity, PlayerEntity, ShipEntity, SkyEntity, StationEntity, and WormholeEntity.
Definition at line 101 of file Entity.m.
References collidingEntities, collisionRegion, dealloc, OOWeakRefObject::dealloc, deleteJSSelf, DESTROY, gLiveEntityCount, gTotalEntityMemory, and setOwner:.
Referenced by DustEntity::dealloc, dealloc, OOEntityWithDrawable::dealloc, OOExplosionCloudEntity::dealloc, OOFlasherEntity::dealloc, OOLaserShotEntity::dealloc, OOSunEntity::dealloc, OOWaypointEntity::dealloc, PlanetEntity::dealloc, and WormholeEntity::dealloc.
|
implementation |
Reimplemented in ShipEntity.
Provided by category Entity(OOEntityDebugInspectorModule).
Definition at line 65 of file OOEntityDebugInspectorModule.m.
Referenced by ShipEntity(OOShipDebugInspectorModule)::debugInspectorModules.
- (void) deleteJSSelf |
Provided by category Entity(OOJavaScriptExtensions).
Definition at line 95 of file EntityOOJavaScriptExtensions.m.
Referenced by dealloc.
|
implementation |
Reimplemented in OOLaserShotEntity, OOParticleSystem, OOQuiriumCascadeEntity, OORingEffectEntity, OOSunEntity, PlanetEntity, ShipEntity, StationEntity, and WormholeEntity.
Definition at line 119 of file Entity.m.
References descriptionComponents, position, scanClass, and status.
Referenced by descriptionComponents, OOLaserShotEntity::descriptionComponents, ShipEntity::descriptionComponents, and descriptionForObjDumpBasic.
- (NSString *) descriptionForObjDump |
Reimplemented in DustEntity, ShipEntity, and SkyEntity.
Definition at line 1097 of file Entity.m.
References descriptionForObjDump, descriptionForObjDumpBasic, isVisible, and position.
Referenced by descriptionForObjDump, ShipEntity::descriptionForObjDump, and spawnTime.
- (NSString *) descriptionForObjDumpBasic |
Definition at line 1087 of file Entity.m.
References descriptionComponents, descriptionForObjDumpBasic, and nil.
Referenced by DustEntity::descriptionForObjDump, descriptionForObjDump, SkyEntity::descriptionForObjDump, descriptionForObjDumpBasic, and spawnTime.
- (GLfloat) distanceTravelled |
- (void) drawImmediate: | (bool) | immediate | |
translucent: | (bool) | translucent |
Reimplemented in DockEntity, DustEntity, OOBreakPatternEntity, OOECMBlastEntity, OOEntityWithDrawable, OOFlasherEntity, OOLaserShotEntity, OOLightParticleEntity, OOParticleSystem, OOQuiriumCascadeEntity, OORingEffectEntity, OOSunEntity, OOVisualEffectEntity, OOWaypointEntity, PlanetEntity, PlayerEntity, ShipEntity, SkyEntity, and WormholeEntity.
Definition at line 984 of file Entity.m.
References OOLogGenericSubclassResponsibility.
Referenced by Universe::drawUniverse.
- (OOMatrix) drawRotationMatrix |
Reimplemented in PlayerEntity.
Definition at line 879 of file Entity.m.
References drawRotationMatrix, and rotMatrix.
Referenced by ShipEntity::absoluteIJKForSubentity, absolutePositionForSubentityOffset:, OOLightParticleEntity::drawImmediate:translucent:, drawRotationMatrix, OOLightParticleEntity::drawSubEntityImmediate:translucent:, ShipEntity::fireTurretCannon:, OOLaserShotEntity::initLaserFromShip:direction:offset:, maxEnergy, and OOLaserShotEntity::update:.
|
implementation |
Reimplemented in OOExhaustPlumeEntity, OOFlasherEntity, OOLightParticleEntity, OOVisualEffectEntity, and ShipEntity.
Provided by category Entity(SubEntityRelationship).
Definition at line 14864 of file ShipEntity.m.
Referenced by OOVisualEffectEntity::drawImmediate:translucent:, and ShipEntity::drawImmediate:translucent:.
- (OOMatrix) drawTransformationMatrix |
Reimplemented in PlayerEntity.
Definition at line 892 of file Entity.m.
References drawTransformationMatrix, position, and rotMatrix.
Referenced by drawTransformationMatrix, maxEnergy, and OOExhaustPlumeEntity::resetPlume.
- (void) dumpSelfState |
Reimplemented in PlayerEntity, ShipEntity, StationEntity, and WormholeEntity.
Definition at line 1013 of file Entity.m.
References ADD_FLAG_IF_SET, collisionTestFilter, distanceTravelled, dumpSelfState, energy, hasMoved, hasRotated, isPlayer, isShip, isStation, isSubEntity, isSunlit, isWormhole, mass, maxEnergy, nil, OOLog, OOStringFromEntityStatus(), OOStringFromScanClass(), orientation, owner, position, scanClass, status, throw_sparks, and universalID.
Referenced by dumpSelfState, ShipEntity::dumpSelfState, WormholeEntity::dumpSelfState, dumpState, and maxEnergy.
- (void) dumpState |
Definition at line 996 of file Entity.m.
References dumpSelfState, dumpState, OOLog, OOLogIndent(), OOLogPopIndent(), OOLogPushIndent(), and OOLogWillDisplayMessagesInClass().
Referenced by OODebugController::dumpPlayerStateAction:, dumpState, maxEnergy, and PlayerEntity(OOPrivate)::updateTargeting.
- (GLfloat) energy |
References energy.
- (double) findCollisionRadius |
Reimplemented in OOEntityWithDrawable, OOExhaustPlumeEntity, and OOFlasherEntity.
Definition at line 977 of file Entity.m.
References findCollisionRadius, and OOLogGenericSubclassResponsibility.
Referenced by findCollisionRadius, and maxEnergy.
- (OOColor *) fogUniform |
Definition at line 1081 of file Entity.m.
References fogUniform.
Referenced by fogUniform, and spawnTime.
- (GLfloat) frustumRadius |
Reimplemented in OOVisualEffectEntity, and ShipEntity.
Definition at line 911 of file Entity.m.
References collision_radius, and frustumRadius.
Referenced by cameraRangeBack, cameraRangeFront, frustumRadius, and maxEnergy.
- (void) getJSClass: | (JSClass **) | outClass | |
andPrototype: | (JSObject **) | outPrototype |
Reimplemented in DockEntity, OOExhaustPlumeEntity, OOFlasherEntity, OOSunEntity, OOVisualEffectEntity, OOWaypointEntity, ShipEntity, StationEntity, and WormholeEntity.
Provided by category Entity(OOJavaScriptExtensions).
Definition at line 88 of file EntityOOJavaScriptExtensions.m.
Referenced by Entity(OOJavaScriptExtensions)::oo_jsValueInContext:.
|
implementation |
Reimplemented in DustEntity, OOParticleSystem, OOSunEntity, OOVisualEffectEntity, PlanetEntity, PlayerEntity, ShipEntity, and WormholeEntity.
Definition at line 68 of file Entity.m.
References _sessionID, atmosphereFogging, collidingEntities, OOColor::colorWithRed:green:blue:alpha:, EXPECT_NOT, gLiveEntityCount, gTotalEntityMemory, init, isSunlit, kIdentityMatrix, kIdentityQuaternion, kZeroHPVector, nil, no_draw_distance, orientation, position, rotMatrix, scanClass, setStatus:, and spawnTime.
Referenced by DustEntity::init, init, PlanetEntity(OOPrivate)::initAsAtmosphereForPlanet:dictionary:, ShipEntity(Hax)::initBypassForPlayer, OOExhaustPlumeEntity::initForShip:withDefinition:andScale:, PlanetEntity::initFromDictionary:withAtmosphere:andSeed:, OOECMBlastEntity::initFromShip:, OOLaserShotEntity::initLaserFromShip:direction:offset:, OOQuiriumCascadeEntity::initQuiriumCascadeFromShip:, OORingEffectEntity::initRingFromEntity:, OOSunEntity::initSunWithColor:andDictionary:, SkyEntity::initWithColors:col1:andSystemInfo:, OOLightParticleEntity::initWithDiameter:, OOWaypointEntity::initWithDictionary:, OOVisualEffectEntity::initWithKey:definition:, ShipEntity::initWithKey:definition:, and OOBreakPatternEntity::initWithPolygonSides:startAngle:aspectRatio:.
|
implementation |
Provided by category Entity(OOEntityInspectorExtensions).
Definition at line 95 of file OOEntityInspectorExtensions.m.
Referenced by AI(OOAIDebugInspectorModule)::inspBasicIdentityLine.
|
implementation |
Reimplemented in PlayerEntity, and ShipEntity.
Provided by category Entity(OOEntityInspectorExtensions).
Definition at line 89 of file OOEntityInspectorExtensions.m.
|
implementation |
Provided by category Entity(OODebugInspector).
Referenced by ConsoleInspectEntity(), and OOShipGroupDebugInspectorModule::inspectLeader:.
- (NSString *) inspEnergyLine |
Provided by category Entity(OOEntityInspectorExtensions).
Definition at line 149 of file OOEntityInspectorExtensions.m.
- (NSString *) inspOrientationLine |
Provided by category Entity(OOEntityInspectorExtensions).
Definition at line 142 of file OOEntityInspectorExtensions.m.
- (NSString *) inspOwnerLine |
Provided by category Entity(OOEntityInspectorExtensions).
Definition at line 155 of file OOEntityInspectorExtensions.m.
- (NSString *) inspPositionLine |
Provided by category Entity(OOEntityInspectorExtensions).
Definition at line 128 of file OOEntityInspectorExtensions.m.
- (NSString *) inspRetainCountLine |
Provided by category Entity(OOEntityInspectorExtensions).
Definition at line 122 of file OOEntityInspectorExtensions.m.
- (NSString *) inspScanClassLine |
Provided by category Entity(OOEntityInspectorExtensions).
Definition at line 110 of file OOEntityInspectorExtensions.m.
- (NSString *) inspStatusLine |
Provided by category Entity(OOEntityInspectorExtensions).
Definition at line 116 of file OOEntityInspectorExtensions.m.
- (NSString *) inspTargetLine |
Reimplemented in ShipEntity.
Provided by category Entity(OOEntityInspectorExtensions).
Definition at line 162 of file OOEntityInspectorExtensions.m.
- (NSString *) inspVelocityLine |
Provided by category Entity(OOEntityInspectorExtensions).
Definition at line 135 of file OOEntityInspectorExtensions.m.
- (BOOL) isBreakPattern |
Reimplemented in OOBreakPatternEntity, and OOVisualEffectEntity.
Provided by category Entity(OOBreakPatternEntity).
Definition at line 179 of file OOBreakPatternEntity.m.
- (BOOL) isCascadeWeapon |
Reimplemented in OOQuiriumCascadeEntity.
Provided by category Entity(OOQuiriumCascadeExtensions).
Definition at line 175 of file OOQuiriumCascadeEntity.m.
Referenced by PlayerEntity::takeEnergyDamage:from:becauseOf:weaponIdentifier:, ShipEntity::takeEnergyDamage:from:becauseOf:weaponIdentifier:, and StationEntity::takeEnergyDamage:from:becauseOf:weaponIdentifier:.
- (BOOL) isDock |
- (BOOL) isECMBlast |
Reimplemented in OOECMBlastEntity.
Provided by category Entity(OOECMBlastEntity).
Definition at line 130 of file OOECMBlastEntity.m.
- (BOOL) isEffect |
Reimplemented in OOLaserShotEntity, OOLightParticleEntity, OOParticleSystem, OOQuiriumCascadeEntity, OORingEffectEntity, OOVisualEffectEntity, and OOWaypointEntity.
Definition at line 196 of file Entity.m.
References isEffect.
Referenced by OOParticleSystem::checkCloseCollisionWith:, OOPlasmaShotEntity::checkCloseCollisionWith:, WormholeEntity::checkCloseCollisionWith:, isEffect, and isWormhole.
- (BOOL) isExhaust |
Reimplemented in OOExhaustPlumeEntity.
Provided by category Entity(OOExhaustPlume).
Definition at line 672 of file OOExhaustPlumeEntity.m.
- (BOOL) isFlasher |
Reimplemented in OOFlasherEntity.
Provided by category Entity(OOFlasherEntityExtensions).
Definition at line 249 of file OOFlasherEntity.m.
- (BOOL) isImmuneToBreakPatternHide |
- (BOOL) isInSpace |
Definition at line 1120 of file Entity.m.
References isInSpace, and status.
Referenced by ShipEntity::dealMomentumWithinDesiredRange:, isInSpace, maxEnergy, PlayerEntity::moveTargetMemoryBy:, and PlayerEntity::validateCompassTarget.
- (BOOL) isPlanet |
Reimplemented in PlanetEntity.
Definition at line 161 of file Entity.m.
References isPlanet.
Referenced by ShipEntity::behaviour_land_on_planet:, isPlanet, isPlayer, isStellarObject, and PlayerEntity::lookingAtSunWithThresholdAngleCos:.
- (BOOL) isPlayer |
- (BOOL) isPlayerLikeShip |
Reimplemented in PlayerEntity, and ProxyPlayerEntity.
Provided by category Entity(ProxyPlayer).
Definition at line 215 of file ProxyPlayerEntity.m.
- (BOOL) isShipWithSubEntityShip: | (Entity *) | other |
Reimplemented in OOVisualEffectEntity, and ShipEntity.
Provided by category Entity(SubEntityRelationship).
Definition at line 14858 of file ShipEntity.m.
- (BOOL) isSky |
- (BOOL) isStation |
References isStation.
- (BOOL) isStellarObject |
Definition at line 179 of file Entity.m.
References isPlanet, isStellarObject, and isSun.
Referenced by Universe::drawUniverse, isStellarObject, isSunlit, and ShipEntity::manageCollisions.
- (BOOL) isSubEntity |
References isSubEntity.
- (BOOL) isSun |
Reimplemented in OOSunEntity.
Definition at line 167 of file Entity.m.
References isSun.
Referenced by PlayerEntity(OOPrivate)::checkEntityForMassLock:withScanClass:, ShipEntity::checkForAegis, isPlayer, isStellarObject, isSun, IsSunPredicate(), and ShipEntity::manageCollisions.
- (BOOL) isSunlit |
- (BOOL) isVisible |
Reimplemented in OOSunEntity, PlanetEntity, ShipEntity, and SkyEntity.
Definition at line 1114 of file Entity.m.
References ABSOLUTE_NO_DRAW_DISTANCE2, cam_zero_distance, and isVisible.
Referenced by descriptionForObjDump, isVisible, maxEnergy, and OOExhaustPlumeEntity::update:.
- (BOOL) isVisibleToScripts |
Reimplemented in OOExhaustPlumeEntity, OOFlasherEntity, OOSunEntity, OOVisualEffectEntity, OOWaypointEntity, ShipEntity, and WormholeEntity.
Provided by category Entity(OOJavaScriptExtensions).
Definition at line 42 of file EntityOOJavaScriptExtensions.m.
Referenced by JSEntityIsJavaScriptVisiblePredicate().
- (BOOL) isVisualEffect |
Reimplemented in OOVisualEffectEntity.
References addToLinkedLists, isVisualEffect, isWaypoint, removeFromLinkedLists, updateLinkedLists, validForAddToUniverse, warnAboutHostiles, wasAddedToUniverse, and wasRemovedFromUniverse.
- (BOOL) isWaypoint |
Reimplemented in OOWaypointEntity.
Definition at line 208 of file Entity.m.
References isWaypoint.
Referenced by isVisualEffect, and isWaypoint.
- (BOOL) isWormhole |
- (GLfloat) mass |
References mass.
- (GLfloat) maxEnergy |
References canCollide, collisionArray, collisionRadius, drawRotationMatrix, drawTransformationMatrix, dumpSelfState, dumpState, findCollisionRadius, frustumRadius, isInSpace, isVisible, maxEnergy, rotationMatrix, and transformationMatrix.
- (void) moveForward: | (double) | amount |
Reimplemented in PlayerEntity.
Definition at line 865 of file Entity.m.
References distanceTravelled, HPvector_forward_from_quaternion(), orientation, and position.
Referenced by ShipEntity::applyThrust:.
- (Quaternion) normalOrientation |
Reimplemented in PlayerEntity.
Definition at line 738 of file Entity.m.
References normalOrientation, and orientation.
Referenced by ShipEntity::absoluteTractorPosition, ShipEntity::ballTrackLeadingTarget:atTarget:, ShipEntity::becomeExplosion, ShipEntity::dumpItem:, ShipEntity::fireMissileWithIdentifier:andTarget:, Universe::firstShipHitByLaserFromShip:inDirection:offset:gettingRangeFound:, OOLaserShotEntity::initLaserFromShip:direction:offset:, normalOrientation, orientation, ShipEntity(LoadRestore)::savedShipDictionaryWithContext:, OOExhaustPlumeEntity(Private)::saveToLastFrame, ShipEntity::throwSparks, OOExhaustPlumeEntity::update:, and OOLaserShotEntity::update:.
- (NSString *) oo_jsClassName |
Reimplemented in DockEntity, OOExhaustPlumeEntity, OOFlasherEntity, OOSunEntity, OOVisualEffectEntity, OOWaypointEntity, PlayerEntity, ShipEntity, StationEntity, and WormholeEntity.
Provided by category Entity(OOJavaScriptExtensions).
Definition at line 48 of file EntityOOJavaScriptExtensions.m.
|
implementation |
Provided by category Entity(OOJavaScriptExtensions).
Definition at line 54 of file EntityOOJavaScriptExtensions.m.
Referenced by JSFunctionPredicate(), and MissionRunScreen().
- (Quaternion) orientation |
References normalOrientation, orientation, and orientationChanged.
- (void) orientationChanged |
Reimplemented in OOVisualEffectEntity, PlayerEntity, and ShipEntity.
Definition at line 750 of file Entity.m.
References OOMatrixForQuaternionRotation(), orientation, orientationChanged, and rotMatrix.
Referenced by applyRoll:andClimb:, applyRoll:climb:andYaw:, orientation, orientationChanged, OOVisualEffectEntity::orientationChanged, ShipEntity::orientationChanged, setOrientation:, and PlanetEntity::update:.
- (id) owner |
Definition at line 583 of file Entity.m.
References owner, and OOWeakReference::weakRefUnderlyingObject.
Referenced by ShipEntity::abandonShip, ShipEntity::absoluteIJKForSubentity, absolutePositionForSubentityOffset:, ShipEntity::adjustMissedShots:, ShipEntity::ballTrackLeadingTarget:atTarget:, ShipEntity::behaviour_formation_form_up:, ShipEntity::behaviour_track_as_turret:, ShipEntity::behaviour_tractored:, OOParticleSystem::checkCloseCollisionWith:, OOPlasmaShotEntity::checkCloseCollisionWith:, ShipEntity::dealEnergyDamage:atRange:withBias:, ShipEntity::dealEnergyDamageWithinDesiredRange, ShipEntity::dockEscorts, OOLightParticleEntity::drawImmediate:translucent:, ShipEntity::drawImmediate:translucent:, OOExhaustPlumeEntity::drawSubEntityImmediate:translucent:, OOLightParticleEntity::drawSubEntityImmediate:translucent:, dumpSelfState, EntityGetProperty(), ShipEntity(PureAI)::escortCheckMother, ExhaustPlumeRemove(), ShipEntity(PureAI)::fightOrFleeMissile, ShipEntity::fireMissileWithIdentifier:andTarget:, ShipEntity::fireSubentityLaserShot:, ShipEntity::fireTurretCannon:, FlasherRemove(), OOQuiriumCascadeEntity::initQuiriumCascadeFromShip:, Entity(OOEntityInspectorExtensions)::inspOwnerLine, ShipEntity(PureAI)::messageMother:, ShipEntity::missedShots, owner, parentEntity, OOExhaustPlumeEntity::resetPlume, OOExhaustPlumeEntity(Private)::saveToLastFrame, ShipEntity(Private)::setUpOneEscort:inGroup:withRole:atPosition:andCount:, DockEntity::shipIsInDockingQueue:, ShipEntity(ScriptMethods)::spawnShipsWithRole:count:, PlayerEntity::takeEnergyDamage:from:becauseOf:weaponIdentifier:, ShipEntity::takeEnergyDamage:from:becauseOf:weaponIdentifier:, ShipEntity::takeHeatDamage:, ShipEntity(PureAI)::thargonCheckMother, universalID, update:, OOExhaustPlumeEntity::update:, OOLaserShotEntity::update:, OOPlasmaShotEntity::update:, OOQuiriumCascadeEntity::update:, ShipEntity::update:, and VisualEffectRemove().
- (ShipEntity *) parentEntity |
Definition at line 589 of file Entity.m.
References nil, owner, and parentEntity.
Referenced by DockEntity::abortAllDockings, DockEntity::abortDockingForShip:, absolutePositionForSubentityOffset:, ShipEntity::ballTrackLeadingTarget:atTarget:, ShipEntity::becomeExplosion, DockEntity::clearDockingCorridor, ShipEntity::collideWithShip:, ShipEntity::dealloc, DockEntity::dockingCorridorIsEmpty, DockEntity::dockingInstructionsForShip:, ShipEntity::fireTurretCannon:, Universe::firstShipHitByLaserFromShip:inDirection:offset:gettingRangeFound:, DockEntity::launchShip:, ShipEntity::markAsOffender:withReason:, parentEntity, DockEntity::portUpVectorForShipsBoundingBox:, DockEntity(OOPrivate)::pullInShipIfPermitted:, rootShipEntity, ShipEntity::setBounty:withReason:, ShipEntity::setBounty:withReasonAsString:, DockEntity::setDimensionsAndCorridor:docking:ddc:, DockEntity::shipIsInDockingCorridor:, ShipEntity::subEntityTakingDamage, superShaderBindingTarget, and universalID.
- (HPVector) position |
References position.
|
implementation |
Provided by category Entity(ShaderBindings).
Definition at line 43 of file EntityShaderBindings.m.
|
implementation |
Provided by category Entity(ShaderBindings).
Definition at line 48 of file EntityShaderBindings.m.
|
implementation |
Definition at line 636 of file Entity.m.
References PLAYER, position, and relativePosition.
Referenced by PlayerEntity::lookingAtSunWithThresholdAngleCos:, ShipEntity::lookingAtSunWithThresholdAngleCos:, and relativePosition.
- (void) removeFromLinkedLists |
Definition at line 286 of file Entity.m.
References checkLinkedLists, DEBUG_LINKED_LISTS, gDebugFlags, kOOLogEntityRemoveFromList, kOOLogEntityRemoveFromListError, nil, OOLog, removeFromLinkedLists, UNIVERSE, x_next, x_previous, y_next, y_previous, z_next, and z_previous.
Referenced by Universe(OOPrivate)::doRemoveEntity:, isVisualEffect, and removeFromLinkedLists.
- (ShipEntity *) rootShipEntity |
Definition at line 603 of file Entity.m.
References isShip, nil, parentEntity, and rootShipEntity.
Referenced by OOPlasmaShotEntity::checkCloseCollisionWith:, ShipEntity::entityForShaderProperties, ShipEntity::fireTurretCannon:, OOLaserShotEntity::initLaserFromShip:direction:offset:, rootShipEntity, ShipEntity(ScriptMethods)::spawnShipsWithRole:count:, ShipEntity::takeEnergyDamage:from:becauseOf:weaponIdentifier:, universalID, and OOPlasmaShotEntity::update:.
- (OOMatrix) rotationMatrix |
Definition at line 873 of file Entity.m.
References rotationMatrix, and rotMatrix.
Referenced by maxEnergy, and rotationMatrix.
- (OOScanClass) scanClass |
Reimplemented in ShipEntity.
References scanClass.
- (NSUInteger) sessionID |
Reimplemented in PlayerEntity.
Definition at line 125 of file Entity.m.
References _sessionID, and sessionID.
Referenced by sessionID, and validForAddToUniverse.
- (void) setAtmosphereFogging: | (OOColor *) | fogging |
Definition at line 1075 of file Entity.m.
References atmosphereFogging.
Referenced by Universe::drawUniverse.
- (void) setCollisionRadius: | (GLfloat) | amount |
Definition at line 917 of file Entity.m.
References collision_radius.
Referenced by OOPlasmaBurstEntity::initWithPosition:, OOSparkEntity::initWithPosition:velocity:duration:size:color:, OOPlasmaShotEntity::initWithPosition:velocity:energy:duration:color:, and OOLaserShotEntity::setRange:.
- (void) setCollisionRegion: | (CollisionRegion*) | region |
Definition at line 539 of file Entity.m.
References collisionRegion.
Referenced by CollisionRegion::checkEntity:.
- (void) setDistanceTravelled: | (GLfloat) | value |
Definition at line 781 of file Entity.m.
References distanceTravelled.
Referenced by ShipEntity::fireMissileWithIdentifier:andTarget:.
- (void) setEnergy: | (GLfloat) | amount |
Definition at line 811 of file Entity.m.
References energy.
Referenced by Universe::addWreckageFrom:withRole:at:scale:lifetime:, ShipEntity::deserializeShipSubEntitiesFrom:, EntitySetProperty(), ShipEntity::fireSubentityLaserShot:, OOPlasmaShotEntity::initWithPosition:velocity:energy:duration:color:, ShipEntity::launchCascadeMine, Universe::setUpSpace, and ShipEntity(LoadRestore)::shipRestoredFromDictionary:useFallback:context:.
- (void) setMaxEnergy: | (GLfloat) | amount |
Definition at line 823 of file Entity.m.
References maxEnergy.
Referenced by EntitySetProperty().
- (void) setNormalOrientation: | (Quaternion) | quat |
Reimplemented in PlayerEntity.
Definition at line 744 of file Entity.m.
References setOrientation:.
Referenced by EntitySetProperty(), DockEntity::launchShip:, ShipEntity(LoadRestore)::shipRestoredFromDictionary:useFallback:context:, and WaypointSetProperty().
- (void) setOrientation: | (Quaternion) | quat |
Reimplemented in OOWaypointEntity, and PlanetEntity.
Definition at line 725 of file Entity.m.
References orientation, and orientationChanged.
Referenced by Universe::addShipAt:withRole:withinRadius:, Universe::addShips:withRole:atPosition:withCoordinateSystem:, Universe::addWreckageFrom:withRole:at:scale:lifetime:, ShipEntity::becomeExplosion, PlayerEntity::createDoppelganger, WormholeEntity::disgorgeShips, PlayerEntity::docked, ShipEntity::dumpItem:, PlayerEntity::enterDock:, ShipEntity::fireDirectLaserShotAt:, ShipEntity::fireMissileWithIdentifier:andTarget:, OOLaserShotEntity::initLaserFromShip:direction:offset:, OORingEffectEntity::initRingFromEntity:, ShipEntity::launchCascadeMine, PlanetEntity::launchShuttle, PlayerEntity::leaveWitchspace, PlayerEntity(LoadSave)::loadPlayerFromFile:asNew:, Universe::makeDemoShipWithRole:spinning:, PlayerEntity(Scripting)::processSceneString:atOffset:, ShipEntity::releaseCargoPodsDebris, setNormalOrientation:, PlayerEntity::setNormalOrientation:, OOWaypointEntity::setOrientation:, PlanetEntity::setOrientation:, Universe::setUpBreakPattern:orientation:forDocking:, Universe(OOPrivate)::setUpInitialUniverse, Universe::setupIntroFirstGo:, OOVisualEffectEntity(Private)::setUpOneStandardSubentity:, ShipEntity::setUpOneStandardSubentity:asTurret:, Universe::setUpSpace, Universe::setUpWitchspaceBetweenSystem:andSystem:, PlayerEntity::showShipModelWithKey:shipData:personality:factorX:factorY:factorZ:inContext:, Universe::spawnShip:, Universe::spawnShipWithRole:near:, OOLaserShotEntity::update:, ShipEntity::update:, and Universe::update:.
- (void) setOwner: | (Entity *) | ent |
Reimplemented in ShipEntity.
Definition at line 576 of file Entity.m.
References _owner, and OOWeakRefObject::weakRetain.
Referenced by dealloc, ShipEntity::fireTurretCannon:, PlanetEntity(OOPrivate)::initAsAtmosphereForPlanet:dictionary:, OOExhaustPlumeEntity::initForShip:withDefinition:andScale:, OOLaserShotEntity::initLaserFromShip:direction:offset:, OOQuiriumCascadeEntity::initQuiriumCascadeFromShip:, OORingEffectEntity::initRingFromEntity:, OOVisualEffectEntity(SubEntityRelationship)::isShipWithSubEntityShip:, ShipEntity(SubEntityRelationship)::isShipWithSubEntityShip:, ShipEntity::removeExhaust:, ShipEntity::removeFlasher:, ShipEntity::setOwner:, and ShipEntity::throwSparks.
- (void) setPosition: | (HPVector) | posn |
Reimplemented in OOSunEntity, and PlanetEntity.
Definition at line 647 of file Entity.m.
References position, and updateCameraRelativePosition.
Referenced by Universe::addLaserHitEffectsAt:against:damage:color:, Universe::addShipAt:withRole:withinRadius:, Universe::addShips:withRole:atPosition:withCoordinateSystem:, Universe::addShipWithRole:launchPos:rfactor:, Universe::addWreckageFrom:withRole:at:scale:lifetime:, ShipEntity::becomeExplosion, DockEntity::clearDockingCorridor, ShipEntity::collideWithShip:, PlayerEntity::createDoppelganger, WormholeEntity::disgorgeShips, PlayerEntity::docked, ShipEntity::dumpItem:, EntitySetProperty(), ShipEntity::fireDirectLaserShotAt:, ShipEntity::fireMissileWithIdentifier:andTarget:, OOExhaustPlumeEntity::initForShip:withDefinition:andScale:, OOECMBlastEntity::initFromShip:, OOLaserShotEntity::initLaserFromShip:direction:offset:, OOQuiriumCascadeEntity::initQuiriumCascadeFromShip:, OORingEffectEntity::initRingFromEntity:, OOPlasmaBurstEntity::initWithPosition:, OOFlashEffectEntity(Private)::initWithPosition:size:color:duration:, OOParticleSystem::initWithPosition:velocity:count:minSpeed:maxSpeed:duration:baseColor:, OOSparkEntity::initWithPosition:velocity:duration:size:color:, OOPlasmaShotEntity::initWithPosition:velocity:energy:duration:color:, ShipEntity::launchCascadeMine, DockEntity::launchShip:, PlanetEntity::launchShuttle, ShipEntity::leaveWitchspace, PlayerEntity::moveForward:, PlayerEntity(Scripting)::processSceneString:atOffset:, ShipEntity::releaseCargoPodsDebris, OOVisualEffectEntity::rescaleBy:, ShipEntity(Private)::rescaleBy:writeToCache:, WormholeEntity::setExitPosition:, OOSunEntity::setPosition:, OOVisualEffectEntity::setScaleX:, OOVisualEffectEntity::setScaleY:, OOVisualEffectEntity::setScaleZ:, Universe::setUpBreakPattern:orientation:forDocking:, Universe(OOPrivate)::setUpInitialUniverse, ShipEntity(Private)::setUpOneEscort:inGroup:withRole:atPosition:andCount:, OOVisualEffectEntity(Private)::setUpOneFlasher:, ShipEntity(Private)::setUpOneFlasher:, OOVisualEffectEntity(Private)::setUpOneStandardSubentity:, ShipEntity::setUpOneStandardSubentity:asTurret:, Universe::setUpSpace, Universe::setUpUniverseFromStation, DockEntity::shipIsInDockingCorridor:, ShipEntity(LoadRestore)::shipRestoredFromDictionary:useFallback:context:, Universe::spawnShip:, OOLaserShotEntity::update:, and Universe::update:.
- (void) setPositionX: | (OOHPScalar) | x | |
y: | (OOHPScalar) | y | |
z: | (OOHPScalar) | z |
Definition at line 654 of file Entity.m.
References position, updateCameraRelativePosition, x, and y.
Referenced by Universe::makeDemoShipWithRole:spinning:, Universe::setupIntroFirstGo:, PlayerEntity::showShipModelWithKey:shipData:personality:factorX:factorY:factorZ:inContext:, and Universe::update:.
- (void) setScanClass: | (OOScanClass) | sClass |
Definition at line 799 of file Entity.m.
References scanClass.
Referenced by ShipEntity::abandonShip, Universe::addShipAt:withRole:withinRadius:, Universe::addShips:withRole:atPosition:withCoordinateSystem:, Universe::addShipWithRole:launchPos:rfactor:, PlayerEntity(ScriptMethods)::awardCommodityType:amount:, ShipEntity::becomeExplosion, PlayerEntity::createCargoPodWithType:andAmount:, PlayerEntity::createDoppelganger, ShipEntity::dumpItem:, EntitySetProperty(), ShipEntity::fireDirectLaserShotAt:, ShipEntity::fireLaserShotInDirection:weaponIdentifier:, ShipEntity::fireMissileWithIdentifier:andTarget:, ShipEntity::fireSubentityLaserShot:, OOECMBlastEntity::initFromShip:, OORingEffectEntity::initRingFromEntity:, OOLightParticleEntity::initWithDiameter:, OOWaypointEntity::initWithDictionary:, OOBreakPatternEntity::initWithPolygonSides:startAngle:aspectRatio:, ShipEntity::launchCascadeMine, StationEntity::launchDefenseShip, StationEntity::launchEscort, StationEntity::launchIndependentShip:, PlayerEntity::launchMine:, StationEntity::launchMiner, StationEntity::launchPatrol, StationEntity::launchPirateShip, StationEntity::launchPolice, StationEntity::launchScavenger, StationEntity::launchShipWithRole:, PlanetEntity::launchShuttle, StationEntity::launchShuttle, PlayerEntity::loadCargoPodsForType:amount:, Universe::makeDemoShipWithRole:spinning:, Universe::newShipWithRole:, PlayerEntity(Scripting)::processSceneString:atOffset:, ShipEntity::releaseCargoPodsDebris, Universe(OOPrivate)::setUpCargoPods, Universe::setupIntroFirstGo:, ShipEntity(Private)::setUpOneEscort:inGroup:withRole:atPosition:andCount:, Universe::setUpSpace, Universe::setUpWitchspaceBetweenSystem:andSystem:, PlayerEntity::showShipModelWithKey:shipData:personality:factorX:factorY:factorZ:inContext:, Universe::update:, and Universe::witchspaceShipWithPrimaryRole:.
- (void) setStatus: | (OOEntityStatus) | stat |
Reimplemented in ShipEntity.
Definition at line 787 of file Entity.m.
References _status.
Referenced by DustEntity::init, init, WormholeEntity(Private)::init, PlanetEntity::initFromDictionary:withAtmosphere:andSeed:, OOECMBlastEntity::initFromShip:, OOLaserShotEntity::initLaserFromShip:direction:offset:, OOQuiriumCascadeEntity::initQuiriumCascadeFromShip:, OORingEffectEntity::initRingFromEntity:, SkyEntity::initWithColors:col1:andSystemInfo:, OOLightParticleEntity::initWithDiameter:, OOWaypointEntity::initWithDictionary:, OOBreakPatternEntity::initWithPolygonSides:startAngle:aspectRatio:, OOParticleSystem::initWithPosition:velocity:count:minSpeed:maxSpeed:duration:baseColor:, PlanetEntity::miniaturize, ShipEntity::scoopUpProcess:processEvents:processMessages:, ShipEntity::setStatus:, Universe::setUpSpace, and OOVisualEffectEntity::setUpVisualEffectFromDictionary:.
- (void) setThrowSparks: | (BOOL) | value |
Definition at line 564 of file Entity.m.
References throw_sparks.
Referenced by ShipEntity(PureAI)::ai_throwSparks, and Universe::setUpSpace.
- (void) setUniversalID: | (OOUniversalID) | uid |
Definition at line 546 of file Entity.m.
References universalID.
Referenced by Universe(OOPrivate)::doRemoveEntity:.
- (void) setVelocity: | (Vector) | vel |
Definition at line 757 of file Entity.m.
References velocity.
Referenced by Universe::addLaserHitEffectsAt:against:damage:color:, Universe::addWreckageFrom:withRole:at:scale:lifetime:, ShipEntity::becomeExplosion, PlayerEntity::createDoppelganger, WormholeEntity::disgorgeShips, ShipEntity::dumpItem:, ShipEntity::fireDirectLaserShotAt:, ShipEntity::fireLaserShotInDirection:weaponIdentifier:, ShipEntity::fireMissileWithIdentifier:andTarget:, OOFlashEffectEntity::initExplosionFlashWithPosition:velocity:size:, OOFlashEffectEntity::initLaserFlashWithPosition:velocity:color:, OORingEffectEntity::initRingFromEntity:, OOSparkEntity::initWithPosition:velocity:duration:size:color:, OOPlasmaShotEntity::initWithPosition:velocity:energy:duration:color:, ShipEntity::launchCascadeMine, PlayerEntity::launchEscapeCapsule, PlayerEntity::launchMine:, DockEntity::launchShip:, PlayerEntity(Scripting)::processSceneString:atOffset:, ShipEntity::releaseCargoPodsDebris, ShipEntity::setTotalVelocity:, Universe::setUpBreakPattern:orientation:forDocking:, Universe::setUpSpace, and Universe::update:.
- (GLfloat) spawnTime |
References allTextures, descriptionForObjDump, descriptionForObjDumpBasic, fogUniform, spawnTime, and timeElapsedSinceSpawn.
- (double) speed |
Definition at line 769 of file Entity.m.
References speed, and velocity.
Referenced by ShipEntity::behaviour_attack_break_off_target:, ShipEntity::behaviour_attack_fly_from_target:, ShipEntity::behaviour_attack_fly_to_target:, ShipEntity::behaviour_attack_slow_dogfight:, ShipEntity::behaviour_evasive_action:, ShipEntity::behaviour_fly_to_target_six:, ShipEntity::behaviour_intercept_target:, OOParticleSystem::initWithPosition:velocity:count:minSpeed:maxSpeed:duration:baseColor:, ShipEntity::missileTrackPrimaryTarget:, StationEntity::OOMakeDockingInstructions, WormholeEntity::setExitSpeed:, speed, OOExhaustPlumeEntity::update:, and velocity.
- (OOEntityStatus) status |
Definition at line 793 of file Entity.m.
References _status, and status.
Referenced by DockEntity::abortAllDockings, DockEntity::abortDockingForShip:, ShipEntity::acceptAsEscort:, PlayerEntity::addTarget:, ShipEntity::alertCondition, ShipEntity::becomeExplosion, StationEntity::becomeExplosion, ShipEntity::becomeLargeExplosion:, ShipEntity::behaviour_tractored:, PlayerEntity::canCollide, ShipEntity::canCollide, PlayerEntity::cargoQuantityForType:, PlayerEntity(Scripting)::checkScript, DockEntity::clearDockingCorridor, PlayerEntity::collectBountyFor:, descriptionComponents, PlayerEntity::dialFuelScoopStatus, WormholeEntity::disgorgeShips, distanceTravelled, PlayerEntity::doBookkeeping:, PlayerEntity::docked, PlayerEntity(ScriptMethods)::dockedAtMainStation, DockEntity::dockingCorridorIsEmpty, PlayerEntity::drawImmediate:translucent:, Universe::drawUniverse, dumpSelfState, PlayerEntity::engageAutopilotToStation:, PlayerEntity::enterDock:, PlayerEntity::enterWormhole:, ShipEntity::enterWormhole:replacing:, EntityGetProperty(), ShipEntity::getTractoredBy:, PlayerEntity::interpretAIMessage:, PlayerEntity::isDocked, isInSpace, PlayerEntity::isValidTarget:, ShipEntity::isValidTarget:, PlayerEntity::launchEscapeCapsule, StationEntity::legalStatusOfManifest:export:, StationEntity::noteDockedShip:, ShipEntity::noteKilledBy:damageType:, ShipEntity::onTarget:withWeapon:, PlayerEntity(OOControlsPrivate)::pollGuiScreenControlsWithFKeyAlias:, ShipEntity::realAlertCondition, PlayerEntity::receiveCommsMessage:from:, ShipEntity::removeEquipmentItem:, ShipEntity::scoopUpProcess:processEvents:processMessages:, PlayerEntity::setCargoQuantityForType:amount:, PlayerEntity::setFoundTarget:, PlayerEntity::setGuiToChartScreenFrom:, PlayerEntity(KeyMapper)::setGuiToConfirmClearScreen, PlayerEntity::setGuiToGameOptionsScreen, PlayerEntity::setGuiToIntroFirstGo:, PlayerEntity(KeyMapper)::setGuiToKeyboardLayoutScreen:resetCurrentRow:, PlayerEntity(KeyMapper)::setGuiToKeyConfigEntryScreen, PlayerEntity(KeyMapper)::setGuiToKeyConfigScreen:, PlayerEntity(KeyMapper)::setGuiToKeyMapperScreen:resetCurrentRow:, PlayerEntity::setGuiToLoadSaveScreen, PlayerEntity(Contracts)::setGuiToManifestScreen, PlayerEntity::setGuiToMarketInfoScreen, PlayerEntity::setGuiToMarketScreen, PlayerEntity::setGuiToStatusScreen, PlayerEntity(StickMapper)::setGuiToStickMapperScreen:resetCurrentRow:, PlayerEntity::setGuiToSystemDataScreenRefreshBackground:, ShipEntity::setProximityAlert:, ShipEntity::setStatus:, DockEntity::shipIsInDockingCorridor:, StationEntity::shipIsInDockingCorridor:, DockEntity::shipIsInDockingQueue:, status, WormholeEntity::suckInShip:, PlayerEntity::takeEnergyDamage:from:becauseOf:weaponIdentifier:, ShipEntity::takeEnergyDamage:from:becauseOf:weaponIdentifier:, PlayerEntity::takeHeatDamage:, ShipEntity::takeHeatDamage:, PlayerEntity::takeScrapeDamage:from:, ShipEntity::takeScrapeDamage:from:, DockEntity::update:, update:, OOECMBlastEntity::update:, PlayerEntity::update:, ShipEntity::update:, StationEntity::update:, PlayerEntity::validateCompassTarget, ShipEntity::validateDefenseTargets, ShipEntity::wasAddedToUniverse, and PlayerEntity::witchJumpChecklist:.
|
implementation |
Reimplemented in ShipEntity.
Definition at line 1050 of file Entity.m.
References OOLog.
|
implementation |
Definition at line 597 of file Entity.m.
References parentEntity, and superShaderBindingTarget.
Referenced by superShaderBindingTarget.
|
implementation |
Provided by category Entity(ShaderBindings).
Definition at line 60 of file EntityShaderBindings.m.
|
implementation |
Provided by category Entity(ShaderBindings).
Definition at line 55 of file EntityShaderBindings.m.
|
implementation |
Provided by category Entity(ShaderBindings).
Definition at line 70 of file EntityShaderBindings.m.
|
implementation |
Provided by category Entity(ShaderBindings).
Definition at line 75 of file EntityShaderBindings.m.
|
implementation |
Provided by category Entity(ShaderBindings).
Definition at line 65 of file EntityShaderBindings.m.
- (void) takeEnergyDamage: | (double) | amount | |
from: | (Entity *) | ent | |
becauseOf: | (Entity *) | other | |
weaponIdentifier: | (NSString *) | weaponIdentifier |
Reimplemented in DockEntity, PlayerEntity, ShipEntity, and StationEntity.
Definition at line 990 of file Entity.m.
Referenced by ShipEntity::dealEnergyDamage:atRange:withBias:, ShipEntity::dealEnergyDamageWithinDesiredRange, OOPlasmaShotEntity::update:, and OOQuiriumCascadeEntity::update:.
- (BOOL) throwingSparks |
Definition at line 558 of file Entity.m.
References throw_sparks, and throwingSparks.
Referenced by throwingSparks, and universalID.
- (void) throwSparks |
Reimplemented in ShipEntity.
Definition at line 570 of file Entity.m.
References throwSparks.
Referenced by throwSparks, and universalID.
- (GLfloat) timeElapsedSinceSpawn |
Definition at line 1069 of file Entity.m.
References spawnTime, and timeElapsedSinceSpawn.
Referenced by ShipEntity::dumpSelfState, spawnTime, timeElapsedSinceSpawn, OOFlashEffectEntity::update:, OOPlasmaBurstEntity::update:, and OOPlasmaShotEntity::update:.
- (OOMatrix) transformationMatrix |
Definition at line 885 of file Entity.m.
References position, rotMatrix, and transformationMatrix.
Referenced by maxEnergy, and transformationMatrix.
- (OOUniversalID) universalID |
References owner, parentEntity, rootShipEntity, throwingSparks, throwSparks, and universalID.
- (GLfloat) universalTime |
Definition at line 1057 of file Entity.m.
References universalTime.
Referenced by isImmuneToBreakPatternHide, and universalTime.
- (void) update: | (OOTimeDelta) | delta_t |
Reimplemented in DockEntity, DustEntity, OOBigFragmentBurstEntity, OOBreakPatternEntity, OOECMBlastEntity, OOExhaustPlumeEntity, OOExplosionCloudEntity, OOFlashEffectEntity, OOFlasherEntity, OOLaserShotEntity, OOParticleSystem, OOPlasmaBurstEntity, OOPlasmaShotEntity, OOQuiriumCascadeEntity, OORingEffectEntity, OOSmallFragmentBurstEntity, OOSparkEntity, OOSunEntity, OOVisualEffectEntity, PlanetEntity, PlayerEntity, ShipEntity, SkyEntity, StationEntity, and WormholeEntity.
Definition at line 929 of file Entity.m.
References _status, applyVelocity:, cam_zero_distance, cameraRelativePosition, camZeroDistance, hasMoved, hasRotated, isSubEntity, lastOrientation, lastPosition, orientation, owner, PLAYER, position, status, updateCameraRelativePosition, zero_distance, and zeroDistance.
Referenced by OOBreakPatternEntity::update:, OOFlashEffectEntity::update:, OOFlasherEntity::update:, OOLaserShotEntity::update:, OOParticleSystem::update:, OOPlasmaBurstEntity::update:, OOPlasmaShotEntity::update:, OOQuiriumCascadeEntity::update:, OORingEffectEntity::update:, OOSparkEntity::update:, OOSunEntity::update:, OOVisualEffectEntity::update:, PlanetEntity::update:, ShipEntity::update:, Universe::update:, and WormholeEntity::update:.
- (void) updateCameraRelativePosition |
Reimplemented in DustEntity, and OOSunEntity.
Definition at line 663 of file Entity.m.
References absolutePositionForSubentity, cameraRelativePosition, PLAYER, and updateCameraRelativePosition.
Referenced by cameraRelativePosition, Universe::drawUniverse, setPosition:, setPositionX:y:z:, update:, and updateCameraRelativePosition.
- (void) updateLinkedLists |
Definition at line 413 of file Entity.m.
References checkLinkedLists, collision_radius, DEBUG_LINKED_LISTS, gDebugFlags, kOOLogEntityUpdateError, kOOLogEntityVerificationError, nil, OOLog, position, UNIVERSE, updateLinkedLists, x_next, x_previous, y_next, y_previous, z_next, and z_previous.
Referenced by isVisualEffect, Universe::update:, and updateLinkedLists.
- (BOOL) validForAddToUniverse |
Reimplemented in PlayerEntity, and ShipEntity.
Definition at line 214 of file Entity.m.
References EXPECT_NOT, OOLogERR, sessionID, and validForAddToUniverse.
Referenced by isVisualEffect, validForAddToUniverse, and ShipEntity::validForAddToUniverse.
- (Vector) vectorTo: | (Entity *) | entity |
Definition at line 641 of file Entity.m.
References position.
Referenced by ShipEntity::dealEnergyDamage:atRange:withBias:, ShipEntity::dealEnergyDamageWithinDesiredRange, ShipEntity::dealMomentumWithinDesiredRange:, ShipEntity::missileTrackPrimaryTarget:, and ShipEntity::trackOntoTarget:withDForward:.
- (Vector) velocity |
Reimplemented in ShipEntity.
References speed, and velocity.
- (void) warnAboutHostiles |
Reimplemented in PlayerEntity.
Definition at line 526 of file Entity.m.
References OOLog, and warnAboutHostiles.
Referenced by isVisualEffect, and warnAboutHostiles.
- (void) wasAddedToUniverse |
Reimplemented in ShipEntity.
Definition at line 514 of file Entity.m.
References wasAddedToUniverse.
Referenced by isVisualEffect, wasAddedToUniverse, and ShipEntity::wasAddedToUniverse.
- (void) wasRemovedFromUniverse |
Reimplemented in ShipEntity.
Definition at line 520 of file Entity.m.
References wasRemovedFromUniverse.
Referenced by Universe(OOPrivate)::doRemoveEntity:, isVisualEffect, and wasRemovedFromUniverse.
- (double) zeroDistance |
Definition at line 692 of file Entity.m.
References zero_distance, and zeroDistance.
Referenced by cameraRelativePosition, update:, and zeroDistance.
|
private |
|
private |
|
private |
Definition at line 158 of file Entity.h.
Referenced by setStatus:, status, and update:.
- (OOColor*) atmosphereFogging |
Definition at line 115 of file Entity.h.
Referenced by init, and setAtmosphereFogging:.
|
protected |
Definition at line 713 of file Entity.m.
Referenced by ShipEntity::becomeExplosion, boundingBox, PlayerEntity::doBookkeeping:, ShipEntity::drawImmediate:translucent:, ShipEntity::drawSubEntityImmediate:translucent:, ShipEntity::dumpItem:, ShipEntity::fireMissileWithIdentifier:andTarget:, Universe::firstShipHitByLaserFromShip:inDirection:offset:gettingRangeFound:, OOLaserShotEntity::initLaserFromShip:direction:offset:, PlayerEntity::launchEscapeCapsule, DockEntity::launchShip:, ShipEntity::missileLaunchPosition, ShipEntity::positionOffsetForAlignment:, ShipEntity::releaseCargoPodsDebris, PlayerEntity::setDefaultViewOffsets, DockEntity::setDimensionsAndCorridor:docking:ddc:, OOEntityWithDrawable::setDrawable:, ShipEntity::setUpSubEntities, ShipGetProperty(), DockEntity::shipIsInDockingCorridor:, ShipEntity::throwSparks, and ShipEntity::update:.
- (GLfloat) cam_zero_distance |
Definition at line 109 of file Entity.h.
Referenced by camZeroDistance, OOEntityWithDrawable::drawImmediate:translucent:, OOLightParticleEntity::drawImmediate:translucent:, OOParticleSystem::drawImmediate:translucent:, OOQuiriumCascadeEntity::drawImmediate:translucent:, OOVisualEffectEntity::drawImmediate:translucent:, OOWaypointEntity::drawImmediate:translucent:, PlanetEntity::drawImmediate:translucent:, ShipEntity::drawImmediate:translucent:, WormholeEntity::drawImmediate:translucent:, OOSunEntity::drawStarGlare, OOLightParticleEntity::drawSubEntityImmediate:translucent:, ShipEntity::drawSubEntityImmediate:translucent:, PlanetEntity::drawUnconditionally, isVisible, ShipEntity::isVisible, update:, PlanetEntity::update:, and SkyEntity::update:.
- (Vector) cameraRelativePosition |
Definition at line 617 of file Entity.m.
Referenced by cameraRangeBack, cameraRangeFront, cameraRelativePosition, OOEntityWithDrawable::drawImmediate:translucent:, PlanetEntity::drawImmediate:translucent:, PlanetEntity::drawUnconditionally, Universe::drawUniverse, DustEntity::update:, update:, DustEntity::updateCameraRelativePosition, updateCameraRelativePosition, and OOSunEntity::updateCameraRelativePosition.
- (Entity*) collider |
Definition at line 128 of file Entity.h.
Referenced by ShipEntity::checkCloseCollisionWith:, and CollisionRegion::findCollisions.
|
protected |
Definition at line 148 of file Entity.h.
Referenced by ShipEntity::checkCloseCollisionWith:, collisionArray, dealloc, init, ShipEntity::manageCollisions, OOPlasmaShotEntity::update:, and OOQuiriumCascadeEntity::update:.
- (Entity*) collision_chain |
Definition at line 124 of file Entity.h.
Referenced by Universe::filterSortedLists, and CollisionRegion::findCollisions.
- (GLfloat) collision_radius |
Definition at line 111 of file Entity.h.
Referenced by Universe::addShips:withRole:atPosition:withCoordinateSystem:, addToLinkedLists, ShipEntity::avoidCollision, ShipEntity::becomeExplosion, ShipEntity::behaviour_attack_slow_dogfight:, ShipEntity::behaviour_avoid_collision:, ShipEntity::behaviour_intercept_target:, ShipEntity::behaviour_tractored:, ShipEntity::checkCloseCollisionWith:, PlayerEntity(OOPrivate)::checkEntityForMassLock:withScanClass:, OOVisualEffectEntity::clearSubEntities, ShipEntity::clearSubEntities, collisionRadius, OOVisualEffectEntity::collisionRadius, Universe::countEntitiesMatchingPredicate:parameter:inRange:ofEntity:, PlayerEntity::customViewZoomIn:, PlayerEntity::customViewZoomOut:, PlayerEntity::dialAltitude, PlayerEntity::doBookkeeping:, DockEntity::dockingInstructionsForShip:, OOEntityWithDrawable::drawImmediate:translucent:, OOParticleSystem::drawImmediate:translucent:, OOQuiriumCascadeEntity::drawImmediate:translucent:, WormholeEntity::drawImmediate:translucent:, HeadUpDisplay(Private)::drawScanner:, OOSunEntity::drawStarGlare, PlanetEntity::drawUnconditionally, ShipEntity::dumpItem:, CollisionRegion::entityByEntityOcclusionToValue, Universe::EntityInRange, Universe::filterSortedLists, OOExhaustPlumeEntity::findCollisionRadius, CollisionRegion::findCollisions, ShipEntity::fireMissileWithIdentifier:andTarget:, ShipEntity::fireTurretCannon:, Universe::firstShipHitByLaserFromShip:inDirection:offset:gettingRangeFound:, frustumRadius, Universe::getSafeVectorFromEntity:toDistance:fromPoint:, Universe::getSunSkimEndPositionForShip:, Universe::getSunSkimStartPositionForShip:, Universe::hazardOnRouteFromEntity:toDistance:fromPoint:, HeadUpDisplay::hudDrawReticleOnTarget, DustEntity::init, PlanetEntity(OOPrivate)::initAsAtmosphereForPlanet:dictionary:, PlanetEntity::initFromDictionary:withAtmosphere:andSeed:, OOSunEntity::initSunWithColor:andDictionary:, WormholeEntity::initWormholeTo:fromShip:, Universe::isVectorClearFromEntity:toDistance:fromPoint:, ShipEntity::launchCascadeMine, PlanetEntity::launchShuttle, ShipEntity::legalStatus, PlanetEntity::miniaturize, ShipEntity::onTarget:withWeapon:, OOSunEntity::radius, PlanetEntity::radius, ShipEntity::rangeToSecondaryTarget:, OOVisualEffectEntity::rescaleBy:, setCollisionRadius:, ShipEntity(PureAI)::setDestinationWithinTarget, OOEntityWithDrawable::setDrawable:, ShipEntity::setProximityAlert:, ShipEntity(PureAI)::setRacepointsFromTarget, PlanetEntity::setRadius:, OOSunEntity::setRadius:andCorona:, ShipEntity(Private)::setUpOneEscort:inGroup:withRole:atPosition:andCount:, OOVisualEffectEntity::setUpSubEntities, ShipEntity::setUpSubEntities, OOVisualEffectEntity::setUpVisualEffectFromDictionary:, CollisionRegion::shadowAtPointOcclusionToValue, Universe::spawnShipWithRole:near:, WormholeEntity::suckInShip:, ShipEntity::trackOntoTarget:withDForward:, ShipEntity::trackPrimaryTarget:delta_t:, OOExhaustPlumeEntity::update:, OOParticleSystem::update:, OOQuiriumCascadeEntity::update:, OOSunEntity::update:, PlanetEntity::update:, ShipEntity::update:, WormholeEntity::update:, and updateLinkedLists.
- (CollisionRegion *) collisionRegion |
Definition at line 533 of file Entity.m.
Referenced by collisionRegion, dealloc, and setCollisionRegion:.
- (unsigned) collisionTestFilter |
Definition at line 100 of file Entity.h.
Referenced by dumpSelfState, Universe::filterSortedLists, and CollisionRegion::findCollisions.
|
protected |
Definition at line 775 of file Entity.m.
Referenced by distanceTravelled, dumpSelfState, moveForward:, PlayerEntity::moveForward:, setDistanceTravelled:, and ShipEntity::update:.
|
protected |
Definition at line 817 of file Entity.m.
Referenced by ShipEntity::activateCloakingDevice, ShipEntity::alertCondition, ShipEntity::behaviour_track_as_turret:, ShipEntity::collideWithShip:, ShipEntity::considerFiringMissile:, ShipEntity::damage, PlayerEntity::dialEnergy, PlayerEntity::doBookkeeping:, PlayerEntity::docked, dumpSelfState, energy, ShipEntity::fireDirectLaserDefensiveShot, PlayerEntity::fireMainWeapon, ShipEntity::fireSubentityLaserShot:, ShipEntity::fireWeapon:direction:range:, PlayerEntity::getDestroyedBy:damageType:, PlanetEntity::initFromDictionary:withAtmosphere:andSeed:, Entity(OOEntityInspectorExtensions)::inspEnergyLine, PlayerEntity::launchEscapeCapsule, ShipEntity::removeEquipmentItem:, ShipEntity(PureAI)::requestNewTarget, setEnergy:, PlayerEntity::setUpAndConfirmOK:saveGame:, PlayerEntity::setUpShipFromDictionary:, ShipEntity::setUpShipFromDictionary:, PlayerEntity::takeEnergyDamage:from:becauseOf:weaponIdentifier:, ShipEntity::takeEnergyDamage:from:becauseOf:weaponIdentifier:, StationEntity::takeEnergyDamage:from:becauseOf:weaponIdentifier:, ShipEntity::takeHeatDamage:, ShipEntity::takeScrapeDamage:from:, OOPlasmaShotEntity::update:, OOQuiriumCascadeEntity::update:, and ShipEntity::update:.
- (unsigned) hasCollided |
Definition at line 98 of file Entity.h.
Referenced by CollisionRegion::findCollisions.
- (unsigned) hasMoved |
Definition at line 96 of file Entity.h.
Referenced by dumpSelfState, CollisionRegion::findShadowedEntities, and update:.
- (unsigned) hasRotated |
Definition at line 97 of file Entity.h.
Referenced by applyRoll:andClimb:, PlayerEntity::applyRoll:andClimb:, ShipEntity::applyRoll:andClimb:, applyRoll:climb:andYaw:, ShipEntity::applyRoll:climb:andYaw:, dumpSelfState, and update:.
- (unsigned) isExplicitlyNotMainStation |
Definition at line 103 of file Entity.h.
Referenced by Universe::addEntity:, Universe::IsCandidateMainStationPredicate, and Universe::unMagicMainStation.
- (BOOL) isImmuneToBreakPatternHide |
Definition at line 1139 of file Entity.m.
Referenced by OOBreakPatternEntity::drawImmediate:translucent:, OOEntityWithDrawable::drawImmediate:translucent:, OOLightParticleEntity::drawImmediate:translucent:, Universe::drawUniverse, OOBreakPatternEntity::initWithPolygonSides:startAngle:aspectRatio:, OOVisualEffectEntity::isBreakPattern, isImmuneToBreakPatternHide, OOVisualEffectEntity::setIsBreakPattern:, Universe::setUpBreakPattern:orientation:forDocking:, and OOVisualEffectEntity::setUpVisualEffectFromDictionary:.
- (BOOL) isPlayer |
Definition at line 155 of file Entity.m.
Referenced by ShipEntity::abandonShip, DockEntity::abortDockingForShip:, StationEntity::abortDockingForShip:, StationEntity::acceptDockingClearanceRequestFrom:, ShipEntity::addEquipmentItem:withValidation:inContext:, PlayerEntity::addRoleForAggression:, DockEntity::allowsLaunchingOf:, ShipEntity::becomeExplosion, ShipEntity::becomeLargeExplosion:, ShipEntity::behaviour_tractored:, ShipEntity(AI)::broadcastDistressMessageWithDumping:, ShipEntity::broadcastMessage:withUnpilotedOverride:, ShipEntity::canScoop:, ShipEntity::checkShipsInVicinityForWitchJumpExit, PlayerEntity::deferredInit, ShipEntity::descriptionForObjDump, DockEntity::dockingCorridorIsEmpty, StationEntity::dockingInstructionsForShip:, OOExhaustPlumeEntity::drawSubEntityImmediate:translucent:, ShipEntity::dumpItem:, dumpSelfState, ShipEntity::equipmentValidToAdd:whileLoading:inContext:, ShipEntity::fireLaserShotInDirection:weaponIdentifier:, ShipEntity::fireMissileWithIdentifier:andTarget:, ShipEntity::fireSubentityLaserShot:, ShipEntity::fireTurretCannon:, WormholeEntity::initWormholeTo:fromShip:, isPlayer, PlayerEntity::lookingAtSunWithThresholdAngleCos:, ShipEntity::manageCollisions, StationEntity::noteDockedShip:, ShipEntity::realAlertCondition, ShipEntity::releaseCargoPodsDebris, Universe::removeAllEntitiesExceptPlayer, ShipEntity::removeEquipmentItem:, ShipEntity::rollToMatchUp:rotating:, ShipEntity(PureAI)::scanForFormationLeader, ShipEntity(PureAI)::scanForNearestMerchantman, ShipEntity::scoopUpProcess:processEvents:processMessages:, ShipEntity::sendMessage:toShip:withUnpilotedOverride:, DockEntity::shipIsInDockingCorridor:, StationEntity::shipIsInDockingCorridor:, DockEntity::shipIsInDockingQueue:, ShipEntity::trackDestination:delta_t:, OOExhaustPlumeEntity::update:, and OOLaserShotEntity::update:.
- (BOOL) isShip |
Definition at line 131 of file Entity.m.
Referenced by DockEntity::abortAllDockings, ShipEntity::addDefenseTarget:, PlayerEntity::addTarget:, DockEntity::allowsLaunchingOf:, ShipEntity::approachAspectToPrimaryTarget, ShipEntity::behaviour_attack_break_off_target:, ShipEntity::behaviour_attack_fly_to_target:, ShipEntity::behaviour_attack_sniper:, ShipEntity::behaviour_attack_target:, ShipEntity::behaviour_flee_target:, ShipEntity::behaviour_fly_to_target_six:, ShipEntity::behaviour_formation_form_up:, ShipEntity::behaviour_tractored:, ShipEntity::broadcastEnergyBlastImminent, PlanetEntity::checkCloseCollisionWith:, ShipEntity::checkCloseCollisionWith:, PlayerEntity(OOPrivate)::checkEntityForMassLock:withScanClass:, ShipEntity::checkScanner, ShipEntity::checkScannerIgnoringUnpowered, ShipEntity::checkShipsInVicinityForWitchJumpExit, DockEntity::clearDockingCorridor, ShipEntity::dealMomentumWithinDesiredRange:, PlayerEntity::doBookkeeping:, DockEntity::dockingCorridorIsEmpty, ShipEntity::doOctreesCollide, OOEntityWithDrawable::drawImmediate:translucent:, dumpSelfState, CollisionRegion::findCollisions, ShipEntity::fireLaserShotInDirection:weaponIdentifier:, ShipEntity::fireMissileWithIdentifier:andTarget:, StationEntity::fitsInDock:andLogNoFit:, PlayerEntity::hasHostileTarget, ShipEntity::hasHostileTarget, OOLaserShotEntity::initLaserFromShip:direction:offset:, ShipEntity::initWithKey:definition:, ShipEntity::interpretAIMessage:, isShip, IsShipPredicate(), PlayerEntity::isValidTarget:, ShipEntity::isValidTarget:, DockEntity::launchShip:, PlayerEntity::lookingAtSunWithThresholdAngleCos:, PlayerEntity::loseTargetStatus, ShipEntity::manageCollisions, ShipEntity::missileTrackPrimaryTarget:, PlayerEntity::moveTargetMemoryBy:, ShipEntity::noteKilledBy:damageType:, ShipEntity::noteLostTarget, ShipEntity::noteTakingDamage:from:type:, ShipEntity::realAlertCondition, HeadUpDisplay::refreshLastTransmitter, ShipEntity::respondToAttackFrom:becauseOf:, rootShipEntity, ShipEntity::setSubEntityTakingDamage:, ShipEntity(PureAI)::setTargetToPrimaryAggressor, DockEntity::setUpShipFromDictionary:, ShipEntity::setUpShipFromDictionary:, StationEntity::setUpShipFromDictionary:, DockEntity::shipIsInDockingCorridor:, StationEntity::shipIsInDockingCorridor:, DockEntity::shipIsInDockingQueue:, PlayerEntity::takeEnergyDamage:from:becauseOf:weaponIdentifier:, ShipEntity::takeEnergyDamage:from:becauseOf:weaponIdentifier:, StationEntity::takeEnergyDamage:from:becauseOf:weaponIdentifier:, ShipEntity::takeScrapeDamage:from:, ShipEntity::trackPrimaryTarget:delta_t:, ShipEntity::update:, PlayerEntity(OOPrivate)::updateAlertConditionForNearbyEntities, and ShipEntity::updateTrackingCurve.
- (BOOL) isStation |
Definition at line 143 of file Entity.m.
Referenced by ShipEntity::behaviour_fly_to_destination:, ShipEntity::behaviour_idle:, ShipEntity(AI)::broadcastDistressMessageWithDumping:, PlayerEntity::cancelDockingRequest:, ShipEntity::canScoop:, ShipEntity::cascadeIfAppropriateWithDamageAmount:cascadeOwner:, ShipEntity(PureAI)::checkForMotherStation, PlayerEntity::doBookkeeping:, ShipEntity::dockEscorts, dumpSelfState, CollisionRegion::findCollisions, StationEntity::initWithKey:definition:, Universe::IsCandidateMainStationPredicate, Universe::IsFriendlyStationPredicate, isStation, IsStationPredicate(), PlayerEntity::localMarket, PlayerEntity::marketScreenTitle, PlayerEntity::performDockingRequest:, Universe::removeAllEntitiesExceptPlayer, PlayerEntity::setDockingClearanceStatus:, PlayerEntity::setDockTarget:, PlayerEntity::setGuiToMarketScreen, ShipEntity::setProximityAlert:, ShipEntity::setTargetToNearestStationIncludingHostiles:, ShipEntity::setTargetToSystemStation, ShipEntity::setUpOneStandardSubentity:asTurret:, DockEntity::setUpShipFromDictionary:, StationEntity::setUpShipFromDictionary:, StationEntity::setUpSubEntities, Universe::setUpUniverseFromStation, WormholeEntity::suckInShip:, and ShipEntity::trackDestination:delta_t:.
- (BOOL) isSubEntity |
Definition at line 149 of file Entity.m.
Referenced by ShipEntity::abandonShip, ShipEntity::absoluteIJKForSubentity, absolutePositionForSubentityOffset:, OOVisualEffectEntity(Private)::addSubEntity:, ShipEntity(Private)::addSubEntity:, ShipEntity::addTarget:, ShipEntity::adjustMissedShots:, ShipEntity::ballTrackLeadingTarget:atTarget:, PlayerEntity::collectBountyFor:, ShipEntity::descriptionComponents, OOEntityWithDrawable::drawImmediate:translucent:, OOLightParticleEntity::drawImmediate:translucent:, ShipEntity::drawImmediate:translucent:, OOLightParticleEntity::drawSubEntityImmediate:translucent:, dumpSelfState, ShipEntity::fireTurretCannon:, ShipEntity(OOEntityInspectorExtensions)::inspCanBecomeTarget, IsShipPredicate(), isSubEntity, IsVisualEffectPredicate(), ShipEntity::markAsOffender:withReason:, ShipEntity::missedShots, ShipEntity::processBehaviour:, ShipEntity::setBounty:withReason:, ShipEntity::setBounty:withReasonAsString:, ShipEntity::setHulk:, ShipEntity::setOwner:, PlayerEntity::takeEnergyDamage:from:becauseOf:weaponIdentifier:, ShipEntity::takeHeatDamage:, update:, and ShipEntity::update:.
- (BOOL) isSunlit |
Definition at line 173 of file Entity.m.
Referenced by ShipEntity::currentAimTolerance, DustEntity::drawImmediate:translucent:, dumpSelfState, CollisionRegion::findShadowedEntities, init, isSunlit, PlayerEntity::lookingAtSunWithThresholdAngleCos:, and ShipEntity::onTarget:withWeapon:.
- (BOOL) isVisualEffect |
Definition at line 202 of file Entity.m.
Referenced by OOEntityWithDrawable::drawImmediate:translucent:, isVisualEffect, and IsVisualEffectPredicate().
- (BOOL) isWormhole |
Definition at line 190 of file Entity.m.
Referenced by PlayerEntity::addTarget:, HeadUpDisplay(Private)::drawDirectionCue:, dumpSelfState, PlayerEntity::isValidTarget:, ShipEntity::isValidTarget:, isWormhole, and ShipEntity::manageCollisions.
|
protected |
Definition at line 134 of file Entity.h.
Referenced by PlayerEntity::applyRoll:andClimb:, and update:.
|
protected |
Definition at line 719 of file Entity.m.
Referenced by ShipEntity::addImpactMoment:fraction:, Universe::addWreckageFrom:withRole:at:scale:lifetime:, PlayerEntity::baseMass, ShipEntity::becomeExplosion, ShipEntity::behaviour_tractored:, ShipEntity::checkShipsInVicinityForWitchJumpExit, ShipEntity::clearSubEntities, ShipEntity::collideWithShip:, ShipEntity::descriptionForObjDump, DockEntity::dockingCorridorIsEmpty, ShipEntity::dumpItem:, dumpSelfState, WormholeEntity::dumpSelfState, ShipEntity::fuelChargeRate, WormholeEntity::initWormholeTo:fromShip:, mass, ShipEntity::setProximityAlert:, ShipEntity(Private)::subEntityDied:, WormholeEntity::suckInShip:, PlayerEntity::takeInternalDamage, and ShipEntity::takeScrapeDamage:from:.
|
protected |
Definition at line 829 of file Entity.m.
Referenced by ShipEntity::activateCloakingDevice, ShipEntity::addEquipmentItem:withValidation:inContext:, ShipEntity::alertCondition, ShipEntity::considerFiringMissile:, ShipEntity::damage, PlayerEntity::dialEnergy, PlayerEntity::dialMaxEnergy, PlayerEntity::doBookkeeping:, PlayerEntity::docked, dumpSelfState, Entity(OOEntityInspectorExtensions)::inspEnergyLine, maxEnergy, OOShipLibraryShields(), ShipEntity::removeEquipmentItem:, setMaxEnergy:, PlayerEntity::setUpShipFromDictionary:, ShipEntity::setUpShipFromDictionary:, ShipEntity(LoadRestore)::shipRestoredFromDictionary:useFallback:context:, ShipEntity::takeEnergyDamage:from:becauseOf:weaponIdentifier:, ShipEntity::takeHeatDamage:, ShipEntity::takeScrapeDamage:from:, and ShipEntity::update:.
- (GLfloat) no_draw_distance |
Definition at line 110 of file Entity.h.
Referenced by OOEntityWithDrawable::drawImmediate:translucent:, OOLightParticleEntity::drawImmediate:translucent:, OOVisualEffectEntity::drawImmediate:translucent:, OOWaypointEntity::drawImmediate:translucent:, ShipEntity::drawImmediate:translucent:, WormholeEntity::drawImmediate:translucent:, OOLightParticleEntity::drawSubEntityImmediate:translucent:, ShipEntity::drawSubEntityImmediate:translucent:, init, OOLightParticleEntity::initWithDiameter:, ShipEntity::isVisible, OOEntityWithDrawable::setDrawable:, OOVisualEffectEntity::setNoDrawDistance, OOWaypointEntity::setSize:, ShipEntity::setUpSubEntities, and WormholeEntity::update:.
- (Quaternion) orientation |
Definition at line 732 of file Entity.m.
Referenced by applyRoll:andClimb:, PlayerEntity::applyRoll:andClimb:, ShipEntity::applyRoll:andClimb:, applyRoll:climb:andYaw:, ShipEntity::applyRoll:climb:andYaw:, PlayerEntity::applyYaw:, ShipEntity::ballTrackLeadingTarget:atTarget:, StationEntity::beaconPosition, PlayerEntity::breakPatternPosition, DockEntity::clearDockingCorridor, OOLaserShotEntity::descriptionComponents, DockEntity::dockingCorridorIsEmpty, DockEntity::dockingInstructionsForShip:, dumpSelfState, ShipEntity::fireDirectLaserShotAt:, ShipEntity::fireLaserShotInDirection:weaponIdentifier:, ShipEntity::fireSubentityLaserShot:, ShipEntity::fireTurretCannon:, Universe::firstShipHitByLaserFromShip:inDirection:offset:gettingRangeFound:, HeadUpDisplay::hudRotateViewpointForVirtualDepth, init, PlanetEntity(OOPrivate)::initAsAtmosphereForPlanet:dictionary:, PlanetEntity::initFromDictionary:withAtmosphere:andSeed:, OORingEffectEntity::initRingFromEntity:, Entity(OOEntityInspectorExtensions)::inspOrientationLine, DockEntity::isOffCentre, JSObjectGetQuaternion(), DockEntity::launchShip:, PlayerEntity::lookingAtSunWithThresholdAngleCos:, moveForward:, normalOrientation, PlayerEntity::normalOrientation, orientation, orientationChanged, OOVisualEffectEntity::orientationChanged, PlayerEntity::orientationChanged, ShipEntity::orientationChanged, DockEntity::portUpVectorForShipsBoundingBox:, ShipEntity::setDemoShip:, DockEntity::setDimensionsAndCorridor:docking:ddc:, setOrientation:, ShipEntity::setUpShipFromDictionary:, OOVisualEffectEntity::setUpVisualEffectFromDictionary:, DockEntity::shipIsInDockingCorridor:, PlayerEntity::showShipModelWithKey:shipData:personality:factorX:factorY:factorZ:inContext:, ShipEntity::trackOntoTarget:withDForward:, ShipEntity::trackPrimaryTarget:delta_t:, update:, PlanetEntity::update:, WaypointGetProperty(), and ShipEntity::witchspaceLeavingEffects.
- (HPVector) position |
Definition at line 612 of file Entity.m.
Referenced by DockEntity::abortAllDockings, DockEntity::abortDockingForShip:, absolutePositionForSubentityOffset:, ShipEntity::absoluteTractorPosition, Universe::addShipsToRoute:withRole:quantity:routeFraction:asGroup:, DockEntity(OOPrivate)::addShipToShipsOnApproach:, addToLinkedLists, applyVelocity:, ShipEntity::approachAspectToPrimaryTarget, ShipEntity::AuthorityPredicate, ShipEntity::avoidCollision, ShipEntity::ballTrackLeadingTarget:atTarget:, StationEntity::beaconPosition, ShipEntity::becomeExplosion, ShipEntity::behaviour_avoid_collision:, ShipEntity::behaviour_fly_thru_navpoints:, ShipEntity::behaviour_intercept_target:, ShipEntity::behaviour_land_on_planet:, ShipEntity::behaviour_track_as_turret:, ShipEntity::behaviour_tractored:, PlayerEntity::breakPatternPosition, ShipEntity::broadcastMessage:withUnpilotedOverride:, ShipEntity::calculateTargetPosition, ShipEntity::canScoop:, ShipEntity::canStillTrackPrimaryTarget, PlanetEntity::checkCloseCollisionWith:, ShipEntity::checkCloseCollisionWith:, CollisionRegion::checkEntity:, ShipEntity::checkForAegis, ShipEntity(PureAI)::checkForMotherStation, ShipEntity::checkScanner, ShipEntity::checkScannerIgnoringUnpowered, ShipEntity::checkShipsInVicinityForWitchJumpExit, DockEntity::clearDockingCorridor, ShipEntity::collideWithShip:, PlayerEntity::commanderDataDictionary, ShipEntity::ComparePlanetsBySurfaceDistance, Universe::coordinatesForPosition:withCoordinateSystem:returningScalar:, Universe::countEntitiesMatchingPredicate:parameter:inRange:ofEntity:, PlayerEntity::createDoppelganger, ShipEntity::currentAimTolerance, descriptionComponents, OOSunEntity::descriptionComponents, PlanetEntity::descriptionComponents, ShipEntity::descriptionComponents, descriptionForObjDump, WormholeEntity::disgorgeShips, ShipEntity::distance_six:, ShipEntity::distance_twelve:withOffset:, PlayerEntity::doBookkeeping:, PlayerEntity::docked, DockEntity::dockingCorridorIsEmpty, DockEntity::dockingInstructionsForShip:, StationEntity::dockingInstructionsForShip:, ShipEntity::doesHitLine:v0:, PlayerEntity::doesHitLine:v0:v1:, ShipEntity::doesHitLine:v0:v1:, OOSunEntity::drawDirectVisionSunGlare, OOParticleSystem::drawImmediate:translucent:, OOLightParticleEntity::drawSubEntityImmediate:translucent:, ShipEntity::drawSubEntityImmediate:translucent:, drawTransformationMatrix, PlayerEntity::drawTransformationMatrix, Universe::drawUniverse, dumpSelfState, StationEntity::dumpSelfState, ShipEntity(AI)::enterTargetWormhole, CollisionRegion::entityByEntityOcclusionToValue, Universe::EntityInRange, OOFlashEffectEntity::explosionFlashFromEntity:, Universe::filterSortedLists, ShipEntity::findBoundingBoxRelativeTo:InVectors:_i:_j:, CollisionRegion::findCollisions, Universe::findEntitiesMatchingPredicate:parameter:inRange:ofEntity:, ShipEntity::findNearestPlanet, ShipEntity::fireDirectLaserShotAt:, ShipEntity::fireLaserShotInDirection:weaponIdentifier:, ShipEntity::fireMissileWithIdentifier:andTarget:, ShipEntity::fireSubentityLaserShot:, ShipEntity::fireTurretCannon:, Universe::firstShipHitByLaserFromShip:inDirection:offset:gettingRangeFound:, OOBigFragmentBurstEntity::fragmentBurstFromEntity:, OOSmallFragmentBurstEntity::fragmentBurstFromEntity:, Universe::getSafeVectorFromEntity:toDistance:fromPoint:, Universe::getStationMarkets, Universe::getSunSkimEndPositionForShip:, Universe::getSunSkimStartPositionForShip:, Universe::hazardOnRouteFromEntity:toDistance:fromPoint:, init, PlanetEntity(OOPrivate)::initAsAtmosphereForPlanet:dictionary:, OOExplosionCloudEntity(OOPrivate)::initExplosionCloudWithEntity:size:andSettings:, OOECMBlastEntity::initFromShip:, OOLaserShotEntity::initLaserFromShip:direction:offset:, OOQuiriumCascadeEntity::initQuiriumCascadeFromShip:, OORingEffectEntity::initRingFromEntity:, WormholeEntity::initWithDict:, OOWaypointEntity::initWithDictionary:, WormholeEntity::initWormholeTo:fromShip:, Entity(OOEntityInspectorExtensions)::inspPositionLine, PlayerEntity::interpretAIMessage:, DockEntity::isOffCentre, Universe::isVectorClearFromEntity:toDistance:fromPoint:, JSObjectGetVector(), ShipEntity::launchCascadeMine, PlayerEntity::launchEscapeCapsule, PlanetEntity::launchShuttle, PlayerEntity::leaveWitchspace, Universe::legacyPositionFrom:asCoordinateSystem:, PlayerEntity(LoadSave)::loadPlayerFromFile:asNew:, PlayerEntity::lookingAtSunWithThresholdAngleCos:, ShipEntity::lookingAtSunWithThresholdAngleCos:, moveForward:, Universe::nearestEntityMatchingPredicate:parameter:relativeToEntity:, ShipEntity::onTarget:withWeapon:, Universe::populateNormalSpace, position, DockEntity::pruneAndCountShipsOnApproach, ShipEntity::rangeToDestination, ShipEntity::rangeToSecondaryTarget:, ShipEntity::realAlertCondition, relativePosition, ShipEntity::releaseCargoPodsDebris, OOVisualEffectEntity::rescaleBy:, ShipEntity(Private)::rescaleBy:writeToCache:, OOExhaustPlumeEntity::resetPlume, ShipEntity(LoadRestore)::savedShipDictionaryWithContext:, ShipEntity::sendExpandedMessage:toShip:, ShipEntity::sendMessage:toShip:withUnpilotedOverride:, ShipEntity(PureAI)::setDestinationToDockingAbort, ShipEntity(PureAI)::setDestinationToTarget, ShipEntity(PureAI)::setDestinationWithinTarget, DockEntity::setDimensionsAndCorridor:docking:ddc:, Universe::setLighting, ShipEntity(PureAI)::setPlanetPatrolCoordinates, setPosition:, PlanetEntity::setPosition:, setPositionX:y:z:, ShipEntity::setProximityAlert:, ShipEntity(PureAI)::setRacepointsFromTarget, OOVisualEffectEntity::setScaleX:, OOVisualEffectEntity::setScaleY:, OOVisualEffectEntity::setScaleZ:, ShipEntity(PureAI)::setSunSkimExitCoordinates, ShipEntity::setTargetToNearestStationIncludingHostiles:, Universe(OOPrivate)::setUpInitialUniverse, CollisionRegion::shadowAtPointOcclusionToValue, DockEntity::shipIsInDockingCorridor:, Universe::spawnShip:, ShipEntity::startTrackingCurve, WormholeEntity::suckInShip:, ShipEntity::SurfaceDistanceSqared, ShipEntity::SurfaceDistanceSqaredV, PlayerEntity::takeEnergyDamage:from:becauseOf:weaponIdentifier:, PlayerEntity::takeScrapeDamage:from:, ShipEntity(PureAI)::thargonCheckMother, ShipEntity::throwSparks, ShipEntity::trackDestination:delta_t:, ShipEntity::trackPrimaryTarget:delta_t:, ShipEntity::trackSideTarget:delta_t:, transformationMatrix, update:, OOExhaustPlumeEntity::update:, OOLaserShotEntity::update:, OOPlasmaShotEntity::update:, OOQuiriumCascadeEntity::update:, OOSunEntity::update:, ShipEntity::update:, SkyEntity::update:, WormholeEntity::update:, updateLinkedLists, ShipEntity::updateTrackingCurve, vectorTo:, and PlayerEntity::viewpointPosition.
|
protected |
Definition at line 138 of file Entity.h.
Referenced by absolutePositionForSubentityOffset:, drawRotationMatrix, ShipEntity::drawSubEntityImmediate:translucent:, drawTransformationMatrix, PlanetEntity::drawUnconditionally, init, orientationChanged, PlayerEntity::orientationChanged, rotationMatrix, ShipEntity::setUpShipFromDictionary:, OOVisualEffectEntity::setUpVisualEffectFromDictionary:, transformationMatrix, OOQuiriumCascadeEntity::update:, OOSunEntity::update:, WormholeEntity::update:, and PlayerEntity::viewpointPosition.
- (OOScanClass) scanClass |
Definition at line 805 of file Entity.m.
Referenced by ShipEntity::checkScannerIgnoringUnpowered, descriptionComponents, WormholeEntity::drawImmediate:translucent:, HeadUpDisplay(Private)::drawScanner:, dumpSelfState, HasScanClassPredicate(), init, PlanetEntity::initFromDictionary:withAtmosphere:andSeed:, OOQuiriumCascadeEntity::initQuiriumCascadeFromShip:, OOSunEntity::initSunWithColor:andDictionary:, OOParticleSystem::initWithPosition:velocity:count:minSpeed:maxSpeed:duration:baseColor:, scanClass, PlayerEntity(Scripting)::sendAllShipsAway, setScanClass:, OOVisualEffectEntity::setUpVisualEffectFromDictionary:, WormholeEntity::update:, and PlayerEntity(OOPrivate)::updateAlertConditionForNearbyEntities.
- (OOUniversalID) shadingEntityID |
Definition at line 126 of file Entity.h.
Referenced by CollisionRegion::findShadowedEntities.
|
protected |
Definition at line 1063 of file Entity.m.
Referenced by OOPlasmaShotEntity::canCollide, ShipEntity::dumpSelfState, init, spawnTime, and timeElapsedSinceSpawn.
- (unsigned) throw_sparks |
Definition at line 101 of file Entity.h.
Referenced by dumpSelfState, OOSunEntity::goneNova, OOSunEntity::setGoingNova:inTime:, setThrowSparks:, ShipEntity::takeHeatDamage:, throwingSparks, OOSunEntity::update:, ShipEntity::update:, and OOSunEntity::willGoNova.
- (OOUniversalID) universalID |
Definition at line 552 of file Entity.m.
Referenced by DockEntity::abortDockingForShip:, DockEntity(OOPrivate)::addShipToShipsOnApproach:, ShipEntity(PureAI)::ai_debugMessage:, ShipEntity::behaviour_fly_to_target_six:, PlanetEntity::checkCloseCollisionWith:, ShipEntity::checkCloseCollisionWith:, ShipEntity::checkShipsInVicinityForWitchJumpExit, ShipEntity::collideWithShip:, OOSunEntity::descriptionComponents, PlanetEntity::descriptionComponents, DockEntity::dockingInstructionsForShip:, Universe(OOPrivate)::doRemoveEntity:, HeadUpDisplay(Private)::drawScanner:, dumpSelfState, CollisionRegion::findShadowedEntities, Entity(OOEntityInspectorExtensions)::inspBasicIdentityLine, Entity(OOEntityInspectorExtensions)::inspDescription, ShipEntity(OOEntityInspectorExtensions)::inspDescription, AI(OOPrivate)::refreshOwnerDesc, ShipEntity::setCommsMessageColor, PlayerEntity::setDockTarget:, ShipEntity(PureAI)::setTargetToPrimaryAggressor, setUniversalID:, DockEntity::shipIsInDockingQueue:, universalID, and ShipEntity::wasAddedToUniverse.
|
protected |
Definition at line 763 of file Entity.m.
Referenced by applyVelocity:, ShipEntity::ballTrackLeadingTarget:atTarget:, ShipEntity::collideWithShip:, OOFlashEffectEntity::explosionFlashFromEntity:, OOBigFragmentBurstEntity::fragmentBurstFromEntity:, OOSmallFragmentBurstEntity::fragmentBurstFromEntity:, OOBigFragmentBurstEntity::if, OOSmallFragmentBurstEntity::if, OOExplosionCloudEntity(OOPrivate)::initExplosionCloudWithEntity:size:andSettings:, OOLaserShotEntity::initLaserFromShip:direction:offset:, OORingEffectEntity::initRingFromEntity:, OOParticleSystem::initWithPosition:velocity:count:minSpeed:maxSpeed:duration:baseColor:, Entity(OOEntityInspectorExtensions)::inspVelocityLine, ShipEntity::missileTrackPrimaryTarget:, setVelocity:, speed, velocity, and DustEntity::warpVector.
- (Entity *) x_next |
Definition at line 120 of file Entity.h.
Referenced by addToLinkedLists, Entity(OOPrivate)::checkLinkedLists, Universe::filterSortedLists, Universe::MaintainLinkedLists, removeFromLinkedLists, and updateLinkedLists.
- (Entity*) x_previous |
Definition at line 120 of file Entity.h.
Referenced by addToLinkedLists, Entity(OOPrivate)::checkLinkedLists, Universe::filterSortedLists, Universe::MaintainLinkedLists, removeFromLinkedLists, and updateLinkedLists.
- (Entity *) y_next |
Definition at line 121 of file Entity.h.
Referenced by addToLinkedLists, Entity(OOPrivate)::checkLinkedLists, Universe::filterSortedLists, Universe::MaintainLinkedLists, removeFromLinkedLists, and updateLinkedLists.
- (Entity*) y_previous |
Definition at line 121 of file Entity.h.
Referenced by addToLinkedLists, Entity(OOPrivate)::checkLinkedLists, Universe::filterSortedLists, Universe::MaintainLinkedLists, removeFromLinkedLists, and updateLinkedLists.
- (Entity *) z_next |
Definition at line 122 of file Entity.h.
Referenced by addToLinkedLists, Entity(OOPrivate)::checkLinkedLists, ShipEntity::checkScanner, ShipEntity::checkScannerIgnoringUnpowered, Universe::filterSortedLists, Universe::MaintainLinkedLists, removeFromLinkedLists, and updateLinkedLists.
- (Entity*) z_previous |
Definition at line 122 of file Entity.h.
Referenced by addToLinkedLists, Entity(OOPrivate)::checkLinkedLists, ShipEntity::checkScanner, ShipEntity::checkScannerIgnoringUnpowered, Universe::filterSortedLists, Universe::MaintainLinkedLists, removeFromLinkedLists, and updateLinkedLists.
- (GLfloat) zero_distance |
Definition at line 108 of file Entity.h.
Referenced by PlayerEntity(OOPrivate)::checkEntityForMassLock:withScanClass:, compareZeroDistance:, PlayerEntity::dialAltitude, PlayerEntity::doBookkeeping:, HeadUpDisplay(Private)::drawScanner:, HeadUpDisplay::hudDrawReticleOnTarget, ShipEntity::initWithKey:definition:, WormholeEntity::initWormholeTo:fromShip:, PlayerEntity::isValidTarget:, PlayerEntity::moveTargetMemoryBy:, DustEntity::update:, update:, SkyEntity::update:, Universe::update:, PlayerEntity(OOPrivate)::updateAlertConditionForNearbyEntities, and zeroDistance.
- (int) zero_index |
Definition at line 117 of file Entity.h.
Referenced by Universe(OOPrivate)::doRemoveEntity:, and Universe::update:.