src/scene/shared/flame_throwers_puff.c
The Mars Lighthouse flame throwers' puffs, which four of its rooms keep a copy of.
Included by mars_lighthouse_entrance.c, mars_lighthouse_hall.c, mars_lighthouse_star_room.c and mars_lighthouse_towers.c.
Functions
| Name | Description | |
|---|---|---|
void | scFlameThrowersPuff (void) | The flame throwers' tick event: every ninth tick each flame thrower in view puffs its flame (forward, back, east or west) or its spark, as its flags say. |
Description
The Mars Lighthouse flame throwers' puffs, which four of its rooms keep a copy of.
Functions in detail
scFlameThrowersPuff
void scFlameThrowersPuff(void)
The flame throwers' tick event: every ninth tick each flame thrower in view
puffs its flame (forward, back, east or west) or its spark, as its flags say.
They pause while a menu is open, and while a Psynergy is used unless
scFlameThrowersSetMode keeps them running. The first tick a flame meets a
blocked slot's actor runs the room's onBlocked callback.
References fdMapStateView(), scFlameThrowerSendBackward(), scFlameThrowerSendEast(), scFlameThrowerSendForward(), scFlameThrowerSendSpark(), scFlameThrowerSendWest(), Sint32 and syGameFlagGet().
Referenced by scFlameThrowersStart().
Definition at line 9 of file flame_throwers_puff.c.