struct SPARK
A spark sent spiralling in to a Djinni's plate, as an actor's motion fields hold it: the plate it closes on (originX, originZ), the radius, angle and spin of its spiral, and its height, which drops by fall each step.
Declared in anemos_inner_sanctum.c.
Fields
| Name | Description | |
|---|---|---|
const Sint32 * | script | |
Sint16 | scriptCursor | |
Uint16 | facing | |
Sint32 | x | |
Sint32 | y | |
Sint32 | z | |
Sint32 | fall | |
Sint32 | scaleX, scaleY , scaleY | |
Uint16 | collisionRadius | |
Uint8 | layer | |
Uint8 | priorityFlags | |
Sint32 | velocityX, velocityY, velocityZ , velocityY, velocityZ | |
Sint32 | step | |
Sint32 | height | |
Sint32 | targetX, targetY, targetZ , targetY, targetZ | |
Sint32 | originX | |
Sint32 | originZ | |
Sint32 | radius | |
void * | sprite | |
Uint8 | spriteStorageKind | |
Uint8 | motionFlags | |
Uint8 | arrivalAxis, conditionResult, snapToTarget, collisionFlags , conditionResult, snapToTarget, collisionFlags | |
Uint8 | steeringFlags, paused, retainSpriteCache, repeatCount , paused, retainSpriteCache, repeatCount | |
Sint16 | wait | |
Uint8 | refused, frozen , frozen | |
Uint8 | palette | the palette of its sparks |
Uint8 | sceneByte | |
Sint16 | angle | |
Sint16 | spin |
Description
A spark sent spiralling in to a Djinni's plate, as an actor's motion fields
hold it: the plate it closes on (originX, originZ), the radius, angle and
spin of its spiral, and its height, which drops by fall each step.
struct SPARK
Referenced by btElementGlowInitStarField(), btElementGlowUpdateStarField(), scAnemosInnerSanctumSendSpark(), scAnemosInnerSanctumSpiralIn(), scJupiterLighthouseAddSparks(), scJupiterLighthouseStartSparkRing() and scJupiterLighthouseUpdateSparkRing().
Definition at line 36 of file anemos_inner_sanctum.c.
Fields in detail
script
const Sint32 *script
scriptCursor
Sint16 scriptCursor
facing
Uint16 facing
x
Sint32 x
y
Sint32 y
z
Sint32 z
fall
Sint32 fall
scaleX, scaleY
Sint32 scaleX, scaleY
collisionRadius
Uint16 collisionRadius
layer
Uint8 layer
priorityFlags
Uint8 priorityFlags
velocityX, velocityY, velocityZ
Sint32 velocityX, velocityY, velocityZ
step
Sint32 step
height
Sint32 height
targetX, targetY, targetZ
Sint32 targetX, targetY, targetZ
originX
Sint32 originX
originZ
Sint32 originZ
radius
Sint32 radius
sprite
void *sprite
spriteStorageKind
Uint8 spriteStorageKind
motionFlags
Uint8 motionFlags
arrivalAxis, conditionResult, snapToTarget, collisionFlags
Uint8 arrivalAxis, conditionResult, snapToTarget, collisionFlags
steeringFlags, paused, retainSpriteCache, repeatCount
Uint8 steeringFlags, paused, retainSpriteCache, repeatCount
wait
Sint16 wait
refused, frozen
Uint8 refused, frozen
palette
Uint8 palette
the palette of its sparks
sceneByte
Uint8 sceneByte
angle
Sint16 angle
spin
Sint16 spin