Go to the source code of this file.
Data Structures | |
struct | ShimmerParticle |
struct | ShimmerEmitter |
Macros | |
#define | NUM_PARTICLES 56 |
Functions | |
INCLUDE_IMG ("ui/status/shimmer_particle.png", ui_status_shimmer_particle_png) | |
void | star_power_shimmer_start (s32 emitterIdx, f32 x, f32 y, f32 scale) |
void | star_power_shimmer_init (void) |
void | star_power_shimmer_update (void) |
void | star_power_shimmer_draw (void) |
Variables | |
Vp | ShimmerViewport |
u8 | AnimatedScale [] |
Vec2b | InitialVelocities [56] |
BSS ShimmerEmitter | ShimmerEmitters [1] |
struct ShimmerParticle |
Data Fields | ||
---|---|---|
u8 | alive | |
s8 | timeLeft | |
u8 | lifetime | |
Color_RGBA8 | rgba | |
s8 | animTime | |
Vec2f | pos | |
Vec2f | vel | |
f32 | scale |
struct ShimmerEmitter |
Data Fields | ||
---|---|---|
ShimmerParticle | particles[1+56] |
#define NUM_PARTICLES 56 |
Definition at line 18 of file status_star_shimmer.c.
INCLUDE_IMG | ( | "ui/status/shimmer_particle.png" | , |
ui_status_shimmer_particle_png | ) |
void star_power_shimmer_start | ( | s32 | emitterIdx, |
f32 | x, | ||
f32 | y, | ||
f32 | scale ) |
Definition at line 51 of file status_star_shimmer.c.
Referenced by update_status_bar().
void star_power_shimmer_init | ( | void | ) |
Definition at line 72 of file status_star_shimmer.c.
Referenced by initialize_status_bar().
void star_power_shimmer_update | ( | void | ) |
Definition at line 80 of file status_star_shimmer.c.
Referenced by update_status_bar().
void star_power_shimmer_draw | ( | void | ) |
Definition at line 151 of file status_star_shimmer.c.
Referenced by update_status_bar().
Vp ShimmerViewport |
Definition at line 6 of file status_star_shimmer.c.
Referenced by star_power_shimmer_draw().
u8 AnimatedScale[] |
Definition at line 20 of file status_star_shimmer.c.
Referenced by star_power_shimmer_update().
Vec2b InitialVelocities[56] |
Definition at line 24 of file status_star_shimmer.c.
Referenced by star_power_shimmer_update().
BSS ShimmerEmitter ShimmerEmitters[1] |
Definition at line 49 of file status_star_shimmer.c.
Referenced by star_power_shimmer_draw(), star_power_shimmer_init(), star_power_shimmer_start(), and star_power_shimmer_update().