![]() |
Oolite 1.91.0.7650-250121-affa790
|
import "OOCocoa.h"
Go to the source code of this file.
Macros | |
#define | OOJS_PROFILE OOLITE_DEBUG |
#define | OOJS_PROFILE_ENTER { |
#define | OOJS_PROFILE_EXIT_VAL(rval) |
#define | OOJS_PROFILE_EXIT_VOID } return; |
#define | OOJS_PROFILE_ENTER_FOR_NATIVE @try { |
#define | OOJS_NATIVE_ENTER(cx) |
#define | OOJS_NATIVE_EXIT |
#define | OOJS_PROFILE_EXIT OOJS_PROFILE_EXIT_VAL(0) |
#define | OOJS_PROFILE_EXIT_JSVAL OOJS_PROFILE_EXIT_VAL(JSVAL_VOID) |
#define | OOJS_BEGIN_FULL_NATIVE(context) |
#define | OOJS_END_FULL_NATIVE |
#define | OOJS_DECLARE_PROFILE_STACK_FRAME(name) |
#define | OOJSProfileEnter(frame, function) |
#define | OOJSProfileExit(frame) |
Functions | |
void | OOJSReportWrappedException (JSContext *context, id exception) |
void | OOJSUnreachable (const char *function, const char *file, unsigned line) NO_RETURN_FUNC |
#define OOJS_BEGIN_FULL_NATIVE | ( | context | ) |
Definition at line 141 of file OOJSEngineNativeWrappers.h.
Referenced by ConsoleInspectEntity(), ConsoleSetProperty(), ConsoleWriteJSMemoryStats(), ConsoleWriteMemoryStats(), GetJSSystemInfoForSystem(), GlobalExpandDescription(), GlobalKeyBindingDescription(), GlobalLog(), GlobalTakeSnapShot(), ShipAddCargoEntity(), ShipSetMaterialsInternal(), ShipSpawn(), SoundSourcePlay(), SoundSourcePlayOrRepeat(), SoundSourceStop(), SoundStaticLoad(), SoundStaticMusicSoundSource(), SoundStaticPlayMusic(), SoundStaticStopMusic(), StationCanDockShip(), StationDecreaseAlertLevel(), StationIncreaseAlertLevel(), StationLaunchDefenseShip(), StationLaunchEscort(), StationLaunchMiner(), StationLaunchPatrol(), StationLaunchPirateShip(), StationLaunchPolice(), StationLaunchScavenger(), StationLaunchShipWithRole(), StationLaunchShuttle(), SystemAddMoon(), SystemAddPlanet(), SystemAddShipsOrGroup(), SystemAddShipsOrGroupToRoute(), SystemAddVisualEffect(), SystemCountEntitiesWithScanClass(), SystemCountShipsWithPrimaryRole(), SystemCountShipsWithRole(), SystemEntitiesWithScanClass(), SystemGetProperty(), SystemInfoRouteToSystem(), SystemLegacyAddShips(), SystemLegacyAddShipsAt(), SystemLegacyAddShipsAtPrecisely(), SystemLegacyAddShipsWithinRadius(), SystemLegacyAddSystemShips(), SystemLegacySpawnShip(), SystemShipsWithPrimaryRole(), SystemShipsWithRole(), SystemStaticSystemIDForName(), VectorFromCoordinateSystem(), VectorToCoordinateSystem(), and VisualEffectSetMaterialsInternal().
#define OOJS_DECLARE_PROFILE_STACK_FRAME | ( | name | ) |
Definition at line 189 of file OOJSEngineNativeWrappers.h.
#define OOJS_END_FULL_NATIVE |
Definition at line 148 of file OOJSEngineNativeWrappers.h.
Referenced by ConsoleInspectEntity(), ConsoleSetProperty(), ConsoleWriteJSMemoryStats(), ConsoleWriteMemoryStats(), GetJSSystemInfoForSystem(), GlobalExpandDescription(), GlobalKeyBindingDescription(), GlobalLog(), GlobalTakeSnapShot(), ShipAddCargoEntity(), ShipSetMaterialsInternal(), ShipSpawn(), SoundSourcePlay(), SoundSourcePlayOrRepeat(), SoundSourceStop(), SoundStaticLoad(), SoundStaticMusicSoundSource(), SoundStaticPlayMusic(), SoundStaticStopMusic(), StationCanDockShip(), StationDecreaseAlertLevel(), StationIncreaseAlertLevel(), StationLaunchDefenseShip(), StationLaunchEscort(), StationLaunchMiner(), StationLaunchPatrol(), StationLaunchPirateShip(), StationLaunchPolice(), StationLaunchScavenger(), StationLaunchShipWithRole(), StationLaunchShuttle(), SystemAddMoon(), SystemAddPlanet(), SystemAddShipsOrGroup(), SystemAddShipsOrGroupToRoute(), SystemAddVisualEffect(), SystemCountEntitiesWithScanClass(), SystemCountShipsWithPrimaryRole(), SystemCountShipsWithRole(), SystemEntitiesWithScanClass(), SystemGetProperty(), SystemInfoRouteToSystem(), SystemLegacyAddShips(), SystemLegacyAddShipsAt(), SystemLegacyAddShipsAtPrecisely(), SystemLegacyAddShipsWithinRadius(), SystemLegacyAddSystemShips(), SystemLegacySpawnShip(), SystemShipsWithPrimaryRole(), SystemShipsWithRole(), SystemStaticSystemIDForName(), VectorFromCoordinateSystem(), VectorToCoordinateSystem(), and VisualEffectSetMaterialsInternal().
#define OOJS_NATIVE_ENTER | ( | cx | ) |
Definition at line 84 of file OOJSEngineNativeWrappers.h.
Referenced by ClockAddSeconds(), ClockClockStringForTime(), ClockGetProperty(), ConsoleClearConsole(), ConsoleConsoleMessage(), ConsoleDisplayMessagesInClass(), ConsoleGarbageCollect(), ConsoleGetProfile(), ConsoleGetProperty(), ConsoleInspectEntity(), ConsoleIsExecutableJavaScript(), ConsoleProfile(), ConsoleScriptStack(), ConsoleSetDisplayMessagesInClass(), ConsoleSetProperty(), ConsoleSettingsDeleteProperty(), ConsoleSettingsGetProperty(), ConsoleSettingsSetProperty(), ConsoleTrace(), ConsoleWriteJSMemoryStats(), ConsoleWriteLogMarker(), ConsoleWriteMemoryStats(), DockGetProperty(), DockIsQueued(), DockSetProperty(), EntityGetProperty(), EntitySetProperty(), EquipmentInfoGetAllEqipment(), EquipmentInfoGetProperty(), EquipmentInfoSetProperty(), EquipmentInfoStaticInfoForKey(), ExhaustPlumeGetProperty(), ExhaustPlumeRemove(), ExhaustPlumeSetProperty(), FlasherGetProperty(), FlasherRemove(), FlasherSetProperty(), FontMeasureString(), GlobalAddFrameCallback(), GlobalAutoAIForRole(), GlobalClearExtraGuiScreenKeys(), GlobalDisplayNameForCommodity(), GlobalExpandDescription(), GlobalExpandMissionText(), GlobalGetColorSaturation(), GlobalGetGuiColorSettingForKey(), GlobalGetProperty(), GlobalGetScreenBackgroundForKey(), GlobalIsValidFrameCallback(), GlobalKeyBindingDescription(), GlobalLog(), GlobalPauseGame(), GlobalRandomInhabitantsDescription(), GlobalRandomName(), GlobalRemoveFrameCallback(), GlobalSetColorSaturation(), GlobalSetExtraGuiScreenKeys(), GlobalSetGuiColorSettingForKey(), GlobalSetProperty(), GlobalSetScreenBackground(), GlobalSetScreenBackgroundForKey(), GlobalSetScreenOverlay(), GlobalTakeSnapShot(), JSClockToString(), ManifestComment(), ManifestGetProperty(), ManifestSetComment(), ManifestSetProperty(), ManifestSetShortComment(), ManifestShortComment(), MissionAddMessageText(), MissionGetProperty(), MissionMarkSystem(), MissionRunScreen(), MissionRunShipLibrary(), MissionSetInstructionsInternal(), MissionSetProperty(), MissionUnmarkSystem(), MissionVariablesDeleteProperty(), MissionVariablesEnumerate(), MissionVariablesGetProperty(), MissionVariablesSetProperty(), OOJSObjectWrapperToString(), OOJSUnconstructableConstruct(), OoliteCompareVersion(), OoliteGetProperty(), PlanetGetProperty(), PlanetSetProperty(), PlayerAddMessageToArrivalReport(), PlayerAudioMessage(), PlayerCommsMessage(), PlayerConsoleMessage(), PlayerDecreaseContractReputation(), PlayerDecreaseParcelReputation(), PlayerDecreasePassengerReputation(), PlayerEndScenario(), PlayerGetProperty(), PlayerIncreaseContractReputation(), PlayerIncreaseParcelReputation(), PlayerIncreasePassengerReputation(), PlayerReplaceShip(), PlayerSetEscapePodDestination(), PlayerSetPlayerRole(), PlayerSetProperty(), PlayerShipAddParcel(), PlayerShipAddPassenger(), PlayerShipAwardContract(), PlayerShipAwardEquipmentToCurrentPylon(), PlayerShipBeginGalacticHyperspaceCountdown(), PlayerShipBeginHyperspaceCountdown(), PlayerShipCancelDockingRequest(), PlayerShipCancelHyperspaceCountdown(), PlayerShipDisengageAutopilot(), PlayerShipEngageAutopilotToStation(), PlayerShipGetProperty(), PlayerShipHideHUDSelector(), PlayerShipLaunch(), PlayerShipRemoveAllCargo(), PlayerShipRemoveContract(), PlayerShipRemoveParcel(), PlayerShipRemovePassenger(), PlayerShipRequestDockingClearance(), PlayerShipResetCustomView(), PlayerShipResetScannerZoom(), PlayerShipSetCustomHUDDial(), PlayerShipSetCustomView(), PlayerShipSetMultiFunctionDisplay(), PlayerShipSetMultiFunctionText(), PlayerShipSetPrimedEquipment(), PlayerShipSetProperty(), PlayerShipShowHUDSelector(), PlayerShipTakeInternalDamage(), PlayerShipUseSpecialCargo(), PlayerStopAudioMessage(), QuaternionToSource(), QuaternionToString(), ShipAbandonShip(), ShipAddCargoEntity(), ShipAwardEquipment(), ShipCanAwardEquipment(), ShipCommsMessage(), ShipDealEnergyDamage(), ShipDeployEscorts(), ShipDockEscorts(), ShipDumpCargo(), ShipEjectItem(), ShipEjectSpecificItem(), ShipEquipmentStatus(), ShipExitAI(), ShipExitSystem(), ShipExplode(), ShipFindNearestStation(), ShipFireECM(), ShipFireMissile(), ShipGetProperty(), ShipGroupAddShip(), ShipGroupConstruct(), ShipGroupContainsShip(), ShipGroupGetProperty(), ShipGroupRemoveShip(), ShipGroupSetProperty(), ShipHasEquipmentProviding(), ShipHasRole(), ShipReactToAIMessage(), ShipRemove(), ShipRemoveEquipment(), ShipRestoreSubEntities(), ShipRunLegacyScriptActions(), ShipSelectNewMissile(), ShipSendAIMessage(), ShipSetAI(), ShipSetBounty(), ShipSetCargo(), ShipSetCargoType(), ShipSetCrew(), ShipSetEquipmentStatus(), ShipSetMaterials(), ShipSetProperty(), ShipSetScript(), ShipSetShaders(), ShipSpawn(), ShipStaticKeys(), ShipStaticKeysForRole(), ShipStaticRoleIsInCategory(), ShipStaticRoles(), ShipStaticSetShipDataForKey(), ShipStaticShipDataForKey(), ShipSwitchAI(), SoundGetProperty(), SoundSourceConstruct(), SoundSourceGetProperty(), SoundSourcePlay(), SoundSourcePlayOrRepeat(), SoundSourceSetProperty(), SoundSourceStop(), SoundStaticLoad(), SoundStaticMusicSoundSource(), SoundStaticPlayMusic(), SoundStaticStopMusic(), StationAbortAllDockings(), StationAbortDockingForShip(), StationAddShipToShipyard(), StationCanDockShip(), StationDecreaseAlertLevel(), StationDockPlayer(), StationGetProperty(), StationIncreaseAlertLevel(), StationLaunchDefenseShip(), StationLaunchEscort(), StationLaunchMiner(), StationLaunchPatrol(), StationLaunchPirateShip(), StationLaunchPolice(), StationLaunchScavenger(), StationLaunchShipWithRole(), StationLaunchShuttle(), StationRemoveShipFromShipyard(), StationSetInterface(), StationSetMarketPrice(), StationSetMarketQuantity(), StationSetProperty(), SunCancelNova(), SunGetProperty(), SunGoNova(), SystemAddMoon(), SystemAddPlanet(), SystemAddShipsOrGroup(), SystemAddShipsOrGroupToRoute(), SystemAddVisualEffect(), SystemCountEntitiesWithScanClass(), SystemCountShipsWithPrimaryRole(), SystemCountShipsWithRole(), SystemEntitiesWithScanClass(), SystemFilteredEntities(), SystemGetProperty(), SystemInfoDistanceToSystem(), SystemInfoEnumerate(), SystemInfoGetProperty(), SystemInfoRouteToSystem(), SystemInfoSamplePrice(), SystemInfoSetProperty(), SystemInfoSetPropertyMethod(), SystemInfoStaticFilteredSystems(), SystemInfoStaticSetInterstellarProperty(), SystemLegacyAddShips(), SystemLegacyAddShipsAt(), SystemLegacyAddShipsAtPrecisely(), SystemLegacyAddShipsWithinRadius(), SystemLegacyAddSystemShips(), SystemLegacySpawnShip(), SystemLocationFromCode(), SystemSendAllShipsAway(), SystemSetPopulator(), SystemSetProperty(), SystemSetWaypoint(), SystemShipsWithPrimaryRole(), SystemShipsWithRole(), SystemStaticInfoForSystem(), SystemStaticSystemIDForName(), SystemStaticSystemNameForID(), SystemToString(), TimerConstruct(), TimerGetProperty(), TimerSetProperty(), TimerStart(), TimerStop(), VectorFromCoordinateSystem(), VectorToCoordinateSystem(), VectorToSource(), VectorToString(), VisualEffectGetProperty(), VisualEffectRemove(), VisualEffectRestoreSubEntities(), VisualEffectScale(), VisualEffectSetMaterials(), VisualEffectSetProperty(), VisualEffectSetShaders(), WaypointGetProperty(), WaypointSetProperty(), WorldScriptsEnumerate(), WorldScriptsGetProperty(), WormholeGetProperty(), and WormholeSetProperty().
#define OOJS_NATIVE_EXIT |
Definition at line 89 of file OOJSEngineNativeWrappers.h.
Referenced by ClockAddSeconds(), ClockClockStringForTime(), ClockGetProperty(), ConsoleClearConsole(), ConsoleConsoleMessage(), ConsoleDisplayMessagesInClass(), ConsoleGarbageCollect(), ConsoleGetProfile(), ConsoleGetProperty(), ConsoleInspectEntity(), ConsoleIsExecutableJavaScript(), ConsoleProfile(), ConsoleScriptStack(), ConsoleSetDisplayMessagesInClass(), ConsoleSetProperty(), ConsoleSettingsDeleteProperty(), ConsoleSettingsGetProperty(), ConsoleSettingsSetProperty(), ConsoleTrace(), ConsoleWriteJSMemoryStats(), ConsoleWriteLogMarker(), ConsoleWriteMemoryStats(), DockGetProperty(), DockIsQueued(), DockSetProperty(), EntityGetProperty(), EntitySetProperty(), EquipmentInfoGetAllEqipment(), EquipmentInfoGetProperty(), EquipmentInfoSetProperty(), EquipmentInfoStaticInfoForKey(), ExhaustPlumeGetProperty(), ExhaustPlumeRemove(), ExhaustPlumeSetProperty(), FlasherGetProperty(), FlasherRemove(), FlasherSetProperty(), FontMeasureString(), GlobalAddFrameCallback(), GlobalAutoAIForRole(), GlobalClearExtraGuiScreenKeys(), GlobalDisplayNameForCommodity(), GlobalExpandDescription(), GlobalExpandMissionText(), GlobalGetColorSaturation(), GlobalGetGuiColorSettingForKey(), GlobalGetProperty(), GlobalGetScreenBackgroundForKey(), GlobalIsValidFrameCallback(), GlobalKeyBindingDescription(), GlobalLog(), GlobalPauseGame(), GlobalRandomInhabitantsDescription(), GlobalRandomName(), GlobalRemoveFrameCallback(), GlobalSetColorSaturation(), GlobalSetExtraGuiScreenKeys(), GlobalSetGuiColorSettingForKey(), GlobalSetProperty(), GlobalSetScreenBackground(), GlobalSetScreenBackgroundForKey(), GlobalSetScreenOverlay(), GlobalTakeSnapShot(), JSClockToString(), ManifestComment(), ManifestGetProperty(), ManifestSetComment(), ManifestSetProperty(), ManifestSetShortComment(), ManifestShortComment(), MissionAddMessageText(), MissionGetProperty(), MissionMarkSystem(), MissionRunScreen(), MissionRunShipLibrary(), MissionSetInstructionsInternal(), MissionSetProperty(), MissionUnmarkSystem(), MissionVariablesDeleteProperty(), MissionVariablesEnumerate(), MissionVariablesGetProperty(), MissionVariablesSetProperty(), OOJSObjectWrapperToString(), OOJSUnconstructableConstruct(), OoliteCompareVersion(), OoliteGetProperty(), PlanetGetProperty(), PlanetSetProperty(), PlayerAddMessageToArrivalReport(), PlayerAudioMessage(), PlayerCommsMessage(), PlayerConsoleMessage(), PlayerDecreaseContractReputation(), PlayerDecreaseParcelReputation(), PlayerDecreasePassengerReputation(), PlayerEndScenario(), PlayerGetProperty(), PlayerIncreaseContractReputation(), PlayerIncreaseParcelReputation(), PlayerIncreasePassengerReputation(), PlayerReplaceShip(), PlayerSetEscapePodDestination(), PlayerSetPlayerRole(), PlayerSetProperty(), PlayerShipAddParcel(), PlayerShipAddPassenger(), PlayerShipAwardContract(), PlayerShipAwardEquipmentToCurrentPylon(), PlayerShipBeginGalacticHyperspaceCountdown(), PlayerShipBeginHyperspaceCountdown(), PlayerShipCancelDockingRequest(), PlayerShipCancelHyperspaceCountdown(), PlayerShipDisengageAutopilot(), PlayerShipEngageAutopilotToStation(), PlayerShipGetProperty(), PlayerShipHideHUDSelector(), PlayerShipLaunch(), PlayerShipRemoveAllCargo(), PlayerShipRemoveContract(), PlayerShipRemoveParcel(), PlayerShipRemovePassenger(), PlayerShipRequestDockingClearance(), PlayerShipResetCustomView(), PlayerShipResetScannerZoom(), PlayerShipSetCustomHUDDial(), PlayerShipSetCustomView(), PlayerShipSetMultiFunctionDisplay(), PlayerShipSetMultiFunctionText(), PlayerShipSetPrimedEquipment(), PlayerShipSetProperty(), PlayerShipShowHUDSelector(), PlayerShipTakeInternalDamage(), PlayerShipUseSpecialCargo(), PlayerStopAudioMessage(), QuaternionToSource(), QuaternionToString(), ShipAbandonShip(), ShipAddCargoEntity(), ShipAwardEquipment(), ShipCanAwardEquipment(), ShipCommsMessage(), ShipDealEnergyDamage(), ShipDeployEscorts(), ShipDockEscorts(), ShipDumpCargo(), ShipEjectItem(), ShipEjectSpecificItem(), ShipEquipmentStatus(), ShipExitAI(), ShipExitSystem(), ShipExplode(), ShipFindNearestStation(), ShipFireECM(), ShipFireMissile(), ShipGetProperty(), ShipGroupAddShip(), ShipGroupConstruct(), ShipGroupContainsShip(), ShipGroupGetProperty(), ShipGroupRemoveShip(), ShipGroupSetProperty(), ShipHasEquipmentProviding(), ShipHasRole(), ShipReactToAIMessage(), ShipRemove(), ShipRemoveEquipment(), ShipRestoreSubEntities(), ShipRunLegacyScriptActions(), ShipSelectNewMissile(), ShipSendAIMessage(), ShipSetAI(), ShipSetBounty(), ShipSetCargo(), ShipSetCargoType(), ShipSetCrew(), ShipSetEquipmentStatus(), ShipSetMaterials(), ShipSetProperty(), ShipSetScript(), ShipSetShaders(), ShipSpawn(), ShipStaticKeys(), ShipStaticKeysForRole(), ShipStaticRoleIsInCategory(), ShipStaticRoles(), ShipStaticSetShipDataForKey(), ShipStaticShipDataForKey(), ShipSwitchAI(), SoundGetProperty(), SoundSourceConstruct(), SoundSourceGetProperty(), SoundSourcePlay(), SoundSourcePlayOrRepeat(), SoundSourceSetProperty(), SoundSourceStop(), SoundStaticLoad(), SoundStaticMusicSoundSource(), SoundStaticPlayMusic(), SoundStaticStopMusic(), StationAbortAllDockings(), StationAbortDockingForShip(), StationAddShipToShipyard(), StationCanDockShip(), StationDecreaseAlertLevel(), StationDockPlayer(), StationGetProperty(), StationIncreaseAlertLevel(), StationLaunchDefenseShip(), StationLaunchEscort(), StationLaunchMiner(), StationLaunchPatrol(), StationLaunchPirateShip(), StationLaunchPolice(), StationLaunchScavenger(), StationLaunchShipWithRole(), StationLaunchShuttle(), StationRemoveShipFromShipyard(), StationSetInterface(), StationSetMarketPrice(), StationSetMarketQuantity(), StationSetProperty(), SunCancelNova(), SunGetProperty(), SunGoNova(), SystemAddMoon(), SystemAddPlanet(), SystemAddShipsOrGroup(), SystemAddShipsOrGroupToRoute(), SystemAddVisualEffect(), SystemCountEntitiesWithScanClass(), SystemCountShipsWithPrimaryRole(), SystemCountShipsWithRole(), SystemEntitiesWithScanClass(), SystemFilteredEntities(), SystemGetProperty(), SystemInfoDistanceToSystem(), SystemInfoEnumerate(), SystemInfoGetProperty(), SystemInfoRouteToSystem(), SystemInfoSamplePrice(), SystemInfoSetProperty(), SystemInfoSetPropertyMethod(), SystemInfoStaticFilteredSystems(), SystemInfoStaticSetInterstellarProperty(), SystemLegacyAddShips(), SystemLegacyAddShipsAt(), SystemLegacyAddShipsAtPrecisely(), SystemLegacyAddShipsWithinRadius(), SystemLegacyAddSystemShips(), SystemLegacySpawnShip(), SystemLocationFromCode(), SystemSendAllShipsAway(), SystemSetPopulator(), SystemSetProperty(), SystemSetWaypoint(), SystemShipsWithPrimaryRole(), SystemShipsWithRole(), SystemStaticInfoForSystem(), SystemStaticSystemIDForName(), SystemStaticSystemNameForID(), SystemToString(), TimerConstruct(), TimerGetProperty(), TimerSetProperty(), TimerStart(), TimerStop(), VectorFromCoordinateSystem(), VectorToCoordinateSystem(), VectorToSource(), VectorToString(), VisualEffectGetProperty(), VisualEffectRemove(), VisualEffectRestoreSubEntities(), VisualEffectScale(), VisualEffectSetMaterials(), VisualEffectSetProperty(), VisualEffectSetShaders(), WaypointGetProperty(), WaypointSetProperty(), WorldScriptsEnumerate(), WorldScriptsGetProperty(), WormholeGetProperty(), and WormholeSetProperty().
#define OOJS_PROFILE OOLITE_DEBUG |
Definition at line 50 of file OOJSEngineNativeWrappers.h.
#define OOJS_PROFILE_ENTER { |
Definition at line 77 of file OOJSEngineNativeWrappers.h.
Referenced by Universe::addShipAt:withRole:withinRadius:, Universe::addShipsAt:withRole:quantity:withinRadius:asGroup:, Universe::addVisualEffectAt:withKey:, OOJavaScriptConsoleController::appendMessage:colorKey:emphasisRange:, OOMesh(Private)::calculateBoundingVolumes, OOMesh(Private)::calculateVertexNormalsAndTangentsWithFaceRefs:, OOMesh(Private)::calculateVertexTangentsWithFaceRefs:, OOMesh(Private)::checkNormalsAndAdjustWinding, CompareEntitiesByDistance(), NSString(OOJavaScriptExtensions)::concatenationOfStringsFromJavaScriptValues:count:separator:inContext:, ConsoleFinalize(), Universe::currentSystemData, DebugMonitorToJSConsole(), DescribeValue(), EntityDumpState(), EntityFromArgumentList(), NSString(OOJavaScriptExtensions)::escapedForJavaScriptLiteral, Universe::findEntitiesMatchingPredicate:parameter:inRange:ofEntity:, FindJSVisibleEntities(), FindShips(), OOMesh(Private)::generateFaceTangents, Universe::generateSystemData:useCache:, GetJSSystemInfoForSystem(), OOMesh(Private)::getNormal:andTangent:forVertex:inSmoothGroup:, GetRelativeToAndRange(), HPVectorToJSValue(), OOJSValue::initWithJSValue:inContext:, DockEntity::initWithKey:definition:, OOVisualEffectEntity::initWithKey:definition:, ShipEntity::initWithKey:definition:, StationEntity::initWithKey:definition:, OOMesh(Private)::initWithName:cacheKey:materialDictionary:shadersDictionary:smooth:shaderMacros:shaderBindingTarget:scaleFactor:cacheWriteable:, JSArrayFromNSArray(), JSDockGetDockEntity(), JSDockGetShipEntity(), JSEntityIsJavaScriptSearchablePredicate(), JSEntityIsJavaScriptVisiblePredicate(), JSExhaustPlumeGetExhaustPlumeEntity(), JSFlasherGetFlasherEntity(), JSFunctionPredicate(), JSNewNSArrayValue(), JSNewNSDictionaryValue(), JSObjectFromNSDictionary(), JSObjectGetQuaternion(), JSObjectGetVector(), JSQuaternionSetQuaternion(), JSQuaternionWithQuaternion(), JSStationGetShipEntity(), JSStationGetStationEntity(), JSValueToEquipmentKeyRelaxed(), JSValueToEquipmentType(), JSVectorSetHPVector(), JSVectorWithHPVector(), JSVectorWithVector(), JSVisualEffectGetVisualEffectEntity(), JSWaypointGetWaypointEntity(), JSWormholeGetWormholeEntity(), OOMesh(Private)::loadData:scaleFactor:, OOMesh(Private)::modelData, Universe::newDockWithName:andScaleFactor:, Universe::newShipWithName:usePlayerProxy:isSubentity:andScaleFactor:, Universe::newShipWithRole:, Universe::newVisualEffectWithName:, NSObject(OOJavaScriptConversion)::oo_jsDescriptionWithClassName:, NSNumber(OOJavaScriptConversion)::oo_jsValueInContext:, NSString(OOJavaScriptExtensions)::oo_jsValueInContext:, OOJSArgumentListGetNumberNoError(), OOJSCallObjCObjectMethod(), OOJSDictionaryFromJSObject(), OOJSDictionaryFromJSValue(), OOJSDictionaryFromStringTable(), OOJSNativeObjectFromJSObject(), OOJSNativeObjectFromJSValue(), OOJSObjectGetterImplPRIVATE(), OOJSObjectWrapperFinalize(), OOStringFromJSString(), OOStringFromJSValue(), OOStringFromJSValueEvenIfNull(), QuaternionConjugate(), QuaternionConstruct(), QuaternionDot(), QuaternionFromArgumentListNoErrorInternal(), QuaternionGetProperty(), QuaternionMultiply(), QuaternionNormalize(), QuaternionRotate(), QuaternionRotateX(), QuaternionRotateY(), QuaternionRotateZ(), QuaternionSetProperty(), QuaternionStaticRandom(), QuaternionToArray(), QuaternionToJSValue(), QuaternionVectorForward(), QuaternionVectorRight(), QuaternionVectorUp(), Universe::randomShipKeyForRoleRespectingConditions:, RemoveOrExplodeShip(), OOMesh(Private)::setModelFromModelData:name:, ShipEntity::setUpFromDictionary:, ShipEntity(Private)::setUpOneSubentity:, DockEntity::setUpShipFromDictionary:, ShipEntity::setUpShipFromDictionary:, StationEntity::setUpShipFromDictionary:, ShipEntity::setUpSubEntities, OOMesh(Private)::setUpVertexArrays, OOVisualEffectEntity::setUpVisualEffectFromDictionary:, ShipAddCollisionException(), ShipAddDefenseTarget(), ShipAdjustCargo(), ShipBecomeCascadeExplosion(), ShipBroadcastCascadeImminent(), ShipBroadcastDistressMessage(), ShipCheckCourseToDestination(), ShipCheckScanner(), Universe::shipClassForShipDictionary:, ShipClearDefenseTargets(), ShipDamageAssessment(), ShipEnterWormhole(), ShipGetMaterials(), ShipGetSafeCourseToDestination(), ShipGetShaders(), ShipMarkTargetForFines(), ShipNotifyGroupOfWormhole(), ShipOfferToEscort(), ShipPatrolReportIn(), ShipPerformAttack(), ShipPerformCollect(), ShipPerformEscort(), ShipPerformFaceDestination(), ShipPerformFlee(), ShipPerformFlyToRangeFromDestination(), ShipPerformHold(), ShipPerformIdle(), ShipPerformIntercept(), ShipPerformLandOnPlanet(), ShipPerformMining(), ShipPerformScriptedAI(), ShipPerformScriptedAttackAI(), ShipPerformStop(), ShipPerformTumble(), ShipRecallDockingInstructions(), ShipRemoveCollisionException(), ShipRemoveDefenseTarget(), ShipRequestDockingInstructions(), ShipRequestHelpFromGroup(), ShipSetMaterialsInternal(), ShipThreatAssessment(), ShipThrowSpark(), ShipUpdateEscortFormation(), SoundFromJSValue(), SpecialJSWarning(), NSString(OOJavaScriptExtensions)::stringWithJavaScriptParameters:count:inContext:, SystemInfoDeleteProperty(), SystemInfoFinalize(), GuiDisplayGen::textureDescriptorFromJSValue:inContext:callerDescription:, TimerFinalize(), ValidateContracts(), OOJSValue::valueWithJSObject:inContext:, OOJSValue::valueWithJSValue:inContext:, VectorAdd(), VectorAngleTo(), VectorConstruct(), VectorCross(), VectorDirection(), VectorDistanceTo(), VectorDot(), VectorFinalize(), VectorFromArgumentListNoErrorInternal(), VectorGetProperty(), VectorMagnitude(), VectorMultiply(), VectorRotateBy(), VectorRotationTo(), VectorSetProperty(), VectorSquaredDistanceTo(), VectorSquaredMagnitude(), VectorStaticInterpolate(), VectorStaticRandom(), VectorStaticRandomDirection(), VectorStaticRandomDirectionAndLength(), VectorSubtract(), VectorToArray(), VectorToJSValue(), VectorTripleProduct(), VisualEffectGetMaterials(), VisualEffectGetShaders(), and VisualEffectSetMaterialsInternal().
#define OOJS_PROFILE_ENTER_FOR_NATIVE @try { |
Definition at line 80 of file OOJSEngineNativeWrappers.h.
#define OOJS_PROFILE_EXIT OOJS_PROFILE_EXIT_VAL(0) |
Definition at line 107 of file OOJSEngineNativeWrappers.h.
Referenced by Universe::addShipAt:withRole:withinRadius:, Universe::addShipsAt:withRole:quantity:withinRadius:asGroup:, Universe::addVisualEffectAt:withKey:, CompareEntitiesByDistance(), NSString(OOJavaScriptExtensions)::concatenationOfStringsFromJavaScriptValues:count:separator:inContext:, Universe::currentSystemData, DebugMonitorToJSConsole(), DescribeValue(), EntityDumpState(), EntityFromArgumentList(), NSString(OOJavaScriptExtensions)::escapedForJavaScriptLiteral, Universe::findEntitiesMatchingPredicate:parameter:inRange:ofEntity:, FindJSVisibleEntities(), FindShips(), Universe::generateSystemData:useCache:, GetRelativeToAndRange(), HPVectorToJSValue(), OOJSValue::initWithJSValue:inContext:, DockEntity::initWithKey:definition:, OOVisualEffectEntity::initWithKey:definition:, ShipEntity::initWithKey:definition:, StationEntity::initWithKey:definition:, OOMesh(Private)::initWithName:cacheKey:materialDictionary:shadersDictionary:smooth:shaderMacros:shaderBindingTarget:scaleFactor:cacheWriteable:, JSArrayFromNSArray(), JSDockGetDockEntity(), JSDockGetShipEntity(), JSEntityIsJavaScriptSearchablePredicate(), JSEntityIsJavaScriptVisiblePredicate(), JSExhaustPlumeGetExhaustPlumeEntity(), JSFlasherGetFlasherEntity(), JSFunctionPredicate(), JSNewNSArrayValue(), JSNewNSDictionaryValue(), JSObjectFromNSDictionary(), JSObjectGetQuaternion(), JSObjectGetVector(), JSQuaternionSetQuaternion(), JSQuaternionWithQuaternion(), JSStationGetShipEntity(), JSStationGetStationEntity(), JSValueToEquipmentKeyRelaxed(), JSValueToEquipmentType(), JSVectorSetHPVector(), JSVectorWithHPVector(), JSVectorWithVector(), JSVisualEffectGetVisualEffectEntity(), JSWaypointGetWaypointEntity(), JSWormholeGetWormholeEntity(), OOMesh(Private)::loadData:scaleFactor:, OOMesh(Private)::modelData, Universe::newDockWithName:andScaleFactor:, Universe::newShipWithName:usePlayerProxy:isSubentity:andScaleFactor:, Universe::newShipWithRole:, Universe::newVisualEffectWithName:, NSObject(OOJavaScriptConversion)::oo_jsDescriptionWithClassName:, OOJSArgumentListGetNumberNoError(), OOJSCallObjCObjectMethod(), OOJSDictionaryFromJSObject(), OOJSDictionaryFromJSValue(), OOJSDictionaryFromStringTable(), OOJSNativeObjectFromJSObject(), OOJSNativeObjectFromJSValue(), OOJSObjectGetterImplPRIVATE(), OOStringFromJSString(), OOStringFromJSValue(), OOStringFromJSValueEvenIfNull(), QuaternionConjugate(), QuaternionConstruct(), QuaternionDot(), QuaternionFromArgumentListNoErrorInternal(), QuaternionGetProperty(), QuaternionMultiply(), QuaternionNormalize(), QuaternionRotate(), QuaternionRotateX(), QuaternionRotateY(), QuaternionRotateZ(), QuaternionSetProperty(), QuaternionStaticRandom(), QuaternionToArray(), QuaternionToJSValue(), QuaternionVectorForward(), QuaternionVectorRight(), QuaternionVectorUp(), Universe::randomShipKeyForRoleRespectingConditions:, RemoveOrExplodeShip(), OOMesh(Private)::setModelFromModelData:name:, ShipEntity(Private)::setUpOneSubentity:, DockEntity::setUpShipFromDictionary:, ShipEntity::setUpShipFromDictionary:, StationEntity::setUpShipFromDictionary:, ShipEntity::setUpSubEntities, OOMesh(Private)::setUpVertexArrays, OOVisualEffectEntity::setUpVisualEffectFromDictionary:, ShipAddCollisionException(), ShipAddDefenseTarget(), ShipAdjustCargo(), ShipBecomeCascadeExplosion(), ShipBroadcastCascadeImminent(), ShipBroadcastDistressMessage(), ShipCheckCourseToDestination(), ShipCheckScanner(), Universe::shipClassForShipDictionary:, ShipClearDefenseTargets(), ShipDamageAssessment(), ShipEnterWormhole(), ShipGetMaterials(), ShipGetSafeCourseToDestination(), ShipGetShaders(), ShipMarkTargetForFines(), ShipNotifyGroupOfWormhole(), ShipOfferToEscort(), ShipPatrolReportIn(), ShipPerformAttack(), ShipPerformCollect(), ShipPerformEscort(), ShipPerformFaceDestination(), ShipPerformFlee(), ShipPerformFlyToRangeFromDestination(), ShipPerformHold(), ShipPerformIdle(), ShipPerformIntercept(), ShipPerformLandOnPlanet(), ShipPerformMining(), ShipPerformScriptedAI(), ShipPerformScriptedAttackAI(), ShipPerformStop(), ShipPerformTumble(), ShipRecallDockingInstructions(), ShipRemoveCollisionException(), ShipRemoveDefenseTarget(), ShipRequestDockingInstructions(), ShipRequestHelpFromGroup(), ShipSetMaterialsInternal(), ShipThreatAssessment(), ShipThrowSpark(), ShipUpdateEscortFormation(), SoundFromJSValue(), SpecialJSWarning(), NSString(OOJavaScriptExtensions)::stringWithJavaScriptParameters:count:inContext:, SystemInfoDeleteProperty(), GuiDisplayGen::textureDescriptorFromJSValue:inContext:callerDescription:, ValidateContracts(), OOJSValue::valueWithJSObject:inContext:, OOJSValue::valueWithJSValue:inContext:, VectorAdd(), VectorAngleTo(), VectorConstruct(), VectorCross(), VectorDirection(), VectorDistanceTo(), VectorDot(), VectorFromArgumentListNoErrorInternal(), VectorGetProperty(), VectorMagnitude(), VectorMultiply(), VectorRotateBy(), VectorRotationTo(), VectorSetProperty(), VectorSquaredDistanceTo(), VectorSquaredMagnitude(), VectorStaticInterpolate(), VectorStaticRandom(), VectorStaticRandomDirection(), VectorStaticRandomDirectionAndLength(), VectorSubtract(), VectorToArray(), VectorToJSValue(), VectorTripleProduct(), VisualEffectGetMaterials(), VisualEffectGetShaders(), and VisualEffectSetMaterialsInternal().
#define OOJS_PROFILE_EXIT_JSVAL OOJS_PROFILE_EXIT_VAL(JSVAL_VOID) |
Definition at line 108 of file OOJSEngineNativeWrappers.h.
Referenced by GetJSSystemInfoForSystem(), NSNumber(OOJavaScriptConversion)::oo_jsValueInContext:, and NSString(OOJavaScriptExtensions)::oo_jsValueInContext:.
#define OOJS_PROFILE_EXIT_VAL | ( | rval | ) |
Definition at line 78 of file OOJSEngineNativeWrappers.h.
#define OOJS_PROFILE_EXIT_VOID } return; |
Definition at line 79 of file OOJSEngineNativeWrappers.h.
Referenced by OOJavaScriptConsoleController::appendMessage:colorKey:emphasisRange:, OOMesh(Private)::calculateBoundingVolumes, OOMesh(Private)::calculateVertexNormalsAndTangentsWithFaceRefs:, OOMesh(Private)::calculateVertexTangentsWithFaceRefs:, OOMesh(Private)::checkNormalsAndAdjustWinding, ConsoleFinalize(), OOMesh(Private)::generateFaceTangents, OOMesh(Private)::getNormal:andTangent:forVertex:inSmoothGroup:, OOJSObjectWrapperFinalize(), SystemInfoFinalize(), TimerFinalize(), and VectorFinalize().
#define OOJSProfileEnter | ( | frame, | |
function ) |
Definition at line 190 of file OOJSEngineNativeWrappers.h.
#define OOJSProfileExit | ( | frame | ) |
Definition at line 191 of file OOJSEngineNativeWrappers.h.
void OOJSReportWrappedException | ( | JSContext * | context, |
id | exception ) |
Definition at line 1050 of file OOJavaScriptEngine.m.
References OOJSReportError().
void OOJSUnreachable | ( | const char * | function, |
const char * | file, | ||
unsigned | line ) |
Definition at line 1063 of file OOJavaScriptEngine.m.
References OOLog, and OOLogAbbreviatedFileName().