Skip to Content
The Alchemy Project

src/scene/shared/smoke_spawn.c

Included by prox.c and settlements.c.

Functions

NameDescription
voidscSmokeSpawn (Sint32 x, Sint32 y, Sint32 z)Adds one white puff of chimney smoke at (x, y, z), which scSmokeDrift moves for SMOKE_TICKS.

Functions in detail

scSmokeSpawn

void scSmokeSpawn(Sint32 x, Sint32 y, Sint32 z)

Adds one white puff of chimney smoke at (x, y, z), which scSmokeDrift moves for SMOKE_TICKS.

References fdActorSelectAnimation(), fdActorSetBlendMode(), fdActorSetSpriteFlags(), scFieldActorCreate(), scFieldActorSetSpriteColor(), scSmokeDrift() and Sint32.

Referenced by scProxSmokeFromChimneys() and scSettlementsPuffChimneySmoke().

Definition at line 3 of file smoke_spawn.c.