struct SPARK
One of the star field's sparks, drawn inward to the centre. More…
Declared in battle_element_glow.c.
Fields
| Name | Description | |
|---|---|---|
Sint32 | motion [6] | x, y, z, then their velocities, in STAR_FIELD_PIXEL units |
Sint32 | life | ticks left |
Description
One of the star field's sparks, drawn inward to the centre. Sixteen live in
SPARK_STATE.sparks; a spent one starts again while the field is young.
struct SPARK
Referenced by btElementGlowInitStarField() and btElementGlowUpdateStarField().
Definition at line 8 of file battle_element_glow.c.
Fields in detail
motion
Sint32 motion[6]
x, y, z, then their velocities, in STAR_FIELD_PIXEL
units
life
Sint32 life
ticks left