Skip to Content
The Alchemy Project

struct SPARK

One of the star field's sparks, drawn inward to the centre. More…

Declared in battle_element_glow.c.

Fields

NameDescription
Sint32motion [6]x, y, z, then their velocities, in STAR_FIELD_PIXEL units
Sint32lifeticks 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