Skip to Content
The Alchemy Project

src/scene/shared/actor_emit_smoke.c

Included by jupiter_lighthouse_aerie.c, jupiter_lighthouse_basement.c, jupiter_lighthouse_central_room.c, jupiter_lighthouse_cracked_floor.c, jupiter_lighthouse_entrance.c, jupiter_lighthouse_left_tower_lower.c, jupiter_lighthouse_locked_doors.c, jupiter_lighthouse_right_tower_lower.c, jupiter_lighthouse_right_tower_upper.c, jupiter_lighthouse_side_halls.c, jupiter_lighthouse_terraces.c and jupiter_lighthouse_upper_hall.c.

Functions

NameDescription
Sint32scActorEmitSmoke (ACTOR *actor)Smoke rising from an actor: every eighth tick a black puff at 0.7 of its size rises from within 4 pixels of it, 13 to 32 pixels up, at half a pixel to 0.9 a tick.

Functions in detail

scActorEmitSmoke

Sint32 scActorEmitSmoke(ACTOR *actor)

Smoke rising from an actor: every eighth tick a black puff at 0.7 of its size rises from within 4 pixels of it, 13 to 32 pixels up, at half a pixel to 0.9 a tick. The energy block smokes so once lightning has struck it (scJupiterLighthouseFlashSky).

References scFieldEffectSpawn(), Sint32 and TickCount.

Referenced by scJupiterLighthouseFlashSky().

Definition at line 5 of file actor_emit_smoke.c.