Skip to Content
The Alchemy Project

src/scene/shared/field_effect_advance_spin.c

A field effect's motion and spin each tick.

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

Functions

NameDescription
voidscEffectAdvanceMotionAndSpin (FIELD_OBJECT *object)fdEffectAdvanceMotion with a fixed spin: moves the effect by its velocity, which loses drag, grows it at its rates and turns its sprite a sixteenth of a turn each tick.

Description

A field effect's motion and spin each tick.

Functions in detail

scEffectAdvanceMotionAndSpin

void scEffectAdvanceMotionAndSpin(FIELD_OBJECT *object)

fdEffectAdvanceMotion with a fixed spin: moves the effect by its velocity, which loses drag, grows it at its rates and turns its sprite a sixteenth of a turn each tick. Nothing calls it.

References fdActorGetById(), MainRoutineStateWork and Sint32.

Definition at line 9 of file field_effect_advance_spin.c.