Skip to Content
The Alchemy Project

src/field/field_effect_move.c

A field effect's motion, growth and spin each tick, with no drag.

Included by airs_rock.c, airs_rock_inside.c, anemos_inner_sanctum.c, anemos_inner_sanctum_dullahan.c, ankohl_ruins.c, apojii_islands.c, aqua_rock.c, aqua_rock_inside.c, caverns.c, contigo.c, dehkan_plateau.c, gabomba_statue.c, gaia_rock_inside.c, garoh.c, gondowan_cliffs.c, izumo_ruins.c, jupiter_lighthouse_aerie.c, jupiter_lighthouse_aerie_beacon.c, jupiter_lighthouse_basement.c, jupiter_lighthouse_central_room.c, jupiter_lighthouse_cracked_floor.c, jupiter_lighthouse_entrance.c, jupiter_lighthouse_ground_floor.c, jupiter_lighthouse_left_tower_lower.c, jupiter_lighthouse_locked_doors.c, jupiter_lighthouse_right_tower_lower.c, jupiter_lighthouse_right_tower_upper.c, jupiter_lighthouse_side_halls.c, jupiter_lighthouse_terraces.c, jupiter_lighthouse_upper_hall.c, kandorean_temple.c, magma_rock.c, magma_rock_inside.c, mars_lighthouse_entrance.c, mars_lighthouse_star_room.c, mars_lighthouse_towers.c, mt_aleph_summit.c, prox.c, sea_of_time.c, settlements.c, shaman_village.c, shrine_of_the_sea_god.c, treasure_isle.c, trial_road.c, tundaria_tower.c, venus_lighthouse.c and yampi_desert.c.

Functions

NameDescription
voidfdEffectUpdateMotionScaleAndSpin (FIELD_OBJECT *object)An effect's update function: moves the effect by its velocity, which keeps its speed, grows it at its rates and turns its sprite by its spin.

Description

A field effect's motion, growth and spin each tick, with no drag.

Functions in detail

fdEffectUpdateMotionScaleAndSpin

void fdEffectUpdateMotionScaleAndSpin(FIELD_OBJECT *object)

An effect's update function: moves the effect by its velocity, which keeps its speed, grows it at its rates and turns its sprite by its spin.

References Sint32.

Referenced by EFFECT_SPAWN, fdEffectSpawnResident() and scFieldEffectSpawn().

Definition at line 8 of file field_effect_move.c.