Go to the source code of this file.
Functions | |
void | load_map_bg (char *optAssetName) |
void | reset_background_settings (void) |
void | set_background (BackgroundHeader *bg) |
void | set_background_size (s16 startX, s16 startY, s16 sizeX, s16 sizeY) |
u16 | blend_background_channel (u16 arg0, s32 arg1, s32 alpha) |
void | appendGfx_background_texture (void) |
void | enable_background_wave (void) |
void | disable_background_wave (void) |
Variables | |
char | gCloudyFlowerFieldsBg [] = "fla_bg" |
char | gSunnyFlowerFieldsBg [] = "flb_bg" |
s8 | gBackroundWaveEnabled = FALSE |
s16 | gBackroundTextureYOffset = 0 |
f32 | gBackroundWavePhase = 0.0f |
BSS PAL_BIN | gBackgroundPalette [256] |
BSS f32 | gBackroundLastScrollValue |
void load_map_bg | ( | char * | optAssetName | ) |
Definition at line 14 of file background.c.
Referenced by btl_state_update_normal_start(), load_map_by_IDs(), state_init_title_screen(), state_step_end_battle(), and state_step_unpause().
void reset_background_settings | ( | void | ) |
Definition at line 33 of file background.c.
Referenced by load_demo_battle(), load_engine_data(), load_map_by_IDs(), state_init_logos(), state_init_title_screen(), state_step_battle(), state_step_demo(), state_step_intro(), state_step_pause(), and state_step_startup().
void set_background | ( | BackgroundHeader * | bg | ) |
Definition at line 40 of file background.c.
Referenced by btl_state_update_normal_start(), load_map_by_IDs(), state_init_title_screen(), state_step_end_battle(), and state_step_unpause().
void set_background_size | ( | s16 | startX, |
s16 | startY, | ||
s16 | sizeX, | ||
s16 | sizeY ) |
Definition at line 50 of file background.c.
Referenced by load_map_by_IDs(), state_step_end_battle(), and state_step_unpause().
u16 blend_background_channel | ( | u16 | arg0, |
s32 | arg1, | ||
s32 | alpha ) |
Definition at line 58 of file background.c.
Referenced by appendGfx_background_texture().
void appendGfx_background_texture | ( | void | ) |
Definition at line 62 of file background.c.
Referenced by gfx_draw_background().
void enable_background_wave | ( | void | ) |
Definition at line 309 of file background.c.
Referenced by EnableBackgroundWave().
void disable_background_wave | ( | void | ) |
Definition at line 313 of file background.c.
char gCloudyFlowerFieldsBg[] = "fla_bg" |
Definition at line 5 of file background.c.
Referenced by load_map_bg().
char gSunnyFlowerFieldsBg[] = "flb_bg" |
Definition at line 6 of file background.c.
Referenced by load_map_bg().
s8 gBackroundWaveEnabled = FALSE |
Definition at line 7 of file background.c.
Referenced by appendGfx_background_texture(), disable_background_wave(), enable_background_wave(), and reset_background_settings().
s16 gBackroundTextureYOffset = 0 |
Definition at line 8 of file background.c.
Referenced by appendGfx_background_texture().
f32 gBackroundWavePhase = 0.0f |
Definition at line 9 of file background.c.
Referenced by appendGfx_background_texture().
Definition at line 11 of file background.c.
Referenced by appendGfx_background_texture().
BSS f32 gBackroundLastScrollValue |
Definition at line 12 of file background.c.
Referenced by appendGfx_background_texture(), and reset_background_settings().