![]() |
Oolite 1.91.0.7658-250404-b1488af
|
import "OOJSPlanet.h"
import "OOJSEntity.h"
import "OOJavaScriptEngine.h"
import "OOJSQuaternion.h"
import "OOJSVector.h"
import "OOPlanetEntity.h"
Go to the source code of this file.
Functions | |
static JSBool | PlanetGetProperty (JSContext *context, JSObject *this, jsid propID, jsval *value) |
static JSBool | PlanetSetProperty (JSContext *context, JSObject *this, jsid propID, JSBool strict, jsval *value) |
void | InitOOJSPlanet (JSContext *context, JSObject *global) |
Variables | |
static JSObject * | sPlanetPrototype |
static JSClass | sPlanetClass |
static JSPropertySpec | sPlanetProperties [] |
anonymous enum |
Definition at line 59 of file OOJSPlanet.m.
void InitOOJSPlanet | ( | JSContext * | context, |
JSObject * | global ) |
Definition at line 99 of file OOJSPlanet.m.
References InitOOJSPlanet(), JSEntityClass(), JSEntityPrototype(), OOJSBasicPrivateObjectConverter(), OOJSRegisterObjectConverter(), OOJSRegisterSubclass(), OOJSUnconstructableConstruct(), sPlanetClass, sPlanetProperties, and sPlanetPrototype.
Referenced by OOJavaScriptEngine(Private)::createMainThreadContext, and InitOOJSPlanet().
|
static |
Definition at line 139 of file OOJSPlanet.m.
References kPlanet_airColor, kPlanet_airColorMixRatio, kPlanet_airDensity, kPlanet_hasAtmosphere, kPlanet_illuminationColor, kPlanet_isMainPlanet, kPlanet_name, kPlanet_orientation, kPlanet_radius, kPlanet_rotationalVelocity, kPlanet_terminatorThresholdVector, kPlanet_texture, nil, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJSReportBadPropertySelector(), OOJSValueFromBOOL(), OOJSValueFromNativeObject(), QuaternionToJSValue(), sPlanetProperties, UNIVERSE, and VectorToJSValue().
|
static |
Definition at line 201 of file OOJSPlanet.m.
References OOColor::colorWithDescription:, JSValueToQuaternion(), JSValueToVector(), kPlanet_airColor, kPlanet_airColorMixRatio, kPlanet_airDensity, kPlanet_illuminationColor, kPlanet_name, kPlanet_orientation, kPlanet_rotationalVelocity, kPlanet_terminatorThresholdVector, kPlanet_texture, nil, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJSPauseTimeLimiter(), OOJSReportBadPropertySelector(), OOJSReportBadPropertyValue(), OOJSReportWarning(), OOJSResumeTimeLimiter(), OOStringFromJSValue(), and sPlanetProperties.
|
static |
Definition at line 42 of file OOJSPlanet.m.
Referenced by OOPlanetEntity(OOJavaScriptExtensions)::getJSClass:andPrototype:, and InitOOJSPlanet().
|
static |
Definition at line 77 of file OOJSPlanet.m.
Referenced by InitOOJSPlanet(), PlanetGetProperty(), and PlanetSetProperty().
|
static |
Definition at line 35 of file OOJSPlanet.m.
Referenced by OOPlanetEntity(OOJavaScriptExtensions)::getJSClass:andPrototype:, and InitOOJSPlanet().