|
Oolite
|
import "OOCollectionExtractors.h"import "OOJSPlayer.h"import "OOJSEntity.h"import "OOJSShip.h"import "OOJSVector.h"import "OOJSQuaternion.h"import "OOJavaScriptEngine.h"import "EntityOOJavaScriptExtensions.h"import "OOSystemDescriptionManager.h"import "PlayerEntity.h"import "PlayerEntityControls.h"import "PlayerEntityContracts.h"import "PlayerEntityScriptMethods.h"import "PlayerEntityLegacyScriptEngine.h"import "PlayerEntitySound.h"import "HeadUpDisplay.h"import "StationEntity.h"import "OOConstToJSString.h"import "OOConstToString.h"import "OOFunctionAttributes.h"import "OOEquipmentType.h"import "OOJSEquipmentInfo.h"
Include dependency graph for OOJSPlayerShip.m:Go to the source code of this file.
Functions | |
| static JSBool | PlayerShipGetProperty (JSContext *context, JSObject *this, jsid propID, jsval *value) |
| static JSBool | PlayerShipSetProperty (JSContext *context, JSObject *this, jsid propID, JSBool strict, jsval *value) |
| static JSBool | PlayerShipLaunch (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | PlayerShipRemoveAllCargo (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | PlayerShipUseSpecialCargo (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | PlayerShipEngageAutopilotToStation (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | PlayerShipDisengageAutopilot (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | PlayerShipRequestDockingClearance (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | PlayerShipCancelDockingRequest (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | PlayerShipAwardEquipmentToCurrentPylon (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | PlayerShipAddPassenger (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | PlayerShipRemovePassenger (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | PlayerShipAddParcel (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | PlayerShipRemoveParcel (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | PlayerShipAwardContract (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | PlayerShipRemoveContract (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | PlayerShipSetCustomView (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | PlayerShipSetPrimedEquipment (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | PlayerShipResetCustomView (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | PlayerShipResetScannerZoom (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | PlayerShipTakeInternalDamage (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | PlayerShipBeginHyperspaceCountdown (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | PlayerShipCancelHyperspaceCountdown (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | PlayerShipBeginGalacticHyperspaceCountdown (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | PlayerShipSetMultiFunctionDisplay (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | PlayerShipSetMultiFunctionText (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | PlayerShipHideHUDSelector (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | PlayerShipShowHUDSelector (JSContext *context, uintN argc, jsval *vp) |
| static JSBool | PlayerShipSetCustomHUDDial (JSContext *context, uintN argc, jsval *vp) |
| static BOOL | ValidateContracts (JSContext *context, uintN argc, jsval *vp, BOOL isCargo, OOSystemID *start, OOSystemID *destination, double *eta, double *fee, double *premium, NSString *functionName, unsigned *risk) |
| void | InitOOJSPlayerShip (JSContext *context, JSObject *global) |
| JSClass * | JSPlayerShipClass (void) |
| JSObject * | JSPlayerShipPrototype (void) |
| JSObject * | JSPlayerShipObject (void) |
Variables | |
| static JSObject * | sPlayerShipPrototype |
| static JSObject * | sPlayerShipObject |
| static JSClass | sPlayerShipClass |
| static JSPropertySpec | sPlayerShipProperties [] |
| static JSFunctionSpec | sPlayerShipMethods [] |
| anonymous enum |
Definition at line 105 of file OOJSPlayerShip.m.
| void InitOOJSPlayerShip | ( | JSContext * | context, |
| JSObject * | global | ||
| ) |
Definition at line 281 of file OOJSPlayerShip.m.
References JSPlayerObject(), JSShipClass(), JSShipPrototype(), OOConsumeReference(), OOJS_PROP_READONLY, OOJSBasicPrivateObjectConverter(), OOJSRegisterObjectConverter(), OOJSRegisterSubclass(), OOJSUnconstructableConstruct(), PlayerEntity::setJSSelf:context:, PlayerEntity::sharedPlayer, sPlayerShipClass, sPlayerShipMethods, sPlayerShipObject, sPlayerShipProperties, and sPlayerShipPrototype.
Here is the call graph for this function:| JSClass * JSPlayerShipClass | ( | void | ) |
Definition at line 297 of file OOJSPlayerShip.m.
References sPlayerShipClass.
| JSObject * JSPlayerShipObject | ( | void | ) |
Definition at line 309 of file OOJSPlayerShip.m.
References sPlayerShipObject.
Referenced by InitOOJSManifest().
Here is the caller graph for this function:| JSObject * JSPlayerShipPrototype | ( | void | ) |
Definition at line 303 of file OOJSPlayerShip.m.
References sPlayerShipPrototype.
|
static |
Definition at line 1320 of file OOJSPlayerShip.m.
References PlayerEntity::addParcel:start:destination:eta:fee:premium:risk:, EXPECT_NOT, nil, OOJS_ARGV, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_RETURN_BOOL, OOJSReportBadArguments(), OOPlayerForScripting(), OOStringFromJSValue(), and ValidateContracts().
Here is the call graph for this function:
|
static |
Definition at line 1259 of file OOJSPlayerShip.m.
References PlayerEntity::addPassenger:start:destination:eta:fee:advance:risk:, EXPECT_NOT, nil, OOJS_ARGV, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_RETURN_BOOL, OOJSReportBadArguments(), OOPlayerForScripting(), OOStringFromJSValue(), and ValidateContracts().
Here is the call graph for this function:
|
static |
Definition at line 1380 of file OOJSPlayerShip.m.
References PlayerEntity::awardContract:commodity:start:destination:eta:fee:premium:, EXPECT_NOT, nil, OOJS_ARGV, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_RETURN_BOOL, OOJSReportBadArguments(), OOPlayerForScripting(), OOStringFromJSValue(), and ValidateContracts().
Here is the call graph for this function:
|
static |
Definition at line 1234 of file OOJSPlayerShip.m.
References OOEquipmentType::equipmentTypeWithIdentifier:, EXPECT_NOT, JSValueToEquipmentKey(), MIN, nil, OOIsPlayerStale(), OOJS_ARGV, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_RETURN_BOOL, OOJS_RETURN_VOID, OOJSReportBadArguments(), and OOPlayerForScripting().
Here is the call graph for this function:
|
static |
Definition at line 1628 of file OOJSPlayerShip.m.
References nil, OOJS_ARGV, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_RETURN_BOOL, OOJSReportBadArguments(), OOPlayerForScripting(), PlayerEntity::playGalacticHyperspace, PlayerEntity::setJumpType:, ShipEntity::setStatus:, PlayerEntity::setWitchspaceCountdown:, Entity::status, and PlayerEntity::witchJumpChecklist:.
Here is the call graph for this function:
|
static |
Definition at line 1565 of file OOJSPlayerShip.m.
References PlayerEntity::beginWitchspaceCountdown:, nil, OOJS_ARGV, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_RETURN_BOOL, OOJSReportBadArguments(), and OOPlayerForScripting().
Here is the call graph for this function:
|
static |
Definition at line 1211 of file OOJSPlayerShip.m.
References PlayerEntity::cancelDockingRequest:, EXPECT_NOT, MIN, nil, OOIsPlayerStale(), OOJS_ARGV, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_RETURN_VOID, OOJSNativeObjectOfClassFromJSValue(), OOJSReportBadArguments(), and OOPlayerForScripting().
Here is the call graph for this function:
|
static |
Definition at line 1608 of file OOJSPlayerShip.m.
References PlayerEntity::cancelWitchspaceCountdown, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_RETURN_BOOL, OOPlayerForScripting(), and PlayerEntity::setJumpType:.
Here is the call graph for this function:
|
static |
Definition at line 1177 of file OOJSPlayerShip.m.
References EXPECT_NOT, OOIsPlayerStale(), OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, and OOJS_RETURN_VOID.
Here is the call graph for this function:
|
static |
Definition at line 1154 of file OOJSPlayerShip.m.
References EXPECT_NOT, MIN, nil, OOIsPlayerStale(), OOJS_ARGV, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_RETURN_BOOL, OOJS_RETURN_VOID, OOJSNativeObjectOfClassFromJSValue(), OOJSReportBadArguments(), and OOPlayerForScripting().
Here is the call graph for this function:
|
static |
Definition at line 354 of file OOJSPlayerShip.m.
References PlayerEntity::ANAMode, PlayerEntity::commanderDataDictionary, PlayerEntity::compassMode, PlayerEntity::compassTarget, HeadUpDisplay::crosshairDefinition, PlayerEntity::currentPrimedEquipment, ShipEntity::currentWeaponFacing, PlayerEntity::dockedStation, EXPECT_NOT, PlayerEntity::fastEquipmentA, PlayerEntity::fastEquipmentB, PlayerEntity::hud, HeadUpDisplay::hudName, kPlayerShip_activeMissile, kPlayerShip_aftShield, kPlayerShip_aftShieldRechargeRate, kPlayerShip_chartHightlightMode, kPlayerShip_compassMode, kPlayerShip_compassTarget, kPlayerShip_compassType, kPlayerShip_crosshairs, kPlayerShip_currentWeapon, kPlayerShip_cursorCoordinates, kPlayerShip_cursorCoordinatesInLY, kPlayerShip_docked, kPlayerShip_dockedStation, kPlayerShip_fastEquipmentA, kPlayerShip_fastEquipmentB, kPlayerShip_forwardShield, kPlayerShip_forwardShieldRechargeRate, kPlayerShip_fuelLeakRate, kPlayerShip_galacticHyperspaceBehaviour, kPlayerShip_galacticHyperspaceFixedCoords, kPlayerShip_galacticHyperspaceFixedCoordsInLY, kPlayerShip_galaxyCoordinates, kPlayerShip_galaxyCoordinatesInLY, kPlayerShip_hud, kPlayerShip_hudAllowsBigGui, kPlayerShip_hudHidden, kPlayerShip_infoSystem, kPlayerShip_injectorsEngaged, kPlayerShip_massLockable, kPlayerShip_maxAftShield, kPlayerShip_maxForwardShield, kPlayerShip_messageGuiTextColor, kPlayerShip_messageGuiTextCommsColor, kPlayerShip_missilesOnline, kPlayerShip_multiFunctionDisplayList, kPlayerShip_multiFunctionDisplays, kPlayerShip_nextSystem, kPlayerShip_pitch, kPlayerShip_previousSystem, kPlayerShip_price, kPlayerShip_primedEquipment, kPlayerShip_renovationCost, kPlayerShip_renovationMultiplier, kPlayerShip_reticleColorTarget, kPlayerShip_reticleColorTargetSensitive, kPlayerShip_reticleColorWormhole, kPlayerShip_reticleTargetSensitive, kPlayerShip_roll, kPlayerShip_routeMode, kPlayerShip_scannerMinimalistic, kPlayerShip_scannerNonLinear, kPlayerShip_scannerUltraZoom, kPlayerShip_scoopOverride, kPlayerShip_serviceLevel, kPlayerShip_specialCargo, kPlayerShip_targetSystem, kPlayerShip_torusEngaged, kPlayerShip_viewDirection, kPlayerShip_viewPositionAft, kPlayerShip_viewPositionForward, kPlayerShip_viewPositionPort, kPlayerShip_viewPositionStarboard, kPlayerShip_weaponsOnline, kPlayerShip_yaw, PlayerEntity::multiFunctionDisplayList, nil, OOColor::normalizedArray, NSPointToVectorJSValue(), OOGalacticCoordinatesFromInternal(), OOIsPlayerStale(), OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJSReportBadPropertySelector(), OOJSValueFromBOOL(), OOJSValueFromCompassMode(), OOJSValueFromGalacticHyperspaceBehaviour(), OOJSValueFromNativeObject(), OOJSValueFromViewID(), OOPlayerForScripting(), OOStringFromLongRangeChartMode(), OPTIMIZED_BY_JUMPS, OPTIMIZED_BY_NONE, OPTIMIZED_BY_TIME, HeadUpDisplay::reticleColorForIndex:, PlayerEntity::specialCargo, sPlayerShipProperties, sPlayerShipPrototype, UNIVERSE, VectorToJSValue(), and PlayerEntity::weaponTypeForFacing:strict:.
Here is the call graph for this function:
|
static |
Definition at line 1811 of file OOJSPlayerShip.m.
References PlayerEntity::hud, MIN, nil, OOJS_ARGV, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_RETURN_VOID, OOJSReportBadArguments(), OOPlayerForScripting(), OOStringFromJSValue(), and HeadUpDisplay::setHiddenSelector:hidden:.
Here is the call graph for this function:
|
static |
Definition at line 1092 of file OOJSPlayerShip.m.
References EXPECT_NOT, OOIsPlayerStale(), OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, and OOJS_RETURN_VOID.
Here is the call graph for this function:
|
static |
Definition at line 1106 of file OOJSPlayerShip.m.
References EXPECT_NOT, OOIsPlayerStale(), OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_RETURN_VOID, OOJSReportError(), OOPlayerForScripting(), and PlayerEntity::removeAllCargo.
Here is the call graph for this function:
|
static |
Definition at line 1419 of file OOJSPlayerShip.m.
References EXPECT_NOT, nil, OOJS_ARGV, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_RETURN_BOOL, OOJSReportBadArguments(), OOPlayerForScripting(), OOStringFromJSValue(), and PlayerEntity::removeContract:destination:.
Here is the call graph for this function:
|
static |
Definition at line 1355 of file OOJSPlayerShip.m.
References EXPECT_NOT, MIN, nil, OOJS_ARGV, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_RETURN_BOOL, OOJSReportBadArguments(), OOPlayerForScripting(), OOStringFromJSValue(), PlayerEntity::parcelCount, and PlayerEntity::removeParcel:.
Here is the call graph for this function:
|
static |
Definition at line 1295 of file OOJSPlayerShip.m.
References EXPECT_NOT, MIN, nil, OOJS_ARGV, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_RETURN_BOOL, OOJSReportBadArguments(), OOPlayerForScripting(), OOStringFromJSValue(), PlayerEntity::passengerCount, and PlayerEntity::removePassenger:.
Here is the call graph for this function:
|
static |
Definition at line 1189 of file OOJSPlayerShip.m.
References EXPECT_NOT, MIN, nil, OOIsPlayerStale(), OOJS_ARGV, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_RETURN_VOID, OOJSNativeObjectOfClassFromJSValue(), OOJSReportBadArguments(), OOPlayerForScripting(), and PlayerEntity::requestDockingClearance:.
Here is the call graph for this function:
|
static |
Definition at line 1515 of file OOJSPlayerShip.m.
References PlayerEntity::noteSwitchToView:fromView:, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_RETURN_BOOL, OOJSReportError(), OOPlayerForScripting(), PlayerEntity::resetCustomView, and UNIVERSE.
Here is the call graph for this function:
|
static |
Definition at line 1537 of file OOJSPlayerShip.m.
References OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_RETURN_VOID, OOPlayerForScripting(), and PlayerEntity::resetScannerZoom.
Here is the call graph for this function:
|
static |
Definition at line 1776 of file OOJSPlayerShip.m.
References MIN, nil, OOJS_ARGV, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_RETURN_VOID, OOJSNativeObjectFromJSValue(), OOJSReportBadArguments(), OOPlayerForScripting(), OOStringFromJSValue(), and PlayerEntity::setDialCustom:forKey:.
Here is the call graph for this function:
|
static |
Definition at line 1455 of file OOJSPlayerShip.m.
References JSValueToQuaternion(), JSValueToVector(), kIdentityQuaternion, kZeroVector, nil, PlayerEntity::noteSwitchToView:fromView:, OOJS_ARGV, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_RETURN_BOOL, OOJSReportBadArguments(), OOJSReportError(), OOPlayerForScripting(), OOStringFromJSValue(), PlayerEntity::setCustomViewDataFromDictionary:withScaling:, and UNIVERSE.
Here is the call graph for this function:
|
static |
Definition at line 1669 of file OOJSPlayerShip.m.
References MIN, nil, OOJS_ARGV, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_RETURN_BOOL, OOJSReportBadArguments(), OOPlayerForScripting(), OOStringFromJSValue(), and PlayerEntity::setMultiFunctionDisplay:toKey:.
Here is the call graph for this function:
|
static |
Definition at line 1701 of file OOJSPlayerShip.m.
References EXPECT_NOT, MIN, nil, OOJS_ARGV, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_RETURN_VOID, OOJSReportBadArguments(), OOPlayerForScripting(), OOStringFromJSValue(), GuiDisplayGen::reflowTextForMFD:, and PlayerEntity::setMultiFunctionText:forKey:.
Here is the call graph for this function:
|
static |
Definition at line 1746 of file OOJSPlayerShip.m.
References EXPECT_NOT, MIN, nil, OOJS_ARGV, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_RETURN_BOOL, OOJSReportBadArguments(), OOPlayerForScripting(), and OOStringFromJSValue().
Here is the call graph for this function:
|
static |
Definition at line 628 of file OOJSPlayerShip.m.
References PlayerEntity::adjustTradeInFactorBy:, OOColor::colorWithDescription:, PlayerEntity::compassTarget, ShipEntity::currentWeaponFacing, ShipEntity::decrease_flight_pitch:, ShipEntity::decrease_flight_roll:, ShipEntity::decrease_flight_yaw:, ShipEntity::doScriptEvent:withArgument:, EXPECT_NOT, ShipEntity::flightPitch, ShipEntity::flightRoll, ShipEntity::flightYaw, PlayerEntity::hud, HeadUpDisplay::hudName, int(), JSValueToEntity(), JSValueToEquipmentKeyRelaxed(), JSValueToVector(), kPlayerShip_aftShield, kPlayerShip_aftShieldRechargeRate, kPlayerShip_chartHightlightMode, kPlayerShip_compassMode, kPlayerShip_compassTarget, kPlayerShip_compassType, kPlayerShip_crosshairs, kPlayerShip_currentWeapon, kPlayerShip_fastEquipmentA, kPlayerShip_fastEquipmentB, kPlayerShip_forwardShield, kPlayerShip_forwardShieldRechargeRate, kPlayerShip_fuelLeakRate, kPlayerShip_galacticHyperspaceBehaviour, kPlayerShip_galacticHyperspaceFixedCoords, kPlayerShip_galacticHyperspaceFixedCoordsInLY, kPlayerShip_hud, kPlayerShip_hudHidden, kPlayerShip_infoSystem, kPlayerShip_massLockable, kPlayerShip_maxAftShield, kPlayerShip_maxForwardShield, kPlayerShip_messageGuiTextColor, kPlayerShip_messageGuiTextCommsColor, kPlayerShip_pitch, kPlayerShip_primedEquipment, kPlayerShip_reticleColorTarget, kPlayerShip_reticleColorTargetSensitive, kPlayerShip_reticleColorWormhole, kPlayerShip_reticleTargetSensitive, kPlayerShip_roll, kPlayerShip_scannerMinimalistic, kPlayerShip_scannerNonLinear, kPlayerShip_scannerUltraZoom, kPlayerShip_scoopOverride, kPlayerShip_serviceLevel, kPlayerShip_targetSystem, kPlayerShip_yaw, PlayerEntity::longRangeChartMode, nil, OO_SYSTEMS_PER_GALAXY, OOCompassModeFromJSValue(), OOGalacticHyperspaceBehaviourFromJSValue(), OOInternalCoordinatesFromGalactic(), OOIsPlayerStale(), OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJSReportBadPropertySelector(), OOJSReportBadPropertyValue(), OOJSReportError(), OOJSReportWarning(), OOLongRangeChartModeFromString(), OOPlayerForScripting(), OOStringFromJSValue(), PlayerEntity::resetHud, PlayerEntity::setAftShieldLevel:, PlayerEntity::setAftShieldRechargeRate:, PlayerEntity::setCompassMode:, PlayerEntity::setFastEquipmentA:, PlayerEntity::setFastEquipmentB:, PlayerEntity::setForwardShieldLevel:, PlayerEntity::setForwardShieldRechargeRate:, PlayerEntity::setFuelLeakRate:, PlayerEntity::setGalacticHyperspaceBehaviour:, PlayerEntity::setGalacticHyperspaceFixedCoords:, HeadUpDisplay::setHidden:, PlayerEntity::setInfoSystemID:moveChart:, PlayerEntity::setLongRangeChartMode:, PlayerEntity::setMassLockable:, PlayerEntity::setMaxAftShieldLevel:, PlayerEntity::setMaxForwardShieldLevel:, HeadUpDisplay::setMinimalisticScanner:, PlayerEntity::setNextCompassMode, HeadUpDisplay::setNonlinearScanner:, PlayerEntity::setPrimedEquipment:showMessage:, HeadUpDisplay::setReticleColorForIndex:toColor:, HeadUpDisplay::setReticleTargetSensitive:, HeadUpDisplay::setScannerUltraZoom:, PlayerEntity::setScoopOverride:, PlayerEntity::setTargetSystemID:, PlayerEntity::setWeaponMount:toWeapon:inContext:, sPlayerShipProperties, PlayerEntity::switchHudTo:, PlayerEntity::tradeInFactor, and PlayerEntity::validateCompassTarget.
Here is the call graph for this function:
|
static |
Definition at line 1835 of file OOJSPlayerShip.m.
References PlayerEntity::hud, MIN, nil, OOJS_ARGV, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_RETURN_VOID, OOJSReportBadArguments(), OOPlayerForScripting(), OOStringFromJSValue(), and HeadUpDisplay::setHiddenSelector:hidden:.
Here is the call graph for this function:
|
static |
Definition at line 1551 of file OOJSPlayerShip.m.
References OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_RETURN_BOOL, OOPlayerForScripting(), and PlayerEntity::takeInternalDamage.
Here is the call graph for this function:
|
static |
Definition at line 1130 of file OOJSPlayerShip.m.
References EXPECT_NOT, MIN, nil, OOIsPlayerStale(), OOJS_ARGV, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_RETURN_VOID, OOJSReportBadArguments(), OOPlayerForScripting(), OOStringFromJSValue(), and PlayerEntity::useSpecialCargo:.
Here is the call graph for this function:
|
static |
Definition at line 1860 of file OOJSPlayerShip.m.
Referenced by PlayerShipAddParcel(), PlayerShipAddPassenger(), and PlayerShipAwardContract().
Here is the caller graph for this function:
|
static |
Definition at line 88 of file OOJSPlayerShip.m.
Referenced by InitOOJSPlayerShip(), and JSPlayerShipClass().
|
static |
Definition at line 247 of file OOJSPlayerShip.m.
Referenced by InitOOJSPlayerShip().
|
static |
Definition at line 51 of file OOJSPlayerShip.m.
Referenced by InitOOJSPlayerShip(), and JSPlayerShipObject().
|
static |
Definition at line 175 of file OOJSPlayerShip.m.
Referenced by InitOOJSPlayerShip(), PlayerShipGetProperty(), and PlayerShipSetProperty().
|
static |
Definition at line 50 of file OOJSPlayerShip.m.
Referenced by InitOOJSPlayerShip(), JSPlayerShipPrototype(), and PlayerShipGetProperty().