Skip to Content
The Alchemy Project

src/scene/shared/actor_emit_sparkles.c

Included by airs_rock_inside.c, aqua_rock_inside.c and gaia_rock_inside.c.

Functions

NameDescription
voidscActorEmitSparkles (ACTOR *actor)Sparkles rising about an actor, as about an Adept a tablet has taught Psynergy: every eighth tick a white sparkle starts within 16 pixels to either side of it, 8 to 39 pixels up, and rises half a pixel a tick.

Functions in detail

scActorEmitSparkles

void scActorEmitSparkles(ACTOR *actor)

Sparkles rising about an actor, as about an Adept a tablet has taught Psynergy: every eighth tick a white sparkle starts within 16 pixels to either side of it, 8 to 39 pixels up, and rises half a pixel a tick.

References scFieldEffectSpawn(), syRandom() and TickCount.

Referenced by scAirsRockInsideShebaLearnsReveal(), scAquaRockInsidePiersLearnsParch() and scGaiaRockInsideFelixLearnsSand().

Definition at line 4 of file actor_emit_sparkles.c.