Skip to Content
The Alchemy Project

src/scene/shared/ground_particles_draw.c

Included by apojii_islands.c and aqua_rock.c.

Functions

NameDescription
voidfdGroundParticlesDraw (void)Event: the drops of rain falling about the stone Douse has struck (scGroundParticlesSetAnchor), the overlay's copy of fdGroundParticlesUpdate.

Functions in detail

fdGroundParticlesDraw

void fdGroundParticlesDraw(void)

Event: the drops of rain falling about the stone Douse has struck (scGroundParticlesSetAnchor), the overlay's copy of fdGroundParticlesUpdate. Each plays its ticks of GroundParticleFrames, falling and then splashing on the ground (held while FLAG_WEATHER_HELD is set), and falls again at a random spot within a screen of that actor, or at the origin when there is none.

References fdMapGetTerrainHeight(), fdMapStateView(), GroundParticleFrames, Sint32, syGameFlagGet(), syOAMAddSpriteAtDepth() and syRandom().

Referenced by fdGroundParticlesStart().

Definition at line 6 of file ground_particles_draw.c.