Skip to Content
The Alchemy Project

src/scene/shared/sol_sanctum_elemental_star_light_tables.c

Sol Sanctum's Elemental Star room and its eruption: each floating light's drift, swing, direction and pulse, by its index, as sol_sanctum_elemental_star_lights.c reads them.

Included by sol_sanctum_elemental_star_room.c and sol_sanctum_eruption.c.

Variables

NameDescription
Uint8SolSanctumLightDrift [][3]Each light, on x, y and z: the most its drift speeds up a tick (thousandths of a pixel), how fast it swings, and which way it drifts (1, -1, or 0 for not at all); then its largest scale and how fast it pulses.
Uint8SolSanctumLightSwing [][3]
Sint8SolSanctumLightDirection [][3]
FIXEDSolSanctumLightMaxScales []
FIXEDSolSanctumLightScaleSteps []

Description

Sol Sanctum's Elemental Star room and its eruption: each floating light's drift, swing, direction and pulse, by its index, as sol_sanctum_elemental_star_lights.c reads them.

Variables in detail

SolSanctumLightDrift

Uint8 SolSanctumLightDrift[][3]

Each light, on x, y and z: the most its drift speeds up a tick (thousandths of a pixel), how fast it swings, and which way it drifts (1, -1, or 0 for not at all); then its largest scale and how fast it pulses.

Referenced by scSolSanctumUpdateFloatingLights().

Definition at line 12 of file sol_sanctum_elemental_star_light_tables.c.

SolSanctumLightSwing

Uint8 SolSanctumLightSwing[][3]

Referenced by scSolSanctumUpdateFloatingLights().

Definition at line 24 of file sol_sanctum_elemental_star_light_tables.c.

SolSanctumLightDirection

Sint8 SolSanctumLightDirection[][3]

Referenced by scSolSanctumUpdateFloatingLights().

Definition at line 36 of file sol_sanctum_elemental_star_light_tables.c.

SolSanctumLightMaxScales

FIXED SolSanctumLightMaxScales[]

Referenced by scSolSanctumStartFloatingLights() and scSolSanctumUpdateFloatingLights().

Definition at line 48 of file sol_sanctum_elemental_star_light_tables.c.

SolSanctumLightScaleSteps

FIXED SolSanctumLightScaleSteps[]

Referenced by scSolSanctumStartFloatingLights() and scSolSanctumUpdateFloatingLights().

Definition at line 52 of file sol_sanctum_elemental_star_light_tables.c.