struct IMPACT_CHIP
One chip of Planet Diver's impact. More…
Declared in battle_effect_planet_diver.c.
Fields
| Name | Description | |
|---|---|---|
FIXED | x | canvas position, 16.16 fixed point |
FIXED | y | canvas position, 16.16; the ground is y 112 |
FIXED | velocityX | 16.16 pixels a tick, damped to 56/64 each tick |
Sint32 | unusedVelocityX | a Particle's velocityX; never read |
FIXED | velocityY | 16.16 pixels a tick, with 1/8 pixel of gravity |
Sint32 | unusedVelocityZ | a Particle's velocityZ; never read |
Sint32 | life | ticks left; 0 is free |
Description
One chip of Planet Diver's impact. Chips are kept in particle-sized slots, but with their own layout: the x velocity where a particle keeps z.
struct IMPACT_CHIP
Referenced by btEffectRunPlanetDiver().
Definition at line 5 of file battle_effect_planet_diver.c.
Fields in detail
x
FIXED x
canvas position, 16.16 fixed point
y
FIXED y
canvas position, 16.16; the ground is y 112
velocityX
FIXED velocityX
16.16 pixels a tick, damped to 56/64 each tick
unusedVelocityX
Sint32 unusedVelocityX
a Particle's velocityX; never read
velocityY
FIXED velocityY
16.16 pixels a tick, with 1/8 pixel of gravity
unusedVelocityZ
Sint32 unusedVelocityZ
a Particle's velocityZ; never read
life
Sint32 life
ticks left; 0 is free