|
Oolite
|
import "OOJSWaypoint.h"import "EntityOOJavaScriptExtensions.h"import "OOCollectionExtractors.h"import "OOJSEntity.h"import "OOJSQuaternion.h"import "OOJSVector.h"import "OOJavaScriptEngine.h"Go to the source code of this file.
Enumerations | |
| enum | { kWaypoint_beaconCode , kWaypoint_beaconLabel , kWaypoint_orientation , kWaypoint_size } |
Functions | |
| static BOOL | JSWaypointGetWaypointEntity (JSContext *context, JSObject *stationObj, OOWaypointEntity **outEntity) |
| static JSBool | WaypointGetProperty (JSContext *context, JSObject *this, jsid propID, jsval *value) |
| static JSBool | WaypointSetProperty (JSContext *context, JSObject *this, jsid propID, JSBool strict, jsval *value) |
| void | InitOOJSWaypoint (JSContext *context, JSObject *global) |
Variables | |
| static JSObject * | sWaypointPrototype |
| static JSClass | sWaypointClass |
| static JSPropertySpec | sWaypointProperties [] |
| static JSFunctionSpec | sWaypointMethods [] |
| anonymous enum |
| Enumerator | |
|---|---|
| kWaypoint_beaconCode | |
| kWaypoint_beaconLabel | |
| kWaypoint_orientation | |
| kWaypoint_size | |
Definition at line 54 of file OOJSWaypoint.m.
| void InitOOJSWaypoint | ( | JSContext * | context, |
| JSObject * | global ) |
Definition at line 77 of file OOJSWaypoint.m.
References JSEntityClass(), JSEntityPrototype(), OOJSBasicPrivateObjectConverter(), OOJSRegisterObjectConverter(), OOJSRegisterSubclass(), OOJSUnconstructableConstruct(), sWaypointClass, sWaypointMethods, sWaypointProperties, and sWaypointPrototype.
Referenced by OOJavaScriptEngine(Private)::createMainThreadContext.
|
static |
Definition at line 84 of file OOJSWaypoint.m.
References nil, OOJS_PROFILE_ENTER, and OOJS_PROFILE_EXIT.
Referenced by WaypointGetProperty(), WaypointGetProperty(), WaypointSetProperty(), and WaypointSetProperty().
|
static |
Definition at line 128 of file OOJSWaypoint.m.
References OOWaypointEntity::beaconCode, OOWaypointEntity::beaconLabel, JSWaypointGetWaypointEntity(), kIdentityQuaternion, kWaypoint_beaconCode, kWaypoint_beaconLabel, kWaypoint_orientation, kWaypoint_size, kZeroQuaternion, nil, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJSReportBadPropertySelector(), OOJSValueFromNativeObject(), Entity::orientation, QuaternionToJSValue(), and sWaypointProperties.
|
static |
Definition at line 176 of file OOJSWaypoint.m.
References JSValueToQuaternion(), JSWaypointGetWaypointEntity(), kWaypoint_beaconCode, kWaypoint_beaconLabel, kWaypoint_orientation, kWaypoint_size, nil, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJSReportBadPropertySelector(), OOJSReportBadPropertyValue(), OOStringFromJSValue(), PLAYER, OOWaypointEntity::setBeaconCode:, OOWaypointEntity::setBeaconLabel:, Entity::setNormalOrientation:, OOWaypointEntity::setSize:, and sWaypointProperties.
|
static |
Definition at line 39 of file OOJSWaypoint.m.
Referenced by OOWaypointEntity(OOJavaScriptExtensions)::getJSClass:andPrototype:, InitOOJSWaypoint(), and InitOOJSWaypoint().
|
static |
Definition at line 71 of file OOJSWaypoint.m.
Referenced by InitOOJSWaypoint().
|
static |
Definition at line 62 of file OOJSWaypoint.m.
Referenced by InitOOJSWaypoint(), InitOOJSWaypoint(), WaypointGetProperty(), WaypointGetProperty(), WaypointSetProperty(), and WaypointSetProperty().
|
static |
Definition at line 32 of file OOJSWaypoint.m.
Referenced by OOWaypointEntity(OOJavaScriptExtensions)::getJSClass:andPrototype:, and InitOOJSWaypoint().