include/field/field_psynergy_state.h
FIELD_EFFECT_STATE, the state of a field Psynergy.
#include "fixed_math.h"#include "static_assert.h"#include "types.h"#include "field/field_particle.h"
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
| Name | Description | |
|---|---|---|
struct | FIELD_EFFECT_STATE | The 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
| Name | Description | |
|---|---|---|
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. |
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.