Oolite 1.91.0.7644-241112-7f5034b
|
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"
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.
Referenced by RemoveOrExplodeShip(), ShipAbandonShip(), ShipAddCargoEntity(), ShipAddCollisionException(), ShipAddDefenseTarget(), ShipAdjustCargo(), ShipAwardEquipment(), ShipBecomeCascadeExplosion(), ShipBroadcastCascadeImminent(), ShipBroadcastDistressMessage(), ShipCanAwardEquipment(), ShipCheckCourseToDestination(), ShipCheckScanner(), ShipClearDefenseTargets(), ShipCommsMessage(), ShipDamageAssessment(), ShipDealEnergyDamage(), ShipDeployEscorts(), ShipDockEscorts(), ShipDumpCargo(), ShipEjectItem(), ShipEjectSpecificItem(), ShipEnterWormhole(), ShipEquipmentStatus(), ShipExitAI(), ShipExitSystem(), ShipFindNearestStation(), ShipFireECM(), ShipFireMissile(), ShipGetMaterials(), ShipGetSafeCourseToDestination(), ShipGetShaders(), ShipHasEquipmentProviding(), ShipHasRole(), ShipMarkTargetForFines(), ShipNotifyGroupOfWormhole(), ShipOfferToEscort(), ShipPatrolReportIn(), ShipPerformAttack(), ShipPerformCollect(), ShipPerformEscort(), ShipPerformFaceDestination(), ShipPerformFlee(), ShipPerformFlyToRangeFromDestination(), ShipPerformHold(), ShipPerformIdle(), ShipPerformIntercept(), ShipPerformLandOnPlanet(), ShipPerformMining(), ShipPerformScriptedAI(), ShipPerformScriptedAttackAI(), ShipPerformStop(), ShipPerformTumble(), ShipReactToAIMessage(), ShipRecallDockingInstructions(), ShipRemove(), ShipRemoveCollisionException(), ShipRemoveDefenseTarget(), ShipRemoveEquipment(), ShipRequestDockingInstructions(), ShipRequestHelpFromGroup(), ShipRestoreSubEntities(), ShipRunLegacyScriptActions(), ShipSelectNewMissile(), ShipSendAIMessage(), ShipSetAI(), ShipSetBounty(), ShipSetCargo(), ShipSetCargoType(), ShipSetCrew(), ShipSetEquipmentStatus(), ShipSetMaterials(), ShipSetMaterialsInternal(), ShipSetScript(), ShipSetShaders(), ShipSpawn(), ShipSwitchAI(), ShipThreatAssessment(), ShipThrowSpark(), and ShipUpdateEscortFormation().
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.
JSClass * JSShipClass | ( | void | ) |
Definition at line 595 of file OOJSShip.m.
References sShipClass.
Referenced by InitOOJSDock(), InitOOJSPlayerShip(), and InitOOJSStation().
JSObject * JSShipPrototype | ( | void | ) |
Definition at line 601 of file OOJSShip.m.
References sShipPrototype.
Referenced by InitOOJSDock(), InitOOJSPlayerShip(), and InitOOJSStation().
|
static |
Definition at line 3352 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().
|
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:.
|
static |
Definition at line 3459 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().
|
static |
Definition at line 3415 of file OOJSShip.m.
References EXPECT_NOT, GET_THIS_SHIP, nil, OOJS_ARGV, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, OOJS_RETURN_VOID, and OOJSReportBadArguments().
|
static |
Definition at line 4054 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().
|
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.
|
static |
Definition at line 3556 of file OOJSShip.m.
References GET_THIS_SHIP, nil, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, and OOJS_RETURN_VOID.
|
static |
Definition at line 3543 of file OOJSShip.m.
References GET_THIS_SHIP, nil, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, and OOJS_RETURN_VOID.
|
static |
Definition at line 3973 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().
|
static |
Definition at line 3987 of file OOJSShip.m.
References GET_THIS_SHIP, nil, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, and OOJS_RETURN_OBJECT.
|
static |
Definition at line 4018 of file OOJSShip.m.
References EXPECT_NOT, GET_THIS_SHIP, nil, OOJS_ARGV, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, OOJS_RETURN_OBJECT, and OOJSReportBadArguments().
|
static |
Definition at line 3401 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:.
|
static |
Definition at line 4104 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().
|
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.
|
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.
|
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().
|
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().
|
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().
|
static |
Definition at line 3654 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.
|
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().
|
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().
|
static |
Definition at line 3307 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:.
|
static |
Definition at line 2415 of file OOJSShip.m.
References OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, and RemoveOrExplodeShip().
|
static |
Definition at line 2998 of file OOJSShip.m.
References GET_THIS_SHIP, nil, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, and OOJS_RETURN_OBJECT.
|
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().
|
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.
|
static |
Definition at line 3510 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:.
|
static |
Definition at line 4002 of file OOJSShip.m.
References GET_THIS_SHIP, nil, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, and OOJS_RETURN_HPVECTOR.
|
static |
Definition at line 3527 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().
|
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().
|
static |
Definition at line 3633 of file OOJSShip.m.
References GET_THIS_SHIP, ShipEntity::markForFines, nil, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, and OOJS_RETURN_BOOL.
|
static |
Definition at line 3689 of file OOJSShip.m.
References GET_THIS_SHIP, nil, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, and OOJS_RETURN_VOID.
|
static |
Definition at line 3570 of file OOJSShip.m.
References EXPECT_NOT, GET_THIS_SHIP, nil, OOJS_ARGV, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, OOJS_RETURN_BOOL, and OOJSReportBadArguments().
|
static |
Definition at line 3608 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().
|
static |
Definition at line 3719 of file OOJSShip.m.
References GET_THIS_SHIP, nil, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, and OOJS_RETURN_VOID.
|
static |
Definition at line 3733 of file OOJSShip.m.
References GET_THIS_SHIP, nil, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, and OOJS_RETURN_VOID.
|
static |
Definition at line 3747 of file OOJSShip.m.
References GET_THIS_SHIP, nil, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, and OOJS_RETURN_VOID.
|
static |
Definition at line 3761 of file OOJSShip.m.
References GET_THIS_SHIP, nil, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, and OOJS_RETURN_VOID.
|
static |
Definition at line 3775 of file OOJSShip.m.
References GET_THIS_SHIP, nil, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, and OOJS_RETURN_VOID.
|
static |
Definition at line 3789 of file OOJSShip.m.
References GET_THIS_SHIP, nil, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, and OOJS_RETURN_VOID.
|
static |
Definition at line 3803 of file OOJSShip.m.
References GET_THIS_SHIP, nil, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, and OOJS_RETURN_VOID.
|
static |
Definition at line 3817 of file OOJSShip.m.
References GET_THIS_SHIP, nil, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, and OOJS_RETURN_VOID.
|
static |
Definition at line 3831 of file OOJSShip.m.
References GET_THIS_SHIP, nil, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, and OOJS_RETURN_VOID.
|
static |
Definition at line 3845 of file OOJSShip.m.
References GET_THIS_SHIP, nil, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, and OOJS_RETURN_VOID.
|
static |
Definition at line 3859 of file OOJSShip.m.
References GET_THIS_SHIP, nil, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, and OOJS_RETURN_VOID.
|
static |
Definition at line 3873 of file OOJSShip.m.
References GET_THIS_SHIP, nil, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, and OOJS_RETURN_VOID.
|
static |
Definition at line 3887 of file OOJSShip.m.
References GET_THIS_SHIP, nil, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, and OOJS_RETURN_VOID.
|
static |
Definition at line 3901 of file OOJSShip.m.
References GET_THIS_SHIP, nil, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, and OOJS_RETURN_VOID.
|
static |
Definition at line 3915 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:.
|
static |
Definition at line 3951 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.
|
static |
Definition at line 3485 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:.
|
static |
Definition at line 3437 of file OOJSShip.m.
References EXPECT_NOT, GET_THIS_SHIP, nil, OOJS_ARGV, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, OOJS_RETURN_VOID, and OOJSReportBadArguments().
|
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:.
|
static |
Definition at line 3929 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 3592 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.
|
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:.
|
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.
|
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:.
|
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:.
|
static |
Definition at line 3029 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:.
|
static |
Definition at line 3057 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.
|
static |
Definition at line 3132 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(), and ShipEntity::setCargoFlag:.
|
static |
Definition at line 3088 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:.
|
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:.
|
static |
Definition at line 3183 of file OOJSShip.m.
References GET_THIS_SHIP, nil, OOJS_ARGV, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJSReportBadArguments(), and ShipSetMaterialsInternal().
|
static |
Definition at line 3232 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().
|
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.
|
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:.
|
static |
Definition at line 3204 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().
|
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:.
|
static |
Static methods
Definition at line 4297 of file OOJSShip.m.
References OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_RETURN_OBJECT, OOShipRegistry::sharedRegistry, and OOShipRegistry::shipKeys.
|
static |
Definition at line 4308 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:.
|
static |
Definition at line 4329 of file OOJSShip.m.
References MIN, nil, OOJS_ARGV, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_RETURN_BOOL, OOJSReportBadArguments(), OOStringFromJSValue(), and UNIVERSE.
|
static |
Definition at line 4350 of file OOJSShip.m.
References OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_RETURN_OBJECT, OOShipRegistry::sharedRegistry, and OOShipRegistry::shipRoles.
|
static |
Definition at line 4382 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.
|
static |
Definition at line 4362 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:.
|
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:.
|
static |
Definition at line 4135 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().
|
static |
Definition at line 4285 of file OOJSShip.m.
References nil, and OOEquipmentType::weaponThreatAssessment.
Referenced by ShipThreatAssessment().
|
static |
Definition at line 3704 of file OOJSShip.m.
References GET_THIS_SHIP, nil, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, and OOJS_RETURN_VOID.
|
static |
Definition at line 3339 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().