src/scene/shared/particle_update_falling.c
Included by eastern_alhafra.c, magma_rock.c, magma_rock_inside.c, prox.c and tundaria_tower.c.
Macros
| Name | Description | |
|---|---|---|
#define | FALLING_ROCK_TICKS 20 | A falling rock's flight, in ticks. |
Functions
| Name | Description | |
|---|---|---|
void | scParticleUpdateFalling (void) | Each tick, the falling rocks in flight: each falls, damped and pulled down, for FALLING_ROCK_TICKS ticks, keeping all but a sixty-fourth of its speed each tick, and shows the five pictures of falling_rock.png in turn, four ticks apiece, shrinking as it goes. |
Macros in detail
FALLING_ROCK_TICKS
#define FALLING_ROCK_TICKS 20
A falling rock's flight, in ticks.
Referenced by scParticleUpdateFalling().
Definition at line 2 of file particle_update_falling.c.
Functions in detail
scParticleUpdateFalling
void scParticleUpdateFalling(void)
Each tick, the falling rocks in flight: each falls, damped and pulled down,
for FALLING_ROCK_TICKS ticks, keeping all but a sixty-fourth of its speed
each tick, and shows the five pictures of falling_rock.png in turn, four
ticks apiece, shrinking as it goes.
References fdBattleEffectStepVector3(), fdEffectSpriteDrawAtWorldPos() and Sint32.
Referenced by scEasternAlhafraStartFallingRocks(), scMagmaRockInsideStartFallingRocks(), scMagmaRockStartFallingRocks(), scProxStartFallingRocks(), scRockEndFalling(), scTundariaTowerEndFallingRocks() and scTundariaTowerStartFallingRocks().
Definition at line 8 of file particle_update_falling.c.