![]() |
Oolite 1.91.0.7665-250419-c535bfe
|
Instance Methods | |
(void) | - subEntityDied: |
(void) | - subEntityReallyDied: |
(void) | - drawDebugStuff |
(void) | - rescaleBy: |
(void) | - rescaleBy:writeToCache: |
(BOOL) | - setUpOneSubentity: |
(BOOL) | - setUpOneFlasher: |
(Entity< OOStellarBody > *) | - lastAegisLock |
(void) | - addSubEntity: |
(void) | - refreshEscortPositions |
(HPVector) | - coordinatesForEscortPosition: |
(void) | - setUpMixedEscorts |
(void) | - setUpOneEscort:inGroup:withRole:atPosition:andCount: |
(void) | - addSubentityToCollisionRadius: |
(ShipEntity *) | - launchPodWithCrew: |
(OOEquipmentType *) | - generateMissileEquipmentTypeFrom: |
(void) | - setShipHitByLaser: |
(void) | - noteFrustration: |
(BOOL) | - cloakPassive |
Definition at line 131 of file ShipEntity.m.
- (void) addSubEntity: | (Entity< OOSubEntity > *) | subent |
Extends class ShipEntity.
Definition at line 6707 of file ShipEntity.m.
References ShipEntity::addSubentityToCollisionRadius:, Entity::isSubEntity, nil, and ShipEntity::setOwner:.
Referenced by setUpOneFlasher:, ShipEntity::setUpOneStandardSubentity:asTurret:, and ShipEntity::setUpSubEntities.
- (void) addSubentityToCollisionRadius: | (Entity< OOSubEntity > *) | subent |
Extends class ShipEntity.
Definition at line 2256 of file ShipEntity.m.
Referenced by addSubEntity:.
- (BOOL) cloakPassive |
Extends class ShipEntity.
Definition at line 266 of file ShipEntity.m.
References OOLog.
Referenced by PlayerEntity::fireMainWeapon, PlayerEntity::fireMissile, ShipEntity::fireMissileWithIdentifier:andTarget:, ShipEntity::fireTurretCannon:, ShipEntity::fireWeapon:direction:range:, and ShipEntity::launchCascadeMine.
- (HPVector) coordinatesForEscortPosition: | (unsigned) | idx |
Extends class ShipEntity.
Definition at line 13821 of file ShipEntity.m.
References MAX_ESCORTS, MIN, quaternion_rotate_vector(), and self.
Referenced by ShipEntity::setUpEscorts, setUpMixedEscorts, and ShipEntity::update:.
- (void) drawDebugStuff |
Extends class ShipEntity.
Definition at line 6427 of file ShipEntity.m.
References drawDebugStuff, ShipEntity::foundTarget, nil, OODebugDrawColoredLine(), OODebugDrawPoint(), ShipEntity::primaryTarget, and ShipEntity::targetStation.
Referenced by drawDebugStuff, and ShipEntity::drawImmediate:translucent:.
- (OOEquipmentType *) generateMissileEquipmentTypeFrom: | (NSString *) | role |
Extends class ShipEntity.
Definition at line 3328 of file ShipEntity.m.
References OOEquipmentType::addEquipmentWithInfo:, and OOEquipmentType::equipmentTypeWithIdentifier:.
Referenced by ShipEntity::verifiedMissileTypeFromRole:.
- (Entity< OOStellarBody > *) lastAegisLock |
Extends class ShipEntity.
Definition at line 7885 of file ShipEntity.m.
References lastAegisLock, and nil.
Referenced by ShipEntity::checkForAegis, lastAegisLock, and ShipEntity::transitionToAegisNone.
- (ShipEntity *) launchPodWithCrew: | (NSArray *) | podCrew |
Extends class ShipEntity.
Definition at line 2277 of file ShipEntity.m.
References ShipEntity::dumpItem:, nil, OOLog, ShipEntity::randomEjectaTemperatureWithMaxFactor:, ShipEntity::setCommodity:andAmount:, ShipEntity::setCrew:, ShipEntity::setOwner:, ShipEntity::setTemperature:, and ShipEntity::switchAITo:.
Referenced by ShipEntity::launchEscapeCapsule.
- (void) noteFrustration: | (NSString *) | context |
Extends class ShipEntity.
Definition at line 2953 of file ShipEntity.m.
References ShipEntity::doScriptEvent:withArgument:.
Referenced by ShipEntity::behaviour_attack_broadside_target:leftside:, ShipEntity::behaviour_attack_fly_to_target:, ShipEntity::behaviour_attack_sniper:, ShipEntity::behaviour_face_destination:, ShipEntity::behaviour_flee_target:, ShipEntity::behaviour_fly_thru_navpoints:, ShipEntity::behaviour_fly_to_destination:, ShipEntity::behaviour_formation_form_up:, and ShipEntity::behaviour_intercept_target:.
- (void) refreshEscortPositions |
Extends class ShipEntity.
Definition at line 13790 of file ShipEntity.m.
References JSValueToVector(), kZeroVector, OOJSAcquireContext(), OOJSRelinquishContext(), and refreshEscortPositions.
Referenced by refreshEscortPositions, ShipEntity::setUpEscorts, setUpMixedEscorts, and ShipEntity::update:.
- (void) rescaleBy: | (GLfloat) | factor |
Extends class ShipEntity.
Definition at line 9043 of file ShipEntity.m.
References ShipEntity::rescaleBy:writeToCache:.
- (void) rescaleBy: | (GLfloat) | factor | |
writeToCache: | (BOOL) | writeToCache |
Extends class ShipEntity.
Definition at line 9049 of file ShipEntity.m.
References OOMesh::meshWithName:cacheKey:materialDictionary:shadersDictionary:smooth:shaderMacros:shaderBindingTarget:scaleFactor:cacheWriteable:, nil, Entity::position, ShipEntity::rescaleBy:writeToCache:, ShipEntity::setMesh:, Entity::setPosition:, and ShipEntity::shipInfoDictionary.
Referenced by Universe::addWreckageFrom:withRole:at:scale:lifetime:, rescaleBy:, and rescaleBy:writeToCache:.
- (void) setShipHitByLaser: | (ShipEntity *) | ship |
Extends class ShipEntity.
Definition at line 10182 of file ShipEntity.m.
References OOWeakRefObject::weakRetain.
Referenced by ShipEntity::fireDirectLaserShotAt:, ShipEntity::fireLaserShotInDirection:weaponIdentifier:, and ShipEntity::fireSubentityLaserShot:.
- (void) setUpMixedEscorts |
Extends class ShipEntity.
Definition at line 1790 of file ShipEntity.m.
References ShipEntity::coordinatesForEscortPosition:, OOShipGroup::count, ShipEntity::escortGroup, MAX_ESCORTS, nil, OOLogWARN, Ranrot(), ShipEntity::refreshEscortPositions, ShipEntity::setGroup:, OOShipGroup::setLeader:, setUpMixedEscorts, and ShipEntity::setUpOneEscort:inGroup:withRole:atPosition:andCount:.
Referenced by ShipEntity::setUpEscorts, and setUpMixedEscorts.
- (void) setUpOneEscort: | (ShipEntity *) | escorter | |
inGroup: | (OOShipGroup *) | escortGroup | |
withRole: | (NSString *) | escortRole | |
atPosition: | (HPVector) | ex_pos | |
andCount: | (uint8_t) | currentEscortCount |
Extends class ShipEntity.
Definition at line 1868 of file ShipEntity.m.
References Entity::collision_radius, ResourceManager::dictionaryFromFilesNamed:inFolder:andMerge:, ShipEntity::doScriptEvent:withArgument:, EXPECT, ShipEntity::getAI, ShipEntity::heatInsulation, ShipEntity::markAsOffender:withReason:, MAX_ESCORTS, ShipEntity::maxFlightSpeed, nil, Entity::owner, randf(), ranrot_rand, ShipEntity::setBounty:withReason:, ShipEntity::setGroup:, ShipEntity::setHeatInsulation:, ShipEntity::setOwner:, Entity::setPosition:, ShipEntity::setPrimaryRole:, Entity::setScanClass:, ShipEntity::setSingleCrewWithRole:, AI::setState:, ShipEntity::shipInfoDictionary, and ShipEntity::switchAITo:.
Referenced by ShipEntity::setUpEscorts, and setUpMixedEscorts.
- (BOOL) setUpOneFlasher: | (NSDictionary *) | subentDict |
Extends class ShipEntity.
Definition at line 926 of file ShipEntity.m.
References ShipEntity::addSubEntity:, OOFlasherEntity::flasherWithDictionary:, OOFlasherEntity::rescaleBy:, and Entity::setPosition:.
Referenced by setUpOneSubentity:.
- (BOOL) setUpOneSubentity: | (NSDictionary *) | subentDict |
Extends class ShipEntity.
Definition at line 906 of file ShipEntity.m.
References nil, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, ShipEntity::setUpOneFlasher:, and ShipEntity::setUpOneStandardSubentity:asTurret:.
Referenced by ShipEntity::setUpSubEntities.
- (void) subEntityDied: | (ShipEntity *) | sub |
Extends class ShipEntity.
Definition at line 9520 of file ShipEntity.m.
References Entity::mass, ShipEntity::setOwner:, and ShipEntity::setSubEntityTakingDamage:.
Referenced by ShipEntity::becomeExplosion.
- (void) subEntityReallyDied: | (ShipEntity *) | sub |
Extends class ShipEntity.
Definition at line 9532 of file ShipEntity.m.
References nil, OOLogERR, and ShipEntity::setSubEntityTakingDamage:.
Referenced by ShipEntity::dealloc.