struct SOL_SANCTUM_LIGHT_ENTRY
One floating light: its actor, its drift and its pulsing scale, and where it is while hidden.
Declared in sol_sanctum_elemental_star_lights.c.
Fields
| Name | Description | |
|---|---|---|
ACTOR * | actor | |
FIXED | x | Position in 16.16 fixed-point pixels. |
FIXED | y | |
FIXED | z | |
Sint32 | speedX | Its drift on each axis, which grows at random each step; the light swings by the sine of it. |
Sint32 | speedY | |
Sint32 | speedZ | |
FIXED | scale | 16.16 fixed point, where toFIXED(1) is full size. |
FIXED | scaleStep | 16.16 fixed point. |
Uint8 | timer | Ticks to its next step. |
Uint8 | hold | Steps it has left hidden. |
Description
One floating light: its actor, its drift and its pulsing scale, and where it is while hidden.
struct SOL_SANCTUM_LIGHT_ENTRY
Referenced by scSolSanctumStartFloatingLights() and scSolSanctumUpdateFloatingLights().
Definition at line 24 of file sol_sanctum_elemental_star_lights.c.
Fields in detail
actor
ACTOR *actor
x
FIXED x
Position in 16.16 fixed-point pixels.
y
FIXED y
z
FIXED z
speedX
Sint32 speedX
Its drift on each axis, which grows at random each step; the light swings by the sine of it.
speedY
Sint32 speedY
speedZ
Sint32 speedZ
scale
FIXED scale
16.16 fixed point, where toFIXED(1) is full size.
scaleStep
FIXED scaleStep
16.16 fixed point.
timer
Uint8 timer
Ticks to its next step.
hold
Uint8 hold
Steps it has left hidden.