|
Oolite
|
import "OOJSShip.h"import "OOJSEntity.h"import "OOJSWormhole.h"import "OOJSVector.h"import "OOJSQuaternion.h"import "OOJSEquipmentInfo.h"import "OOJavaScriptEngine.h"import "ShipEntity.h"import "ShipEntityAI.h"import "ShipEntityScriptMethods.h"import "StationEntity.h"import "WormholeEntity.h"import "AI.h"import "OOStringParsing.h"import "EntityOOJavaScriptExtensions.h"import "OORoleSet.h"import "OOJSPlayer.h"import "PlayerEntity.h"import "PlayerEntityScriptMethods.h"import "OOShipGroup.h"import "OOShipRegistry.h"import "OOEquipmentType.h"import "ResourceManager.h"import "OOCollectionExtractors.h"import "OOMesh.h"import "OOConstToString.h"import "OOEntityFilterPredicate.h"import "OOCharacter.h"
Include dependency graph for OOJSShip.m:Go to the source code of this file.
Macros | |
| #define | GET_THIS_SHIP(THISENT) |
Functions | |
| static JSBool | ShipGetProperty (JSContext *context, JSObject *this, jsid propID, jsval *value) |
| static JSBool | ShipSetProperty (JSContext *context, JSObject *this, jsid propID, JSBool strict, jsval *value) |
| static JSBool | ShipSetScript (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipSetAI (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipSwitchAI (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipExitAI (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipReactToAIMessage (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipSendAIMessage (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipDeployEscorts (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipDockEscorts (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipHasRole (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipEjectItem (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipEjectSpecificItem (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipDumpCargo (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipAddCargoEntity (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipSpawn (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipDealEnergyDamage (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipExplode (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipRemove (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipRunLegacyScriptActions (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipCommsMessage (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipFireECM (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipAbandonShip (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipCanAwardEquipment (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipAwardEquipment (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipAdjustCargo (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipRequestHelpFromGroup (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipPatrolReportIn (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipRemoveEquipment (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipRestoreSubEntities (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipHasEquipmentProviding (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipEquipmentStatus (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipSetEquipmentStatus (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipSelectNewMissile (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipFireMissile (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipFindNearestStation (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipSetBounty (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipSetCargo (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipSetMaterials (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipSetShaders (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipExitSystem (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipUpdateEscortFormation (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipClearDefenseTargets (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipAddDefenseTarget (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipRemoveDefenseTarget (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipAddCollisionException (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipRemoveCollisionException (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipGetMaterials (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipGetShaders (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipBecomeCascadeExplosion (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipBroadcastCascadeImminent (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipBroadcastDistressMessage (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipOfferToEscort (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipMarkTargetForFines (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipEnterWormhole (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipNotifyGroupOfWormhole (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipThrowSpark (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipPerformAttack (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipPerformCollect (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipPerformEscort (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipPerformFaceDestination (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipPerformFlee (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipPerformFlyToRangeFromDestination (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipPerformHold (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipPerformIdle (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipPerformIntercept (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipPerformLandOnPlanet (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipPerformMining (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipPerformScriptedAI (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipPerformScriptedAttackAI (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipPerformStop (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipPerformTumble (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipRequestDockingInstructions (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipRecallDockingInstructions (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipCheckCourseToDestination (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipGetSafeCourseToDestination (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipCheckScanner (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipThreatAssessment (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipDamageAssessment (JSContext *context, uintN argc, jsval *vp) |
| static double | ShipThreatAssessmentWeapon (OOWeaponType wt) |
| static JSBool | ShipSetCargoType (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipSetCrew (JSContext *context, uintN argc, jsval *vp) |
| static BOOL | RemoveOrExplodeShip (JSContext *context, uintN argc, jsval *vp, BOOL explode) |
| static JSBool | ShipSetMaterialsInternal (JSContext *context, uintN argc, jsval *vp, ShipEntity *thisEnt, BOOL fromShaders) |
| static JSBool | ShipStaticKeysForRole (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipStaticKeys (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipStaticRoles (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipStaticRoleIsInCategory (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipStaticShipDataForKey (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | ShipStaticSetShipDataForKey (JSContext *context, uintN argc, jsval *vp) |
| void | InitOOJSShip (JSContext *context, JSObject *global) |
| JSClass * | JSShipClass (void) |
| JSObject * | JSShipPrototype (void) |
Variables | |
| static JSObject * | sShipPrototype |
| static JSClass | sShipClass |
| static JSPropertySpec | sShipProperties [] |
| static JSFunctionSpec | sShipMethods [] |
| static JSFunctionSpec | sShipStaticMethods [] |
| #define GET_THIS_SHIP | ( | THISENT | ) |
Definition at line 1925 of file OOJSShip.m.
| anonymous enum |
Definition at line 182 of file OOJSShip.m.
| void InitOOJSShip | ( | JSContext * | context, |
| JSObject * | global | ||
| ) |
Definition at line 587 of file OOJSShip.m.
References JSEntityClass(), JSEntityPrototype(), OOJSBasicPrivateObjectConverter(), OOJSRegisterObjectConverter(), OOJSRegisterSubclass(), OOJSUnconstructableConstruct(), sShipClass, sShipMethods, sShipProperties, sShipPrototype, and sShipStaticMethods.
Here is the call graph for this function:| JSClass * JSShipClass | ( | void | ) |
Definition at line 595 of file OOJSShip.m.
References sShipClass.
Referenced by InitOOJSDock(), InitOOJSPlayerShip(), and InitOOJSStation().
Here is the caller graph for this function:| JSObject * JSShipPrototype | ( | void | ) |
Definition at line 601 of file OOJSShip.m.
References sShipPrototype.
Referenced by InitOOJSDock(), InitOOJSPlayerShip(), and InitOOJSStation().
Here is the caller graph for this function:
|
static |
Definition at line 3351 of file OOJSShip.m.
References EXPECT_NOT, GET_THIS_SHIP, nil, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, OOJS_RETURN_VOID, OOJSReportError(), and UNIVERSE.
Referenced by ShipExplode(), and ShipRemove().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 2552 of file OOJSShip.m.
References GET_THIS_SHIP, nil, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, and OOJS_RETURN_BOOL.
|
static |
Definition at line 2210 of file OOJSShip.m.
References EXPECT_NOT, GET_THIS_SHIP, MIN, nil, OOJS_ARGV, OOJS_BEGIN_FULL_NATIVE, OOJS_END_FULL_NATIVE, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_RETURN_BOOL, OOJSReportBadArguments(), OOJSReportWarningForCaller(), and ShipEntity::scoopUpProcess:processEvents:processMessages:.
Here is the call graph for this function:
|
static |
Definition at line 3458 of file OOJSShip.m.
References ShipEntity::addCollisionException:, EXPECT_NOT, GET_THIS_SHIP, nil, OOJS_ARGV, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, OOJS_RETURN_VOID, and OOJSReportBadArguments().
Here is the call graph for this function:
|
static |
Definition at line 3414 of file OOJSShip.m.
References EXPECT_NOT, GET_THIS_SHIP, nil, OOJS_ARGV, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, OOJS_RETURN_VOID, and OOJSReportBadArguments().
Here is the call graph for this function:
|
static |
Definition at line 4053 of file OOJSShip.m.
References CARGO_NOT_CARGO, GET_THIS_SHIP, nil, OOJS_ARGV, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, OOJS_RETURN_BOOL, OOJSReportBadArguments(), OOJSReportError(), and OOStringFromJSValue().
Here is the call graph for this function:
|
static |
Definition at line 2616 of file OOJSShip.m.
References PlayerEntity::addEquipmentItem:withValidation:inContext:, ShipEntity::addEquipmentItem:withValidation:inContext:, ShipEntity::availableCargoSpace, OOEquipmentType::canCarryMultiple, PlayerEntity::changePassengerBerths:, ShipEntity::doScriptEvent:withArgument:, EXPECT_NOT, GET_THIS_SHIP, ShipEntity::hasEquipmentItem:, OOEquipmentType::identifier, JSValueToEquipmentType(), MIN, PlayerEntity::mountMissileWithRole:, nil, OOJS_ARGV, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_RETURN_BOOL, OOJSReportBadArguments(), PlayerEntity::removeMissiles, ShipEntity::removeMissiles, and OOEquipmentType::requiredCargoSpace.
Here is the call graph for this function:
|
static |
Definition at line 3555 of file OOJSShip.m.
References GET_THIS_SHIP, nil, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, and OOJS_RETURN_VOID.
|
static |
Definition at line 3542 of file OOJSShip.m.
References GET_THIS_SHIP, nil, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, and OOJS_RETURN_VOID.
|
static |
Definition at line 3972 of file OOJSShip.m.
References GET_THIS_SHIP, nil, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, and OOJS_RETURN_VOID.
|
static |
Definition at line 2566 of file OOJSShip.m.
References ShipEntity::canAddEquipment:inContext:, EXPECT_NOT, GET_THIS_SHIP, JSValueToEquipmentKeyRelaxed(), MIN, nil, OOJS_ARGV, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_RETURN_BOOL, OOJSReportBadArguments(), and OOStringFromJSValue().
Here is the call graph for this function:
|
static |
Definition at line 3986 of file OOJSShip.m.
References GET_THIS_SHIP, nil, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, and OOJS_RETURN_OBJECT.
|
static |
Definition at line 4017 of file OOJSShip.m.
References EXPECT_NOT, GET_THIS_SHIP, nil, OOJS_ARGV, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, OOJS_RETURN_OBJECT, and OOJSReportBadArguments().
Here is the call graph for this function:
|
static |
Definition at line 3400 of file OOJSShip.m.
References GET_THIS_SHIP, nil, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, and OOJS_RETURN_VOID.
|
static |
Definition at line 2498 of file OOJSShip.m.
References ShipEntity::commsMessage:withUnpilotedOverride:, EXPECT_NOT, GET_THIS_SHIP, MIN, nil, OOJS_ARGV, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_RETURN_VOID, OOJSReportBadArguments(), OOStringFromJSValue(), and ShipEntity::sendMessage:toShip:withUnpilotedOverride:.
Here is the call graph for this function:
|
static |
Definition at line 4103 of file OOJSShip.m.
References count, GET_THIS_SHIP, nil, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, and OOJS_RETURN_INT.
|
static |
Definition at line 2365 of file OOJSShip.m.
References ShipEntity::dealEnergyDamage:atRange:withBias:, EXPECT_NOT, GET_THIS_SHIP, nil, OOJS_ARGV, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_RETURN_VOID, and OOJSReportBadArguments().
Here is the call graph for this function:
|
static |
Definition at line 2109 of file OOJSShip.m.
References ShipEntity::deployEscorts, GET_THIS_SHIP, nil, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, and OOJS_RETURN_VOID.
Here is the call graph for this function:
|
static |
Definition at line 2125 of file OOJSShip.m.
References ShipEntity::dockEscorts, GET_THIS_SHIP, nil, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, and OOJS_RETURN_VOID.
Here is the call graph for this function:
|
static |
Definition at line 2289 of file OOJSShip.m.
References count, EXPECT_NOT, GET_THIS_SHIP, MIN, nil, OOJS_ARGV, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_RETURN_NULL, OOJS_RETURN_OBJECT, OOJSReportBadArguments(), OOJSReportWarningForCaller(), and OOStringFromJSValue().
Here is the call graph for this function:
|
static |
Definition at line 2187 of file OOJSShip.m.
References EXPECT_NOT, GET_THIS_SHIP, MIN, nil, OOJS_ARGV, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_RETURN_OBJECT, OOJSReportBadArguments(), and OOStringFromJSValue().
Here is the call graph for this function:
|
static |
Definition at line 2266 of file OOJSShip.m.
References EXPECT_NOT, GET_THIS_SHIP, MIN, nil, OOJS_ARGV, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_RETURN_OBJECT, OOJSReportBadArguments(), and OOStringFromJSValue().
Here is the call graph for this function:
|
static |
Definition at line 3653 of file OOJSShip.m.
References EXPECT_NOT, GET_THIS_SHIP, nil, OOJS_ARGV, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, OOJS_RETURN_VOID, OOJSReportBadArguments(), OOJSReportError(), and PLAYER.
Here is the call graph for this function:
|
static |
Definition at line 2894 of file OOJSShip.m.
References ShipEntity::countEquipmentItem:, EXPECT_NOT, GET_THIS_SHIP, JSValueToEquipmentKey(), MIN, nil, OOJS_ARGV, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_RETURN, OOJS_RETURN_OBJECT, and OOJSReportBadArguments().
Here is the call graph for this function:
|
static |
Definition at line 2016 of file OOJSShip.m.
References AI::exitStateMachineWithMessage:, EXPECT_NOT, GET_THIS_SHIP, ShipEntity::getAI, nil, OOJS_ARGV, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_RETURN_VOID, OOJSReportErrorForCaller(), OOJSReportWarningForCaller(), and OOStringFromJSValue().
Here is the call graph for this function:
|
static |
Definition at line 3306 of file OOJSShip.m.
References EXPECT_NOT, GET_THIS_SHIP, MIN, nil, OOJS_ARGV, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_RETURN_BOOL, OOJSReportBadArguments(), OOJSReportErrorForCaller(), and ShipEntity::performHyperSpaceToSpecificSystem:.
Here is the call graph for this function:
|
static |
Definition at line 2415 of file OOJSShip.m.
References OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, and RemoveOrExplodeShip().
Here is the call graph for this function:
|
static |
Definition at line 2998 of file OOJSShip.m.
References GET_THIS_SHIP, nil, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_RETURN_OBJECT, and UNIVERSE.
|
static |
Definition at line 2530 of file OOJSShip.m.
References ShipEntity::fireECM, GET_THIS_SHIP, nil, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_RETURN_BOOL, and OOJSReportWarning().
Here is the call graph for this function:
|
static |
Definition at line 2979 of file OOJSShip.m.
References ShipEntity::fireMissile, ShipEntity::fireMissileWithIdentifier:andTarget:, GET_THIS_SHIP, nil, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_RETURN_OBJECT, and ShipEntity::primaryTarget.
Here is the call graph for this function:
|
static |
Definition at line 3509 of file OOJSShip.m.
References GET_THIS_SHIP, nil, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, and OOJS_RETURN_OBJECT.
|
static |
Definition at line 607 of file OOJSShip.m.
References ShipEntity::aftWeaponOffset, ShipEntity::beaconCode, ShipEntity::beaconLabel, Entity::boundingBox, ShipEntity::cargoListForScripting, ShipEntity::collisionExceptions, ShipEntity::commodityType, ShipEntity::contractListForScripting, count, ShipEntity::crewForScripting, ShipEntity::currentWeaponFacing, ShipEntity::defenseTargetCount, ShipEntity::defenseTargetEnumerator, ShipEntity::displayName, ShipEntity::dockingInstructions, ShipEntity::equipmentListForScripting, ShipEntity::escortGroup, ShipEntity::exhaustEmissiveColor, ShipEntity::exhaustEnumerator, EXPECT_NOT, ShipEntity::flasherEnumerator, ShipEntity::forwardWeaponOffset, ShipEntity::foundTarget, ShipEntity::getAI, ShipEntity::group, HPVectorToJSValue(), kShip_accuracy, kShip_aftWeapon, kShip_AI, kShip_AIFoundTarget, kShip_AIPrimaryAggressor, kShip_AIScript, kShip_AIScriptWakeTime, kShip_AIState, kShip_alertCondition, kShip_autoAI, kShip_autoWeapons, kShip_beaconCode, kShip_beaconLabel, kShip_boundingBox, kShip_bounty, kShip_cargoList, kShip_cargoSpaceAvailable, kShip_cargoSpaceCapacity, kShip_cargoSpaceUsed, kShip_cloakAutomatic, kShip_collisionExceptions, kShip_commodity, kShip_commodityAmount, kShip_contracts, kShip_crew, kShip_cruiseSpeed, kShip_currentWeapon, kShip_dataKey, kShip_defenseTargets, kShip_desiredRange, kShip_desiredSpeed, kShip_destination, kShip_destinationSystem, kShip_displayName, kShip_dockingInstructions, kShip_energyRechargeRate, kShip_entityPersonality, kShip_equipment, kShip_escortGroup, kShip_escorts, kShip_exhaustEmissiveColor, kShip_exhausts, kShip_extraCargo, kShip_flashers, kShip_forwardWeapon, kShip_fuel, kShip_fuelChargeRate, kShip_group, kShip_hasHostileTarget, kShip_hasHyperspaceMotor, kShip_hasSuspendedAI, kShip_heading, kShip_heatInsulation, kShip_homeSystem, kShip_hyperspaceSpinTime, kShip_injectorBurnRate, kShip_injectorSpeedFactor, kShip_isBeacon, kShip_isBoulder, kShip_isCargo, kShip_isCloaked, kShip_isDerelict, kShip_isFleeing, kShip_isFrangible, kShip_isJamming, kShip_isMinable, kShip_isMine, kShip_isMissile, kShip_isPiloted, kShip_isPirate, kShip_isPirateVictim, kShip_isPolice, kShip_isRock, kShip_isThargoid, kShip_isTrader, kShip_isTurret, kShip_isWeapon, kShip_laserHeatLevel, kShip_laserHeatLevelAft, kShip_laserHeatLevelForward, kShip_laserHeatLevelPort, kShip_laserHeatLevelStarboard, kShip_lightsActive, kShip_markedForFines, kShip_maxEscorts, kShip_maxPitch, kShip_maxRoll, kShip_maxSpeed, kShip_maxThrust, kShip_maxYaw, kShip_missileCapacity, kShip_missileLoadTime, kShip_missiles, kShip_name, kShip_parcelCount, kShip_parcels, kShip_passengerCapacity, kShip_passengerCount, kShip_passengers, kShip_pitch, kShip_portWeapon, kShip_potentialCollider, kShip_primaryRole, kShip_reactionTime, kShip_reportAIMessages, kShip_roles, kShip_roleWeights, kShip_roll, kShip_savedCoordinates, kShip_scanDescription, kShip_scannerDisplayColor1, kShip_scannerDisplayColor2, kShip_scannerHostileDisplayColor1, kShip_scannerHostileDisplayColor2, kShip_scannerRange, kShip_script, kShip_scriptedMisjump, kShip_scriptedMisjumpRange, kShip_scriptInfo, kShip_shipClassName, kShip_shipUniqueName, kShip_speed, kShip_starboardWeapon, kShip_subEntities, kShip_subEntityCapacity, kShip_subEntityRotation, kShip_sunGlareFilter, kShip_target, kShip_temperature, kShip_thrust, kShip_thrustVector, kShip_trackCloseContacts, kShip_vectorForward, kShip_vectorRight, kShip_vectorUp, kShip_velocity, kShip_weaponFacings, kShip_weaponPositionAft, kShip_weaponPositionForward, kShip_weaponPositionPort, kShip_weaponPositionStarboard, kShip_weaponRange, kShip_withinStationAegis, kShip_yaw, OOShipGroup::memberArrayExcludingLeader, ShipEntity::missilesList, AI::name, ShipEntity::name, nil, OOColor::normalizedArray, OOIsStaleEntity(), OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJSReportBadPropertySelector(), OOJSValueFromBOOL(), OOJSValueFromNativeObject(), ShipEntity::parcelListForScripting, ShipEntity::passengerListForScripting, PLAYER_FLEEING_CARGO, ShipEntity::portWeaponOffset, ShipEntity::primaryAggressor, ShipEntity::primaryRole, ShipEntity::primaryTarget, ShipEntity::proximityAlert, QuaternionToJSValue(), OORoleSet::rolesAndProbabilities, ShipEntity::roleSet, ShipEntity::scanDescriptionForScripting, ShipEntity::scannerDisplayColor1, ShipEntity::scannerDisplayColor2, ShipEntity::scannerDisplayColorHostile1, ShipEntity::scannerDisplayColorHostile2, ShipEntity::scriptInfo, SHIP_MAX_CABIN_TEMP, ShipEntity::shipAIScript, ShipEntity::shipClassName, ShipEntity::shipDataKey, ShipEntity::shipScript, ShipEntity::shipUniqueName, OORoleSet::sortedRoles, sShipProperties, ShipEntity::starboardWeaponOffset, AI::state, ShipEntity::subEntitiesForScript, ShipEntity::totalBoundingBox, ShipEntity::validateDefenseTargets, VectorToJSValue(), and ShipEntity::weaponTypeForFacing:strict:.
Here is the call graph for this function:
|
static |
Definition at line 4001 of file OOJSShip.m.
References GET_THIS_SHIP, nil, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, and OOJS_RETURN_HPVECTOR.
|
static |
Definition at line 3526 of file OOJSShip.m.
References GET_THIS_SHIP, nil, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, and OOJS_RETURN_OBJECT.
|
static |
Definition at line 2141 of file OOJSShip.m.
References EXPECT_NOT, GET_THIS_SHIP, MIN, nil, OOJS_ARGV, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_RETURN_BOOL, OOJSReportBadArguments(), and OOStringFromJSValue().
Here is the call graph for this function:
|
static |
Definition at line 2164 of file OOJSShip.m.
References EXPECT_NOT, GET_THIS_SHIP, MIN, nil, OOJS_ARGV, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_RETURN_BOOL, OOJSReportBadArguments(), and OOStringFromJSValue().
Here is the call graph for this function:
|
static |
Definition at line 3632 of file OOJSShip.m.
References GET_THIS_SHIP, ShipEntity::markForFines, nil, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, and OOJS_RETURN_BOOL.
Here is the call graph for this function:
|
static |
Definition at line 3688 of file OOJSShip.m.
References GET_THIS_SHIP, nil, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, and OOJS_RETURN_VOID.
|
static |
Definition at line 3569 of file OOJSShip.m.
References EXPECT_NOT, GET_THIS_SHIP, nil, OOJS_ARGV, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, OOJS_RETURN_BOOL, and OOJSReportBadArguments().
Here is the call graph for this function:
|
static |
Definition at line 3607 of file OOJSShip.m.
References StationEntity::acceptPatrolReportFrom:, EXPECT_NOT, GET_THIS_SHIP, nil, OOJS_ARGV, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, OOJS_RETURN_VOID, and OOJSReportBadArguments().
Here is the call graph for this function:
|
static |
Definition at line 3718 of file OOJSShip.m.
References GET_THIS_SHIP, nil, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, and OOJS_RETURN_VOID.
|
static |
Definition at line 3732 of file OOJSShip.m.
References GET_THIS_SHIP, nil, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, and OOJS_RETURN_VOID.
|
static |
Definition at line 3746 of file OOJSShip.m.
References GET_THIS_SHIP, nil, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, and OOJS_RETURN_VOID.
|
static |
Definition at line 3760 of file OOJSShip.m.
References GET_THIS_SHIP, nil, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, and OOJS_RETURN_VOID.
|
static |
Definition at line 3774 of file OOJSShip.m.
References GET_THIS_SHIP, nil, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, and OOJS_RETURN_VOID.
|
static |
Definition at line 3788 of file OOJSShip.m.
References GET_THIS_SHIP, nil, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, and OOJS_RETURN_VOID.
|
static |
Definition at line 3802 of file OOJSShip.m.
References GET_THIS_SHIP, nil, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, and OOJS_RETURN_VOID.
|
static |
Definition at line 3816 of file OOJSShip.m.
References GET_THIS_SHIP, nil, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, and OOJS_RETURN_VOID.
|
static |
Definition at line 3830 of file OOJSShip.m.
References GET_THIS_SHIP, nil, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, and OOJS_RETURN_VOID.
|
static |
Definition at line 3844 of file OOJSShip.m.
References GET_THIS_SHIP, nil, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, and OOJS_RETURN_VOID.
|
static |
Definition at line 3858 of file OOJSShip.m.
References GET_THIS_SHIP, nil, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, and OOJS_RETURN_VOID.
|
static |
Definition at line 3872 of file OOJSShip.m.
References GET_THIS_SHIP, nil, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, and OOJS_RETURN_VOID.
|
static |
Definition at line 3886 of file OOJSShip.m.
References GET_THIS_SHIP, nil, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, and OOJS_RETURN_VOID.
|
static |
Definition at line 3900 of file OOJSShip.m.
References GET_THIS_SHIP, nil, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, and OOJS_RETURN_VOID.
|
static |
Definition at line 3914 of file OOJSShip.m.
References GET_THIS_SHIP, nil, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, and OOJS_RETURN_VOID.
|
static |
Definition at line 2053 of file OOJSShip.m.
References EXPECT_NOT, GET_THIS_SHIP, MIN, nil, OOJS_ARGV, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_RETURN_VOID, OOJSReportBadArguments(), OOJSReportErrorForCaller(), OOStringFromJSValue(), and ShipEntity::reactToAIMessage:context:.
Here is the call graph for this function:
|
static |
Definition at line 3950 of file OOJSShip.m.
References GET_THIS_SHIP, nil, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, OOJS_RETURN_NULL, and OOJS_RETURN_OBJECT.
|
static |
Definition at line 2426 of file OOJSShip.m.
References ShipEntity::doScriptEvent:withArgument:, EXPECT_NOT, GET_THIS_SHIP, nil, OOJS_ARGV, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJSReportBadArguments(), OOJSReportError(), RemoveOrExplodeShip(), and ShipEntity::removeScript.
Here is the call graph for this function:
|
static |
Definition at line 3484 of file OOJSShip.m.
References EXPECT_NOT, GET_THIS_SHIP, nil, OOJS_ARGV, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, OOJS_RETURN_VOID, OOJSReportBadArguments(), and ShipEntity::removeCollisionException:.
Here is the call graph for this function:
|
static |
Definition at line 3436 of file OOJSShip.m.
References EXPECT_NOT, GET_THIS_SHIP, nil, OOJS_ARGV, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, OOJS_RETURN_VOID, and OOJSReportBadArguments().
Here is the call graph for this function:
|
static |
Definition at line 2709 of file OOJSShip.m.
References EXPECT_NOT, GET_THIS_SHIP, ShipEntity::hasOneEquipmentItem:includeMissiles:whileLoading:, JSValueToEquipmentKey(), MIN, nil, OOJS_ARGV, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_RETURN_BOOL, OOJSReportBadArguments(), ShipEntity::passengerCapacity, and ShipEntity::removeEquipmentItem:.
Here is the call graph for this function:
|
static |
Definition at line 3928 of file OOJSShip.m.
References GET_THIS_SHIP, nil, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, OOJS_RETURN_NULL, and OOJS_RETURN_OBJECT.
|
static |
Definition at line 3591 of file OOJSShip.m.
References GET_THIS_SHIP, nil, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, and OOJS_RETURN_VOID.
|
static |
Definition at line 2768 of file OOJSShip.m.
References ShipEntity::clearSubEntities, count, GET_THIS_SHIP, int(), MAX, nil, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_RETURN_BOOL, PLAYER_SHIP_SUBENTITY_TRADE_IN_VALUE, ShipEntity::setUpSubEntities, and ShipEntity::subEntitiesForScript.
Here is the call graph for this function:
|
static |
Definition at line 2460 of file OOJSShip.m.
References EXPECT_NOT, GET_THIS_SHIP, ShipEntity::name, nil, OOJS_ARGV, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_RETURN_VOID, OOJSNativeObjectFromJSValue(), OOJSReportBadArguments(), OOPlayerForScripting(), PlayerEntity::runUnsanitizedScriptActions:allowingAIMethods:withContextName:forTarget:, and PlayerEntity::setScriptTarget:.
Here is the call graph for this function:
|
static |
Definition at line 2960 of file OOJSShip.m.
References GET_THIS_SHIP, OOEquipmentType::identifier, nil, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_RETURN_OBJECT, and ShipEntity::selectMissile.
Here is the call graph for this function:
|
static |
Definition at line 2081 of file OOJSShip.m.
References EXPECT_NOT, GET_THIS_SHIP, MIN, nil, OOJS_ARGV, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_RETURN_VOID, OOJSReportBadArguments(), OOJSReportErrorForCaller(), OOStringFromJSValue(), and ShipEntity::sendAIMessage:.
Here is the call graph for this function:
|
static |
Definition at line 1960 of file OOJSShip.m.
References EXPECT_NOT, GET_THIS_SHIP, MIN, nil, OOJS_ARGV, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_RETURN_VOID, OOJSReportBadArguments(), OOJSReportErrorForCaller(), OOStringFromJSValue(), and ShipEntity::setAITo:.
Here is the call graph for this function:
|
static |
Definition at line 3028 of file OOJSShip.m.
References EXPECT_NOT, GET_THIS_SHIP, nil, OOJS_ARGV, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJSReportBadArguments(), OOStringFromJSValue(), and ShipEntity::setBounty:withReasonAsString:.
Here is the call graph for this function:
|
static |
Definition at line 3056 of file OOJSShip.m.
References count, EXPECT_NOT, GET_THIS_SHIP, nil, OOJS_ARGV, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_RETURN_BOOL, OOJSReportBadArguments(), OOStringFromJSValue(), ShipEntity::setCommodityForPod:andAmount:, and UNIVERSE.
Here is the call graph for this function:
|
static |
Definition at line 3131 of file OOJSShip.m.
References CARGO_NOT_CARGO, EXPECT_NOT, GET_THIS_SHIP, nil, OOJS_ARGV, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_RETURN_BOOL, OOJSReportBadArguments(), OOStringFromJSValue(), ShipEntity::setCargoFlag:, and ShipEntity::shipDataKey.
Here is the call graph for this function:
|
static |
Definition at line 3087 of file OOJSShip.m.
References OOCharacter::characterWithDictionary:, GET_THIS_SHIP, MIN, nil, OOJS_ARGV, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_RETURN_BOOL, OOJSNativeObjectFromJSObject(), OOJSReportBadArguments(), and ShipEntity::setCrew:.
Here is the call graph for this function:
|
static |
Definition at line 2799 of file OOJSShip.m.
References ShipEntity::addEquipmentItem:withValidation:inContext:, ShipEntity::doScriptEvent:withArgument:, EXPECT_NOT, GET_THIS_SHIP, ShipEntity::hasEquipmentItem:, OOEquipmentType::identifier, JSValueToEquipmentType(), nil, OOJS_ARGV, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_RETURN_BOOL, OOJSReportBadArguments(), OOJSReportErrorForCaller(), OOJSReportWarningForCaller(), OOStringFromJSValue(), and ShipEntity::removeEquipmentItem:.
Here is the call graph for this function:
|
static |
Definition at line 3182 of file OOJSShip.m.
References GET_THIS_SHIP, nil, OOJS_ARGV, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJSReportBadArguments(), and ShipSetMaterialsInternal().
Here is the call graph for this function:
|
static |
Definition at line 3231 of file OOJSShip.m.
References GET_THIS_SHIP, ResourceManager::materialDefaults, OOMesh::materials, ShipEntity::mesh, OOMesh::meshWithName:cacheKey:materialDictionary:shadersDictionary:smooth:shaderMacros:shaderBindingTarget:, nil, OOJS_ARGV, OOJS_BEGIN_FULL_NATIVE, OOJS_END_FULL_NATIVE, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, OOJS_RETURN_BOOL, OOJSNativeObjectFromJSObject(), OOJSReportWarning(), OOStringFromJSValueEvenIfNull(), ShipEntity::setMesh:, OOMesh::shaders, and ShipEntity::shipInfoDictionary.
Referenced by ShipSetMaterials(), and ShipSetShaders().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 1200 of file OOJSShip.m.
References ShipEntity::availableCargoSpace, OOColor::colorWithDescription:, count, ShipEntity::currentWeaponFacing, ENTITY_PERSONALITY_MAX, EXPECT_NOT, ShipEntity::getAI, HYPERSPEED_FACTOR, JSValueToEntity(), JSValueToEquipmentKeyRelaxed(), JSValueToHPVector(), JSValueToQuaternion(), JSValueToVector(), kShip_accuracy, kShip_aftWeapon, kShip_AIFoundTarget, kShip_AIPrimaryAggressor, kShip_AIScriptWakeTime, kShip_AIState, kShip_beaconCode, kShip_beaconLabel, kShip_bounty, kShip_cargoSpaceCapacity, kShip_cloakAutomatic, kShip_currentWeapon, kShip_desiredRange, kShip_desiredSpeed, kShip_destination, kShip_destinationSystem, kShip_displayName, kShip_energyRechargeRate, kShip_entityPersonality, kShip_exhaustEmissiveColor, kShip_forwardWeapon, kShip_fuel, kShip_group, kShip_heatInsulation, kShip_homeSystem, kShip_hyperspaceSpinTime, kShip_injectorBurnRate, kShip_injectorSpeedFactor, kShip_isBoulder, kShip_isCloaked, kShip_lightsActive, kShip_maxEscorts, kShip_maxPitch, kShip_maxRoll, kShip_maxSpeed, kShip_maxThrust, kShip_maxYaw, kShip_missileLoadTime, kShip_name, kShip_portWeapon, kShip_primaryRole, kShip_reactionTime, kShip_reportAIMessages, kShip_savedCoordinates, kShip_scanDescription, kShip_scannerDisplayColor1, kShip_scannerDisplayColor2, kShip_scannerHostileDisplayColor1, kShip_scannerHostileDisplayColor2, kShip_scriptedMisjump, kShip_scriptedMisjumpRange, kShip_shipClassName, kShip_shipUniqueName, kShip_starboardWeapon, kShip_subEntityRotation, kShip_sunGlareFilter, kShip_target, kShip_temperature, kShip_thrust, kShip_trackCloseContacts, kShip_velocity, MAX_ESCORTS, MAX_JUMP_RANGE, ShipEntity::maxAvailableCargoSpace, ShipEntity::maxThrust, MIN_HYPERSPEED_FACTOR, nil, OOIsStaleEntity(), OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJSNativeObjectOfClassFromJSValue(), OOJSReportBadPropertySelector(), OOJSReportBadPropertyValue(), OOJSReportError(), OOStringFromJSPropertyIDAndSpec(), OOStringFromJSValue(), PLAYER, ShipEntity::setAccuracy:, ShipEntity::setAfterburnerFactor:, ShipEntity::setAfterburnerRate:, ShipEntity::setAIScriptWakeTime:, ShipEntity::setAutoCloak:, ShipEntity::setBeaconCode:, ShipEntity::setBeaconLabel:, ShipEntity::setBounty:withReason:, ShipEntity::setCloaked:, ShipEntity::setCoordinate:, ShipEntity::setDesiredRange:, ShipEntity::setDesiredSpeed:, ShipEntity::setDestinationSystem:, ShipEntity::setDisplayName:, ShipEntity::setEnergyRechargeRate:, ShipEntity::setEntityPersonalityInt:, ShipEntity::setEscortDestination:, ShipEntity::setExhaustEmissiveColor:, ShipEntity::setFoundTarget:, ShipEntity::setFuel:, ShipEntity::setGroup:, ShipEntity::setHeatInsulation:, ShipEntity::setHomeSystem:, ShipEntity::setHyperspaceSpinTime:, ShipEntity::setIsBoulder:, ShipEntity::setMaxAvailableCargoSpace:, ShipEntity::setMaxEscortCount:, ShipEntity::setMaxFlightPitch:, ShipEntity::setMaxFlightRoll:, ShipEntity::setMaxFlightSpeed:, ShipEntity::setMaxFlightYaw:, ShipEntity::setMaxThrust:, ShipEntity::setMissileLoadTime:, ShipEntity::setName:, ShipEntity::setPrimaryAggressor:, ShipEntity::setPrimaryRole:, ShipEntity::setReactionTime:, ShipEntity::setReportAIMessages:, ShipEntity::setScanDescription:, ShipEntity::setScannerDisplayColor1:, ShipEntity::setScannerDisplayColor2:, ShipEntity::setScannerDisplayColorHostile1:, ShipEntity::setScannerDisplayColorHostile2:, ShipEntity::setScriptedMisjump:, ShipEntity::setScriptedMisjumpRange:, ShipEntity::setShipClassName:, ShipEntity::setShipUniqueName:, AI::setState:, ShipEntity::setSubEntityRotationalVelocity:, ShipEntity::setSunGlareFilter:, ShipEntity::setTargetForScript:, ShipEntity::setTemperature:, ShipEntity::setThrust:, ShipEntity::setTotalVelocity:, ShipEntity::setTrackCloseContacts:, ShipEntity::setWeaponMount:toWeapon:, PlayerEntity::setWeaponMount:toWeapon:inContext:, sShipProperties, ShipEntity::switchLightsOff, ShipEntity::switchLightsOn, WEAPON_FACING_AFT, WEAPON_FACING_FORWARD, WEAPON_FACING_PORT, and WEAPON_FACING_STARBOARD.
Here is the call graph for this function:
|
static |
Definition at line 1932 of file OOJSShip.m.
References EXPECT_NOT, GET_THIS_SHIP, MIN, nil, OOJS_ARGV, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_RETURN_VOID, OOJSReportBadArguments(), OOJSReportErrorForCaller(), OOStringFromJSValue(), and ShipEntity::setShipScript:.
Here is the call graph for this function:
|
static |
Definition at line 3203 of file OOJSShip.m.
References GET_THIS_SHIP, nil, OOJS_ARGV, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_RETURN_BOOL, OOJSReportBadArguments(), OOJSReportWarning(), OOStringFromJSValueEvenIfNull(), and ShipSetMaterialsInternal().
Here is the call graph for this function:
|
static |
Definition at line 2334 of file OOJSShip.m.
References count, EXPECT_NOT, GET_THIS_SHIP, MIN, nil, OOJS_ARGV, OOJS_BEGIN_FULL_NATIVE, OOJS_END_FULL_NATIVE, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_RETURN_OBJECT, OOJSReportBadArguments(), OOStringFromJSValue(), and ShipEntity::spawnShipsWithRole:count:.
Here is the call graph for this function:
|
static |
Static methods
Definition at line 4296 of file OOJSShip.m.
References OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_RETURN_OBJECT, OOShipRegistry::sharedRegistry, and OOShipRegistry::shipKeys.
Here is the call graph for this function:
|
static |
Definition at line 4307 of file OOJSShip.m.
References MIN, nil, OOJS_ARGV, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_RETURN_OBJECT, OOJSReportBadArguments(), OOStringFromJSValue(), OOShipRegistry::sharedRegistry, and OOShipRegistry::shipKeysWithRole:.
Here is the call graph for this function:
|
static |
Definition at line 4328 of file OOJSShip.m.
References MIN, nil, OOJS_ARGV, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_RETURN_BOOL, OOJSReportBadArguments(), OOStringFromJSValue(), and UNIVERSE.
Here is the call graph for this function:
|
static |
Definition at line 4349 of file OOJSShip.m.
References OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_RETURN_OBJECT, OOShipRegistry::sharedRegistry, and OOShipRegistry::shipRoles.
Here is the call graph for this function:
|
static |
Definition at line 4381 of file OOJSShip.m.
References MIN, nil, OOJS_ARGV, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_RETURN_BOOL, OOJSNativeObjectFromJSObject(), OOJSReportBadArguments(), OOStringFromJSValue(), OOShipRegistry::setShipInfoForKey:with:, and OOShipRegistry::sharedRegistry.
Here is the call graph for this function:
|
static |
Definition at line 4361 of file OOJSShip.m.
References MIN, nil, OOJS_ARGV, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_RETURN_OBJECT, OOJSReportBadArguments(), OOStringFromJSValue(), OOShipRegistry::sharedRegistry, and OOShipRegistry::shipInfoForKey:.
Here is the call graph for this function:
|
static |
Definition at line 1988 of file OOJSShip.m.
References EXPECT_NOT, GET_THIS_SHIP, MIN, nil, OOJS_ARGV, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_RETURN_VOID, OOJSReportBadArguments(), OOJSReportErrorForCaller(), OOStringFromJSValue(), and ShipEntity::switchAITo:.
Here is the call graph for this function:
|
static |
Definition at line 4134 of file OOJSShip.m.
References EXPECT_NOT, GET_THIS_SHIP, isWeaponNone(), nil, OOJS_ARGV, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, OOJS_RETURN_DOUBLE, OOJSReportBadArguments(), PLAYER, PLAYER_FLEEING_CARGO, and ShipThreatAssessmentWeapon().
Here is the call graph for this function:
|
static |
Definition at line 4284 of file OOJSShip.m.
References nil, and OOEquipmentType::weaponThreatAssessment.
Referenced by ShipThreatAssessment().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 3703 of file OOJSShip.m.
References GET_THIS_SHIP, nil, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, and OOJS_RETURN_VOID.
|
static |
Definition at line 3338 of file OOJSShip.m.
References GET_THIS_SHIP, nil, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, and OOJS_RETURN_VOID.
|
static |
Definition at line 156 of file OOJSShip.m.
Referenced by InitOOJSShip(), and JSShipClass().
|
static |
Definition at line 484 of file OOJSShip.m.
Referenced by InitOOJSShip().
|
static |
Definition at line 332 of file OOJSShip.m.
Referenced by InitOOJSShip(), ShipGetProperty(), and ShipSetProperty().
|
static |
Definition at line 55 of file OOJSShip.m.
Referenced by InitOOJSShip(), and JSShipPrototype().
|
static |
Definition at line 571 of file OOJSShip.m.
Referenced by InitOOJSShip().