Skip to Content
The Alchemy Project

src/scene/shared/flame_thrower_send_spark.c

Included by mars_lighthouse_entrance.c and mars_lighthouse_towers.c.

Functions

NameDescription
voidscFlameThrowerSendSpark (Sint32 *pos, Sint32 speed, Sint32 offScreen)A flame thrower's spark (FLAME_SPARK): a red dust cloud thrown from pos, a little east or west, up by chance and south at speed and more, spinning, blended over the room (scFlameThrowerUpdateSpark).

Functions in detail

scFlameThrowerSendSpark

void scFlameThrowerSendSpark(Sint32 *pos, Sint32 speed, Sint32 offScreen)

A flame thrower's spark (FLAME_SPARK): a red dust cloud thrown from pos, a little east or west, up by chance and south at speed and more, spinning, blended over the room (scFlameThrowerUpdateSpark). Unlike the flames it never keeps its picture out of sight.

References fdActorSetBlendMode(), scActorSetupScriptedFor(), scFieldActorCreate(), scFlameThrowerUpdateSpark(), Sint32, syCos() and syRandom().

Referenced by scFlameThrowersPuff().

Definition at line 5 of file flame_thrower_send_spark.c.