Skip to Content
The Alchemy Project

include/field/field_psynergy_state.h

FIELD_EFFECT_STATE, the state of a field Psynergy.

Included by level.c, test.c, field_engine_internal.h, script_commands_internal.h, main_routine.c, altmiller_cave.c, babi_lighthouse.c, colosseum_satrage_match.c, cottage_rooms_b.c, crossbone_isle_stepping_stones.c, fuchin_temple.c, goma_cave_entrance.c, imil.c, imil_fuchin_falls.c, mercury_lighthouse.c, golden_ring.c, sol_sanctum_eruption.c, suhalla_desert.c, vale_plaza.c, vale_prologue.c, venus_lighthouse_aerie.c and world_map.c.

Structures

NameDescription
structFIELD_EFFECT_STATEThe state of a field Psynergy: its caster and target, where it takes place, the map state it restores and its 24 field effect sprites.

Functions

NameDescription
static __inline__ Sint32fdEffectInterpolate (Sint32 to, Sint32 from, Sint32 step)Returns the value step tenths of the way from from to to; the field Psynergy that uses it steps from 0 to 10, one a tick.

Description

FIELD_EFFECT_STATE, the state of a field Psynergy.

Functions in detail

fdEffectInterpolate

static __inline__ Sint32 fdEffectInterpolate(Sint32 to, Sint32 from, Sint32 step)

Returns the value step tenths of the way from from to to; the field Psynergy that uses it steps from 0 to 10, one a tick.

References Sint32.

Referenced by fdPsynergyCatch(), fdPsynergyDouse() and fdPsynergyHalt().

Definition at line 89 of file field_psynergy_state.h.