Frost. More...
Go to the source code of this file.
Functions | |
| void | BattleFx_UpdateOrbitingParticleMain (union FieldObject *fieldObject) |
| Per-frame update: flashes (animation 2) for 2 frames in every 8. | |
| void | BattleFx_UpdateOrbitingParticleFade (union FieldObject *fieldObject) |
| Per-frame update: shrinks by 1/16 a frame and is released at 1/16. | |
| static void | FieldFx_UpdateSpiralParticle (union FieldObject *fieldObject, s32 clockwise) |
| Both winding directions share the countdown and position update. | |
| void | BattleFx_UpdateOrbitingParticleLeft (union FieldObject *fieldObject) |
| Spirals anticlockwise at twice the frames left in pixels, then fades. | |
| void | BattleFx_UpdateOrbitingParticleRight (union FieldObject *fieldObject) |
| Per-frame update: as BattleFx_UpdateOrbitingParticleLeft, clockwise. | |
| void | FieldFx_RunFrostOnTarget (s32 unused) |
| Runs Frost cast on a target. | |
| void | FieldFx_RunFrost (void) |
| 16 particles spiral in on the effect's position and make the target flash 16 times; without childOption the target takes mode 2. | |
| void BattleFx_UpdateOrbitingParticleMain | ( | union FieldObject * | fieldObject | ) |
Per-frame update: flashes (animation 2) for 2 frames in every 8.
Definition at line 8 of file frost.c.
Referenced by BattleFx_UpdateOrbitingParticleMain(), Djinn_ResolvePendingEvent(), and FieldFx_RunFrost().
| void BattleFx_UpdateOrbitingParticleFade | ( | union FieldObject * | fieldObject | ) |
Per-frame update: shrinks by 1/16 a frame and is released at 1/16.
Definition at line 19 of file frost.c.
Referenced by BattleFx_UpdateOrbitingParticleFade(), Djinn_ResolvePendingEvent(), and FieldFx_UpdateSpiralParticle().
|
inlinestatic |
Both winding directions share the countdown and position update.
timer is initialized to 60; preserve its halfword narrowing before computing radius.
Definition at line 35 of file frost.c.
Referenced by BattleFx_UpdateOrbitingParticleLeft(), BattleFx_UpdateOrbitingParticleRight(), and FieldFx_UpdateSpiralParticle().
| void BattleFx_UpdateOrbitingParticleLeft | ( | union FieldObject * | fieldObject | ) |
Spirals anticlockwise at twice the frames left in pixels, then fades.
Definition at line 65 of file frost.c.
Referenced by BattleFx_UpdateOrbitingParticleLeft(), Djinn_ResolvePendingEvent(), and FieldFx_RunFrost().
| void BattleFx_UpdateOrbitingParticleRight | ( | union FieldObject * | fieldObject | ) |
Per-frame update: as BattleFx_UpdateOrbitingParticleLeft, clockwise.
Definition at line 70 of file frost.c.
Referenced by BattleFx_UpdateOrbitingParticleRight(), Djinn_ResolvePendingEvent(), and FieldFx_RunFrost().
| void FieldFx_RunFrostOnTarget | ( | s32 | unused | ) |
Runs Frost cast on a target.
Abilities: Frost (field kind 6), cast on a target (scene->child).
With childMode the target is left as it is and only the particles appear.
Definition at line 79 of file frost.c.
Referenced by BattleFx_DispatchRequestKind(), Djinn_ResolvePendingEvent(), and FieldFx_RunFrostOnTarget().
| void FieldFx_RunFrost | ( | void | ) |
16 particles spiral in on the effect's position and make the target flash 16 times; without childOption the target takes mode 2.
Abilities: Frost (field kind 6).
Definition at line 96 of file frost.c.
Referenced by BattleFx_Run(), Djinn_ResolvePendingEvent(), FieldFx_RunFrost(), and FieldFx_RunFrostOnTarget().