Skip to Content
The Alchemy Project

struct GROUND_PARTICLE_STATE

The heap slot weather while the scenes' sparkles run (fdGroundParticlesDraw): The Broken Seal's WEATHER_STATE, grown to 64 particles, with the place the particles gather around.

Declared in dust.h.

Fields

NameDescription
Sint32entrythe VRAM cache entry holding the particles' tiles
Sint32tileBasetheir first tile in VRAM
WEATHER_PARTICLEparticles [64]
FIXED *leader16.16 (x, height, z) spawn point; NULL keeps them where they fall
Uint8unused [4]no code reads it
Sint32stoppednonzero stops new sparkle bursts, as in WEATHER_STATE

Description

The heap slot weather while the scenes' sparkles run (fdGroundParticlesDraw): The Broken Seal's WEATHER_STATE, grown to 64 particles, with the place the particles gather around.

struct GROUND_PARTICLE_STATE

Referenced by fdGroundParticlesDraw(), fdGroundParticlesStart() and scGroundParticlesSetAnchor().

Definition at line 13 of file dust.h.

Fields in detail

entry

Sint32 entry

the VRAM cache entry holding the particles' tiles

tileBase

Sint32 tileBase

their first tile in VRAM

particles

WEATHER_PARTICLE particles[64]

leader

FIXED *leader

16.16 (x, height, z) spawn point; NULL keeps them where they fall

unused

Uint8 unused[4]

no code reads it

stopped

Sint32 stopped

nonzero stops new sparkle bursts, as in WEATHER_STATE