Skip to Content
The Alchemy Project

src/scene/shared/flame_update_forward.c

Included by mars_lighthouse_entrance.c, mars_lighthouse_hall.c, mars_lighthouse_star_room.c and mars_lighthouse_towers.c.

Functions

NameDescription
voidscFlameUpdateForward (ACTOR *flame)A flame's update as it flies along z, slowing, growing and turning as it goes: on reaching the leader where he stands it sets the way he is knocked back, passes under his feet and rises away, and raises the hit cue; on reaching a slot's actor it rises away the same, unless the slot is blocked, which marks the state blocked.

Functions in detail

scFlameUpdateForward

void scFlameUpdateForward(ACTOR *flame)

A flame's update as it flies along z, slowing, growing and turning as it goes: on reaching the leader where he stands it sets the way he is knocked back, passes under his feet and rises away, and raises the hit cue; on reaching a slot's actor it rises away the same, unless the slot is blocked, which marks the state blocked.

References fdActorGet(), fdActorIsBeside(), fdActorIsTouching(), MainRoutineStateWork and Sint32.

Referenced by scFlameThrowerSendBackward() and scFlameThrowerSendForward().

Definition at line 6 of file flame_update_forward.c.