Oolite 1.91.0.7645-241119-222d325
|
import "OOWaypointEntity.h"
import "OOJSWaypoint.h"
import "OOJSEntity.h"
import "OOJSVector.h"
import "OOJSQuaternion.h"
import "OOJavaScriptEngine.h"
import "OOCollectionExtractors.h"
import "EntityOOJavaScriptExtensions.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 60 of file OOJSWaypoint.m.
void InitOOJSWaypoint | ( | JSContext * | context, |
JSObject * | global ) |
Definition at line 89 of file OOJSWaypoint.m.
References JSEntityClass(), JSEntityPrototype(), OOJSBasicPrivateObjectConverter(), OOJSRegisterObjectConverter(), OOJSRegisterSubclass(), OOJSUnconstructableConstruct(), sWaypointClass, sWaypointMethods, sWaypointProperties, and sWaypointPrototype.
|
static |
Definition at line 97 of file OOJSWaypoint.m.
References nil, OOJS_PROFILE_ENTER, and OOJS_PROFILE_EXIT.
Referenced by OOWaypointEntity(OOJavaScriptExtensions)::getJSClass:andPrototype:, and WaypointGetProperty().
|
static |
Definition at line 141 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 187 of file OOJSWaypoint.m.
|
static |
Definition at line 43 of file OOJSWaypoint.m.
Referenced by InitOOJSWaypoint().
|
static |
Definition at line 81 of file OOJSWaypoint.m.
Referenced by InitOOJSWaypoint().
|
static |
Definition at line 70 of file OOJSWaypoint.m.
Referenced by OOWaypointEntity(OOJavaScriptExtensions)::getJSClass:andPrototype:, InitOOJSWaypoint(), and WaypointGetProperty().
|
static |
Definition at line 34 of file OOJSWaypoint.m.
Referenced by InitOOJSWaypoint().