![]() |
Oolite 1.91.0.7658-250404-b1488af
|
import "OOEntityWithDrawable.h"
import "OOPlanetEntity.h"
import "OOJSPropID.h"
#include "OOBehaviour.tbl"
#include "OOShipDamageType.tbl"
Go to the source code of this file.
Classes | |
class | ShipEntity |
category | ShipEntity(Debug) |
category | Entity(SubEntityRelationship) |
Typedefs | |
typedef enum OOBehaviour | OOBehaviour |
typedef OOEquipmentType * | OOWeaponType |
Enumerations | |
enum | OOBehaviour |
enum | OOAlertCondition { ALERT_CONDITION_DOCKED = 0 , ALERT_CONDITION_GREEN = 1 , ALERT_CONDITION_YELLOW = 2 , ALERT_CONDITION_RED = 3 } |
enum | OOShipDamageType { kOOShipDamageTypeDefault = kOODamageTypeEnergy } |
Functions | |
NSDictionary * | OODefaultShipShaderMacros (void) |
GLfloat | getWeaponRangeFromType (OOWeaponType weapon_type) |
NSString * | OOStringFromBehaviour (OOBehaviour behaviour) CONST_FUNC |
NSString * | OOEquipmentIdentifierFromWeaponType (OOWeaponType weapon) CONST_FUNC |
OOWeaponType | OOWeaponTypeFromEquipmentIdentifierSloppy (NSString *string) PURE_FUNC |
OOWeaponType | OOWeaponTypeFromEquipmentIdentifierStrict (NSString *string) PURE_FUNC |
OOWeaponType | OOWeaponTypeFromEquipmentIdentifierLegacy (NSString *string) |
NSString * | OOStringFromWeaponType (OOWeaponType weapon) CONST_FUNC |
OOWeaponType | OOWeaponTypeFromString (NSString *string) PURE_FUNC |
BOOL | isWeaponNone (OOWeaponType weapon) |
NSString * | OODisplayStringFromAlertCondition (OOAlertCondition alertCondition) |
NSString * | OOStringFromShipDamageType (OOShipDamageType type) CONST_FUNC |
#define AFTERBURNER_BURNRATE 0.25f |
Definition at line 45 of file ShipEntity.h.
#define AIMS_AGGRESSOR_SWITCHED_TARGET @"AGGRESSOR_SWITCHED_TARGET" |
Definition at line 94 of file ShipEntity.h.
Referenced by ShipEntity::interpretAIMessage:.
#define BASELINE_SHIELD_LEVEL 128.0f |
Definition at line 99 of file ShipEntity.h.
Referenced by ShipEntity::maxAftShieldLevel, ShipEntity::maxForwardShieldLevel, PlayerEntity::setCommanderDataFromDictionary:, and PlayerEntity::setUpAndConfirmOK:saveGame:.
#define CLOAKING_DEVICE_ENERGY_RATE 12.8f |
Definition at line 47 of file ShipEntity.h.
Referenced by PlayerEntity::doBookkeeping:, and ShipEntity::update:.
#define CLOAKING_DEVICE_MIN_ENERGY 128 |
Definition at line 48 of file ShipEntity.h.
Referenced by PlayerEntity::doBookkeeping:, and ShipEntity::update:.
#define CLOAKING_DEVICE_START_ENERGY 0.75f |
Definition at line 49 of file ShipEntity.h.
Referenced by ShipEntity::activateCloakingDevice.
#define COMBAT_AI_CONFIDENCE_FACTOR 1250000.0f |
Definition at line 122 of file ShipEntity.h.
Referenced by ShipEntity::behaviour_attack_fly_to_target:, and ShipEntity::behaviour_attack_target:.
#define COMBAT_AI_DOGFIGHTER 6.5f |
Definition at line 129 of file ShipEntity.h.
Referenced by ShipEntity::behaviour_attack_break_off_target:.
#define COMBAT_AI_FLEES_BETTER 6.0f |
Definition at line 127 of file ShipEntity.h.
Referenced by ShipEntity::behaviour_attack_fly_to_target:, ShipEntity::behaviour_attack_target:, and ShipEntity::trackPrimaryTarget:delta_t:.
#define COMBAT_AI_FLEES_BETTER_2 9.0f |
Definition at line 134 of file ShipEntity.h.
Referenced by ShipEntity::behaviour_attack_fly_from_target:, ShipEntity::behaviour_attack_fly_to_target:, and ShipEntity::trackPrimaryTarget:delta_t:.
#define COMBAT_AI_IS_SMART 5.0f |
Definition at line 125 of file ShipEntity.h.
Referenced by ShipEntity::behaviour_attack_fly_to_target:, ShipEntity::behaviour_attack_target:, and ShipEntity::noteTakingDamage:from:type:.
#define COMBAT_AI_ISNT_AWFUL 0.0f |
Definition at line 123 of file ShipEntity.h.
Referenced by ShipEntity::behaviour_attack_fly_to_target:, ShipEntity::behaviour_attack_sniper:, ShipEntity::behaviour_attack_target:, ShipEntity::behaviour_flee_target:, ShipEntity::behaviour_running_defense:, ShipEntity::currentAimTolerance, ShipEntity::noticeECM, ShipEntity(AI)::performFlee, ShipEntity::setAccuracy:, ShipEntity::setEvasiveJink:, and ShipEntity::trackPrimaryTarget:delta_t:.
#define COMBAT_AI_STANDARD_REACTION_TIME 1.5f |
Definition at line 136 of file ShipEntity.h.
#define COMBAT_AI_TRACKS_CLOSER 7.5f |
Definition at line 131 of file ShipEntity.h.
Referenced by ShipEntity::applySticks:, ShipEntity::currentAimTolerance, ShipEntity::trackPrimaryTarget:delta_t:, and ShipEntity::trackSideTarget:delta_t:.
#define COMBAT_AI_USES_SNIPING 8.5f |
Definition at line 132 of file ShipEntity.h.
#define COMBAT_AI_WEAPON_TEMP_READY 0.25f * NPC_MAX_WEAPON_TEMP |
Definition at line 118 of file ShipEntity.h.
Referenced by ShipEntity::behaviour_attack_break_off_target:, and ShipEntity::behaviour_attack_target:.
#define COMBAT_AI_WEAPON_TEMP_USABLE WEAPON_COOLING_CUTOUT * NPC_MAX_WEAPON_TEMP |
Definition at line 119 of file ShipEntity.h.
Referenced by ShipEntity::behaviour_attack_broadside_target:leftside:, ShipEntity::behaviour_attack_fly_to_target:, ShipEntity::behaviour_attack_sniper:, ShipEntity::behaviour_attack_target:, ShipEntity::behaviour_fly_to_target_six:, and ShipEntity::behaviour_running_defense:.
#define COMBAT_BROADSIDE_IN_RANGE_FACTOR 0.020f |
Definition at line 55 of file ShipEntity.h.
Referenced by ShipEntity::behaviour_attack_broadside:, and ShipEntity::behaviour_attack_broadside_target:leftside:.
#define COMBAT_BROADSIDE_RANGE_FACTOR 0.900f |
Definition at line 57 of file ShipEntity.h.
Referenced by ShipEntity::behaviour_attack_broadside_target:leftside:, and ShipEntity::behaviour_close_to_broadside_range:.
#define COMBAT_IN_RANGE_FACTOR 0.035f |
Definition at line 54 of file ShipEntity.h.
Referenced by ShipEntity::behaviour_attack_fly_from_target:, ShipEntity::behaviour_attack_fly_to_target:, ShipEntity::behaviour_attack_slow_dogfight:, and ShipEntity::behaviour_attack_target:.
#define COMBAT_JINK_OFFSET 500.0f |
Definition at line 59 of file ShipEntity.h.
#define COMBAT_OUT_RANGE_FACTOR 0.500f |
Definition at line 56 of file ShipEntity.h.
Referenced by ShipEntity::behaviour_attack_break_off_target:, ShipEntity::behaviour_attack_fly_from_target:, ShipEntity::behaviour_attack_fly_to_target:, ShipEntity::behaviour_attack_target:, and ShipEntity::behaviour_fly_to_target_six:.
#define COMBAT_WEAPON_RANGE_FACTOR 1.200f |
Definition at line 58 of file ShipEntity.h.
Referenced by ShipEntity::behaviour_attack_broadside_target:leftside:, ShipEntity::behaviour_attack_fly_to_target:, ShipEntity::behaviour_fly_to_target_six:, and OOShipRegistry(OODataLoader)::validateNewStyleStandardSubentityDeclaration:forShip:fatalError:.
#define DEFAULT_HYPERSPACE_SPIN_TIME 15.0f |
Definition at line 70 of file ShipEntity.h.
Referenced by PlayerEntity(OOControlsPrivate)::pollFlightControls:.
#define DIFF_STRING_ENTRY | ( | label, | |
string ) |
Definition at line 184 of file ShipEntity.h.
#define EJECTA_TEMP_FACTOR 0.85f |
Definition at line 69 of file ShipEntity.h.
#define ENTITY_PERSONALITY_INVALID 0xFFFFU |
Definition at line 111 of file ShipEntity.h.
Referenced by PersonalityForCommanderDict(), and PlayerEntity::showShipModelWithKey:shipData:personality:factorX:factorY:factorZ:inContext:.
#define ENTITY_PERSONALITY_MAX 0x7FFFU |
Definition at line 110 of file ShipEntity.h.
Referenced by ShipEntity::entityPersonality, ShipEntity::initWithKey:definition:, PersonalityForCommanderDict(), PlayerReplaceShip(), ShipEntity::setEntityPersonalityInt:, ShipSetProperty(), and Universe::shipsForSaleForSystem:withTL:atTime:.
#define ENTRY | ( | label, | |
value ) |
Definition at line 147 of file ShipEntity.h.
#define ESCORT_SPACING_FACTOR 3.0 |
Definition at line 75 of file ShipEntity.h.
#define INITIAL_SHOT_TIME 100.0 |
Definition at line 100 of file ShipEntity.h.
Referenced by ShipEntity::initWithKey:definition:, PlayerEntity(OOControlsPrivate)::pollGameOverControls:, and PlayerEntity::setUpAndConfirmOK:saveGame:.
#define MAIN_PLASMA_DURATION 5.0 |
Definition at line 86 of file ShipEntity.h.
#define MAX_COS 0.995 |
Definition at line 143 of file ShipEntity.h.
Referenced by ShipEntity::behaviour_face_destination:, ShipEntity::behaviour_fly_to_destination:, and ShipEntity::trackDestination:delta_t:.
Definition at line 144 of file ShipEntity.h.
Referenced by ShipEntity::behaviour_land_on_planet:.
#define MAX_ESCORTS 16 |
Definition at line 74 of file ShipEntity.h.
Referenced by ShipEntity::acceptAsEscort:, ShipEntity(Private)::coordinatesForEscortPosition:, ShipEntity::setUpEscorts, ShipEntity(Private)::setUpMixedEscorts, ShipEntity(Private)::setUpOneEscort:inGroup:withRole:atPosition:andCount:, ShipEntity::setUpShipFromDictionary:, and ShipSetProperty().
#define MAX_JUMP_RANGE 7.0 |
Definition at line 107 of file ShipEntity.h.
Referenced by OOSystemDescriptionManager::buildRouteCache, GuiDisplayGen(Internal)::drawAdvancedNavArrayAtX:y:z:alpha:usingRoute:optimizedBy:zoom:, GuiDisplayGen(Internal)::drawStarChart:x:y:z:alpha:, Universe::findConnectedSystemAtCoords:withGalaxy:, Universe::findNeighbouringSystemToCoords:withGalaxy:, ShipEntity::maxHyperspaceDistance, Universe::nearbyDestinationsWithinRange:, PlayerSetEscapePodDestination(), and ShipSetProperty().
#define MAX_LANDING_SPEED 50.0 |
Definition at line 140 of file ShipEntity.h.
#define MAX_LANDING_SPEED2 (MAX_LANDING_SPEED * MAX_LANDING_SPEED) |
Definition at line 141 of file ShipEntity.h.
Referenced by ShipEntity::behaviour_land_on_planet:.
#define MAX_SCAN_NUMBER 32 |
Definition at line 97 of file ShipEntity.h.
Referenced by ShipEntity::checkScanner, and ShipEntity::checkScannerIgnoringUnpowered.
#define MAX_TARGETS 24 |
Definition at line 36 of file ShipEntity.h.
Referenced by ShipEntity::addDefenseTarget:.
#define MERCHANTMAN_MAX_CARGO 125 |
Definition at line 38 of file ShipEntity.h.
#define MILITARY_JAMMER_ENERGY_RATE 3 |
Definition at line 51 of file ShipEntity.h.
Referenced by PlayerEntity::doBookkeeping:, and ShipEntity::update:.
#define MILITARY_JAMMER_MIN_ENERGY 128 |
Definition at line 52 of file ShipEntity.h.
Referenced by PlayerEntity::doBookkeeping:, and ShipEntity::update:.
#define MIN_FUEL 0 |
Definition at line 102 of file ShipEntity.h.
Referenced by ShipEntity::applyThrust:, ShipEntity::behaviour_attack_break_off_target:, ShipEntity::behaviour_attack_broadside:, ShipEntity::behaviour_attack_broadside_target:leftside:, ShipEntity::behaviour_attack_fly_from_target:, ShipEntity::behaviour_attack_fly_to_target:, ShipEntity::behaviour_attack_sniper:, ShipEntity::behaviour_evasive_action:, ShipEntity::behaviour_flee_target:, ShipEntity::behaviour_fly_to_target_six:, ShipEntity::cascadeIfAppropriateWithDamageAmount:cascadeOwner:, PlayerEntity::doBookkeeping:, ShipEntity::increase_flight_speed:, and WormholeEntity::suckInShip:.
#define NPC_MAX_WEAPON_TEMP 256.0f |
Definition at line 115 of file ShipEntity.h.
Referenced by ShipEntity::fireSubentityLaserShot:, ShipEntity::fireWeapon:direction:range:, ShipEntity::laserHeatLevel, ShipEntity::laserHeatLevelAft, ShipEntity::laserHeatLevelForward, ShipEntity::laserHeatLevelPort, and ShipEntity::laserHeatLevelStarboard.
#define NPC_PLASMA_RANGE (MAIN_PLASMA_DURATION * NPC_PLASMA_SPEED) |
Definition at line 87 of file ShipEntity.h.
#define NPC_PLASMA_SPEED 1500.0f |
Definition at line 85 of file ShipEntity.h.
#define PIRATES_PREFER_PLAYER YES |
Definition at line 40 of file ShipEntity.h.
Referenced by ShipEntity(PureAI)::scanForNearestMerchantman.
#define PLAYER_PLASMA_RANGE (MAIN_PLASMA_DURATION * PLAYER_PLASMA_SPEED) |
Definition at line 90 of file ShipEntity.h.
#define PLAYER_PLASMA_SPEED 1000.0f |
Definition at line 89 of file ShipEntity.h.
#define RAIDER_MAX_CARGO 5 |
Definition at line 37 of file ShipEntity.h.
#define SHIP_COOLING_FACTOR 0.1f |
Definition at line 61 of file ShipEntity.h.
Referenced by PlayerEntity::doBookkeeping:, and ShipEntity::update:.
#define SHIP_ENERGY_DAMAGE_TO_HEAT_FACTOR (mass > 400000 ? 200000 / mass : 0.5) |
Definition at line 65 of file ShipEntity.h.
Referenced by PlayerEntity::takeEnergyDamage:from:becauseOf:weaponIdentifier:, and ShipEntity::takeEnergyDamage:from:becauseOf:weaponIdentifier:.
#define SHIP_INSULATION_FACTOR 0.00175f |
Definition at line 66 of file ShipEntity.h.
Referenced by PlayerEntity::doBookkeeping:, and ShipEntity::update:.
#define SHIP_MAX_CABIN_TEMP 256.0f |
Definition at line 67 of file ShipEntity.h.
Referenced by PlayerEntity::doBookkeeping:, ShipEntity::hullHeatLevel, ShipEntity::randomEjectaTemperatureWithMaxFactor:, ShipGetProperty(), PlayerEntity::takeEnergyDamage:from:becauseOf:weaponIdentifier:, ShipEntity::takeEnergyDamage:from:becauseOf:weaponIdentifier:, and ShipEntity::update:.
#define SHIP_MIN_CABIN_TEMP 60.0f |
Definition at line 68 of file ShipEntity.h.
Referenced by PlayerEntity::doBookkeeping:, ShipEntity::initWithKey:definition:, ShipEntity::randomEjectaTemperatureWithMaxFactor:, and ShipEntity::update:.
#define SHIP_THRUST_FACTOR 5.0f |
Definition at line 44 of file ShipEntity.h.
Referenced by ShipEntity::applyThrust:, ShipEntity::behaviour_intercept_target:, PlayerEntity::doBookkeeping:, and PlayerEntity(OOControlsPrivate)::pollFlightControls:.
#define SHIPENTITY_MAX_MISSILES 32 |
Definition at line 77 of file ShipEntity.h.
#define ShipScriptEvent | ( | context, | |
ship, | |||
event, | |||
... ) |
Definition at line 1267 of file ShipEntity.h.
Referenced by Universe::carryPlayerOn:inWormhole:, PlayerEntity::cycleNextMultiFunctionDisplay:, PlayerEntity::cyclePreviousMultiFunctionDisplay:, PlayerEntity::enterGalacticWitchspace, PlayerEntity::enterWitchspace, PlayerEntity::enterWormhole:, PlayerEntity::markAsOffender:withReason:, ShipEntity::markAsOffender:withReason:, PlayerEntity(OOPrivate)::noteCompassLostTarget, PlayerEntity::noteGUIDidChangeFrom:to:refresh:, PlayerEntity::noteGUIWillChangeTo:, ShipEntity::noteKilledBy:damageType:, ShipEntity::noteTakingDamage:from:type:, PlayerEntity::selectNextMultiFunctionDisplay, PlayerEntity::selectPreviousMultiFunctionDisplay, PlayerEntity::setBounty:withReasonAsString:, ShipEntity::setBounty:withReasonAsString:, PlayerEntity::setInfoSystemID:moveChart:, PlayerEntity(OOControlsPrivate)::switchToThisView:fromView:andProcessWeaponFacing:justNotify:, and OOECMBlastEntity::update:.
#define ShipScriptEventNoCx | ( | ship, | |
event, | |||
... ) |
Definition at line 1273 of file ShipEntity.h.
Referenced by PlayerEntity(LoadSave)::autosavePlayer, ShipEntity::dealloc, PlayerEntity::enterWitchspace, PlayerEntity(OOLoadSavePrivate)::nativeSavePlayer:, PlayerEntity(OOPrivate)::performWitchspaceCountdownUpdates:, PlayerEntity(LoadSave)::quicksavePlayer, PlayerEntity(OOLoadSavePrivate)::savePlayerWithPanel, StationEntity::setAlertLevel:signallingScript:, PlayerEntity(OOPrivate)::updateAlertCondition, and PlayerEntity::witchJumpChecklist:.
#define SUN_TEMPERATURE 1250.0f |
Definition at line 72 of file ShipEntity.h.
Referenced by PlayerEntity::doBookkeeping:, and ShipEntity::update:.
#define TRACTOR_FORCE 2500.0f |
Definition at line 92 of file ShipEntity.h.
Referenced by ShipEntity::behaviour_tractored:.
#define TURRET_MINIMUM_COS 0.20f |
Definition at line 42 of file ShipEntity.h.
Referenced by ShipEntity::ballTrackLeadingTarget:atTarget:.
#define TURRET_SHOT_DURATION 3.0 |
Definition at line 81 of file ShipEntity.h.
#define TURRET_SHOT_FREQUENCY (TURRET_SHOT_DURATION * TURRET_SHOT_DURATION * TURRET_SHOT_DURATION / 100.0) |
Definition at line 83 of file ShipEntity.h.
#define TURRET_SHOT_RANGE (TURRET_SHOT_SPEED * TURRET_SHOT_DURATION) |
Definition at line 82 of file ShipEntity.h.
Referenced by ShipEntity::fireMainWeapon:, and OOShipRegistry(OODataLoader)::validateNewStyleStandardSubentityDeclaration:forShip:fatalError:.
#define TURRET_SHOT_SPEED 2000.0f |
Definition at line 80 of file ShipEntity.h.
Referenced by ShipEntity::ballTrackLeadingTarget:atTarget:, and ShipEntity::fireTurretCannon:.
#define TURRET_TYPICAL_ENERGY 25.0f |
Definition at line 79 of file ShipEntity.h.
#define WEAPON_COOLING_CUTOUT 0.85f |
Definition at line 116 of file ShipEntity.h.
Referenced by PlayerEntity::fireMainWeapon, ShipEntity::fireSubentityLaserShot:, and ShipEntity::fireWeapon:direction:range:.
#define WEAPON_COOLING_FACTOR 6.0f |
Definition at line 114 of file ShipEntity.h.
Referenced by PlayerEntity::doBookkeeping:, and ShipEntity::update:.
typedef enum OOBehaviour OOBehaviour |
typedef OOEquipmentType* OOWeaponType |
Definition at line 168 of file ShipEntity.h.
enum OOAlertCondition |
Enumerator | |
---|---|
ALERT_CONDITION_DOCKED | |
ALERT_CONDITION_GREEN | |
ALERT_CONDITION_YELLOW | |
ALERT_CONDITION_RED |
Definition at line 171 of file ShipEntity.h.
enum OOBehaviour |
Definition at line 149 of file ShipEntity.h.
enum OOShipDamageType |
Enumerator | |
---|---|
kOOShipDamageTypeDefault |
Definition at line 182 of file ShipEntity.h.
GLfloat getWeaponRangeFromType | ( | OOWeaponType | weapon_type | ) |
Definition at line 14948 of file ShipEntity.m.
References OOEquipmentType::weaponRange.
Referenced by ShipEntity::behaviour_attack_broadside_target:leftside:, ShipEntity::behaviour_attack_target:, and ShipEntity::setWeaponDataFromType:.
BOOL isWeaponNone | ( | OOWeaponType | weapon | ) |
Definition at line 14954 of file ShipEntity.m.
References OOEquipmentType::identifier, and nil.
Referenced by ShipEntity::behaviour_attack_broadside:, ShipEntity::behaviour_attack_broadside_target:leftside:, ShipEntity::behaviour_attack_fly_to_target:, ShipEntity::behaviour_attack_target:, ShipEntity::behaviour_close_to_broadside_range:, PlayerEntity::equipmentList, PlayerEntity::fireMainWeapon, ShipEntity::fireMainWeapon:, ShipEntity::fireSubentityLaserShot:, ShipEntity::fireWeapon:direction:range:, ShipEntity::hasOneEquipmentItem:includeWeapons:whileLoading:, ShipEntity::laserHeatLevelForward, PlayerEntity::setGuiToEquipShipScreen:selectingFacingFor:, Universe::shipsForSaleForSystem:withTL:atTime:, ShipThreatAssessment(), StationAddShipToShipyard(), and ShipEntity::weaponTypeIDForFacing:strict:.
NSDictionary * OODefaultShipShaderMacros | ( | void | ) |
Definition at line 14898 of file ShipEntity.m.
References ResourceManager::materialDefaults, and nil.
NSString * OODisplayStringFromAlertCondition | ( | OOAlertCondition | alertCondition | ) |
Definition at line 460 of file OOConstToString.m.
Referenced by PlayerEntity::setGuiToStatusScreen.
NSString * OOEquipmentIdentifierFromWeaponType | ( | OOWeaponType | weapon | ) |
Definition at line 280 of file OOConstToString.m.
References OOEquipmentType::identifier.
Referenced by Universe::tradeInValueForCommanderDictionary:.
NSString * OOStringFromBehaviour | ( | OOBehaviour | behaviour | ) |
Definition at line 51 of file OOConstToString.m.
Referenced by ShipEntity::dumpSelfState, and ShipEntity::update:.
NSString * OOStringFromShipDamageType | ( | OOShipDamageType | type | ) |
Definition at line 115 of file OOConstToString.m.
Referenced by PlayerEntity::getDestroyedBy:damageType:.
NSString * OOStringFromWeaponType | ( | OOWeaponType | weapon | ) |
Definition at line 264 of file OOConstToString.m.
References OOEquipmentType::identifier, and nil.
Referenced by HeadUpDisplay(Private)::crosshairDefinitionForWeaponType:.
OOWeaponType OOWeaponTypeFromEquipmentIdentifierLegacy | ( | NSString * | string | ) |
Definition at line 307 of file OOConstToString.m.
References OOWeaponTypeFromEquipmentIdentifierSloppy().
Referenced by PlayerEntity::setCommanderDataFromDictionary:.
OOWeaponType OOWeaponTypeFromEquipmentIdentifierSloppy | ( | NSString * | string | ) |
Definition at line 286 of file OOConstToString.m.
References OOEquipmentType::equipmentTypeWithIdentifier:, and nil.
Referenced by ShipEntity::behaviour_attack_target:, PlayerEntity(Contracts)::newShipCommonSetup:yardInfo:baseInfo:, OOWeaponTypeFromEquipmentIdentifierLegacy(), OOWeaponTypeFromEquipmentIdentifierStrict(), OOWeaponTypeFromString(), PlayerEntity(OOControlsPrivate)::pollGuiArrowKeyControls:, PlayerEntity::setCommanderDataFromDictionary:, Universe::shipsForSaleForSystem:withTL:atTime:, and StationAddShipToShipyard().
OOWeaponType OOWeaponTypeFromEquipmentIdentifierStrict | ( | NSString * | string | ) |
Definition at line 331 of file OOConstToString.m.
References OOWeaponTypeFromEquipmentIdentifierSloppy().
Referenced by ShipEntity::hasOneEquipmentItem:includeWeapons:whileLoading:, ShipEntity::setWeaponMount:toWeapon:, PlayerEntity::setWeaponMount:toWeapon:inContext:, and PlayerEntity(OOPrivate)::tryBuyingItem:.
OOWeaponType OOWeaponTypeFromString | ( | NSString * | string | ) |
Definition at line 274 of file OOConstToString.m.
References OOWeaponTypeFromEquipmentIdentifierSloppy().