struct ORBIT
An actor circling a centre on a growing circle (scOrbitUpdate), its centre, radius and turn kept in the actor's scene-owned words.
Declared in orbit.h.
Fields
| Name | Description | |
|---|---|---|
const Sint32 * | script | |
Sint16 | scriptCursor | |
Uint16 | facing | |
FIXED | x | Position (x, y, z), in 16.16 fixed-point pixels. |
FIXED | y | |
FIXED | z | |
FIXED | groundHeight | |
FIXED | scaleX | |
FIXED | scaleY | |
Uint16 | radius | |
Uint8 | layer | |
Uint8 | priorityFlags | |
FIXED | velocityX | |
FIXED | velocityY | |
FIXED | velocityZ | |
FIXED | speedLimit | |
FIXED | acceleration | |
FIXED | targetX | |
FIXED | targetY | |
FIXED | targetZ | |
FIXED | centreX | 16.16 fixed-point pixels, in bounce. |
FIXED | centreZ | 16.16 fixed-point pixels, in gravity. |
FIXED | orbitRadius | 16.16 fixed-point pixels, in sceneWord. |
void * | sprite | |
Uint8 | spriteStorageKind | |
Uint8 | motionFlags | |
Uint8 | arrivalAxis | |
Uint8 | conditionResult | |
Uint8 | snapToTarget | |
Uint8 | collisionFlags | |
Uint8 | steeringFlags | |
Uint8 | paused | |
Uint8 | retainSpriteCache | |
Uint8 | repeatCount | |
Sint16 | wait | |
Uint8 | refused | |
Uint8 | frozen | |
Uint8 | phase | Where the circle's growth starts, 1/64 turns. |
Uint8 | growth | Grows by 10 every other tick up to 141. |
Sint16 | angle | Its place on the circle, 1/65536 turns. |
Sint16 | speed | Its turn a tick, slowed by 128 a tick once grown. |
Description
An actor circling a centre on a growing circle (scOrbitUpdate), its centre,
radius and turn kept in the actor's scene-owned words.
struct ORBIT
Referenced by scMagmaRockInsideDriftForSteps(), scMagmaRockInsideLearnBlaze() and scOrbitUpdate().
Definition at line 64 of file orbit.h.
Fields in detail
script
const Sint32 *script
scriptCursor
Sint16 scriptCursor
facing
Uint16 facing
x
FIXED x
Position (x, y, z), in 16.16 fixed-point pixels.
y
FIXED y
z
FIXED z
groundHeight
FIXED groundHeight
scaleX
FIXED scaleX
scaleY
FIXED scaleY
radius
Uint16 radius
layer
Uint8 layer
priorityFlags
Uint8 priorityFlags
velocityX
FIXED velocityX
velocityY
FIXED velocityY
velocityZ
FIXED velocityZ
speedLimit
FIXED speedLimit
acceleration
FIXED acceleration
targetX
FIXED targetX
targetY
FIXED targetY
targetZ
FIXED targetZ
centreX
FIXED centreX
16.16 fixed-point pixels, in bounce.
centreZ
FIXED centreZ
16.16 fixed-point pixels, in gravity.
orbitRadius
FIXED orbitRadius
16.16 fixed-point pixels, in sceneWord.
sprite
void *sprite
spriteStorageKind
Uint8 spriteStorageKind
motionFlags
Uint8 motionFlags
arrivalAxis
Uint8 arrivalAxis
conditionResult
Uint8 conditionResult
snapToTarget
Uint8 snapToTarget
collisionFlags
Uint8 collisionFlags
steeringFlags
Uint8 steeringFlags
paused
Uint8 paused
retainSpriteCache
Uint8 retainSpriteCache
repeatCount
Uint8 repeatCount
wait
Sint16 wait
refused
Uint8 refused
frozen
Uint8 frozen
phase
Uint8 phase
Where the circle's growth starts, 1/64 turns.
growth
Uint8 growth
Grows by 10 every other tick up to 141.
angle
Sint16 angle
Its place on the circle, 1/65536 turns.
speed
Sint16 speed
Its turn a tick, slowed by 128 a tick once grown.