Go to the source code of this file.
Enumerations | |
enum | ScreenFadeRates { VERY_SLOW_FADE_RATE = 2 , SLOW_FADE_RATE = 7 , SLOWER_FADE_RATE = 10 , STANDARD_FADE_RATE = 20 , FAST_FADE_RATE = 50 } |
Functions | |
INCLUDE_IMG ("ui/stencil/star.png", ui_stencil_star_png) | |
INCLUDE_IMG ("ui/stencil/mario.png", ui_stencil_mario_png) | |
INCLUDE_IMG ("ui/stencil/sharp_circle.png", ui_stencil_sharp_circle_png) | |
INCLUDE_IMG ("ui/stencil/blurry_circle.png", ui_stencil_blurry_circle_png) | |
void | _render_transition_stencil (u8 stencilType, f32 progress, ScreenOverlay *overlay) |
void | set_screen_overlay_params_front (u8 type, f32 zoom) |
void | set_screen_overlay_params_back (u8 type, f32 zoom) |
void | get_screen_overlay_params (s32 layer, u8 *type, f32 *zoom) |
void | set_screen_overlay_color (s32 layer, u8 r, u8 g, u8 b) |
void | set_screen_overlay_center (s32 layer, s32 arg1, s32 screenPosX, s32 screenPosY) |
void | set_screen_overlay_center_worldpos (s32 layer, s32 posIdx, s32 worldPosX, s32 worldPosY, s32 worldPosZ) |
void | set_screen_overlay_alpha (s32 layer, f32 alpha) |
void | clear_screen_overlays (void) |
void | func_80138188 (void) |
void | func_80138198 (void) |
void | render_screen_overlay_frontUI (void) |
void | render_screen_overlay_backUI (void) |
void | set_map_transition_effect (ScreenTransition transition) |
s16 | update_exit_map_screen_overlay (s16 *progress) |
s16 | update_enter_map_screen_overlay (s16 *progress) |
Variables | |
BSS s32 | screen_overlay_frontType |
BSS f32 | screen_overlay_frontZoom |
BSS s32 | screen_overlay_backType |
BSS f32 | screen_overlay_backZoom |
BSS s32 | D_80156910 |
ScreenOverlay | ScreenOverlays [2] |
ScreenTransition | CurrentScreenTransition = TRANSITION_END_DEMO_SCENE_BLACK |
Gfx | Gfx_LoadStencilTex_CommonParams [] |
Gfx | Gfx_LoadStencilTex_SharpCircle [] |
Gfx | Gfx_LoadStencilTex_Mario [] |
Gfx | Gfx_LoadStencilTex_Star [] |
Gfx | Gfx_LoadStencilTex_BlurryCircle [] |
Gfx | D_8014E8F0 [] |
Gfx | D_8014E9A8 [] |
Gfx | D_8014EA48 [] |
enum ScreenFadeRates |
Enumerator | |
---|---|
VERY_SLOW_FADE_RATE | |
SLOW_FADE_RATE | |
SLOWER_FADE_RATE | |
STANDARD_FADE_RATE | |
FAST_FADE_RATE |
Definition at line 498 of file screen_overlays.c.
INCLUDE_IMG | ( | "ui/stencil/star.png" | , |
ui_stencil_star_png | ) |
INCLUDE_IMG | ( | "ui/stencil/mario.png" | , |
ui_stencil_mario_png | ) |
INCLUDE_IMG | ( | "ui/stencil/sharp_circle.png" | , |
ui_stencil_sharp_circle_png | ) |
INCLUDE_IMG | ( | "ui/stencil/blurry_circle.png" | , |
ui_stencil_blurry_circle_png | ) |
void _render_transition_stencil | ( | u8 | stencilType, |
f32 | progress, | ||
ScreenOverlay * | overlay ) |
Definition at line 172 of file screen_overlays.c.
Referenced by gfx_draw_frame(), render_screen_overlay_backUI(), and render_screen_overlay_frontUI().
void set_screen_overlay_params_front | ( | u8 | type, |
f32 | zoom ) |
Definition at line 358 of file screen_overlays.c.
Referenced by btl_state_draw_celebration(), btl_state_draw_end_battle(), btl_state_draw_end_demo_battle(), btl_state_draw_enemy_striking_first(), btl_state_draw_first_stike(), btl_state_draw_normal_start(), btl_state_draw_partner_striking_first(), btl_state_update_normal_start(), btl_update(), draw_encounters_post_battle(), draw_encounters_pre_battle(), load_demo_battle(), startup_fade_screen_update(), state_init_demo(), state_step_change_map(), state_step_enter_world(), state_step_game_over(), state_step_intro(), update_encounters_post_battle(), update_encounters_pre_battle(), update_enter_map_screen_overlay(), and update_exit_map_screen_overlay().
void set_screen_overlay_params_back | ( | u8 | type, |
f32 | zoom ) |
Definition at line 363 of file screen_overlays.c.
Referenced by btl_state_update_normal_start(), btl_update(), draw_encounters_pre_battle(), state_init_intro(), state_step_intro(), and update_exit_map_screen_overlay().
void get_screen_overlay_params | ( | s32 | layer, |
u8 * | type, | ||
f32 * | zoom ) |
Definition at line 368 of file screen_overlays.c.
Referenced by btl_update(), and create_target_list().
void set_screen_overlay_color | ( | s32 | layer, |
u8 | r, | ||
u8 | g, | ||
u8 | b ) |
Definition at line 381 of file screen_overlays.c.
Referenced by btl_state_draw_end_demo_battle(), btl_state_draw_normal_start(), btl_state_update_end_battle(), btl_state_update_normal_start(), btl_update(), draw_encounters_post_battle(), draw_encounters_pre_battle(), startup_fade_screen_update(), state_init_intro(), state_step_intro(), update_enter_map_screen_overlay(), and update_exit_map_screen_overlay().
void set_screen_overlay_center | ( | s32 | layer, |
s32 | arg1, | ||
s32 | screenPosX, | ||
s32 | screenPosY ) |
Definition at line 392 of file screen_overlays.c.
Referenced by btl_state_update_end_battle(), draw_encounters_pre_battle(), update_enter_map_screen_overlay(), and update_exit_map_screen_overlay().
void set_screen_overlay_center_worldpos | ( | s32 | layer, |
s32 | posIdx, | ||
s32 | worldPosX, | ||
s32 | worldPosY, | ||
s32 | worldPosZ ) |
Definition at line 410 of file screen_overlays.c.
void set_screen_overlay_alpha | ( | s32 | layer, |
f32 | alpha ) |
Definition at line 439 of file screen_overlays.c.
Referenced by draw_encounters_pre_battle(), and update_exit_map_screen_overlay().
void clear_screen_overlays | ( | void | ) |
Definition at line 448 of file screen_overlays.c.
Referenced by load_engine_data(), state_step_demo(), state_step_intro(), and state_step_startup().
void func_80138188 | ( | void | ) |
Definition at line 469 of file screen_overlays.c.
Referenced by load_demo_battle(), and load_map_by_IDs().
void func_80138198 | ( | void | ) |
void render_screen_overlay_frontUI | ( | void | ) |
Definition at line 476 of file screen_overlays.c.
Referenced by gfx_draw_frame().
void render_screen_overlay_backUI | ( | void | ) |
Definition at line 485 of file screen_overlays.c.
Referenced by gfx_draw_frame().
void set_map_transition_effect | ( | ScreenTransition | transition | ) |
Definition at line 494 of file screen_overlays.c.
Referenced by goto_map(), state_init_demo(), state_init_enter_world(), state_init_exit_file_select(), and state_step_demo().
s16 update_exit_map_screen_overlay | ( | s16 * | progress | ) |
Definition at line 506 of file screen_overlays.c.
Referenced by init_enter_world_shared(), state_step_change_map(), and state_step_exit_file_select().
s16 update_enter_map_screen_overlay | ( | s16 * | progress | ) |
Definition at line 629 of file screen_overlays.c.
Referenced by state_step_change_map(), and state_step_enter_world().
BSS s32 screen_overlay_frontType |
Definition at line 5 of file screen_overlays.c.
Referenced by clear_screen_overlays(), get_screen_overlay_params(), render_screen_overlay_frontUI(), and set_screen_overlay_params_front().
BSS f32 screen_overlay_frontZoom |
Definition at line 6 of file screen_overlays.c.
Referenced by clear_screen_overlays(), get_screen_overlay_params(), render_screen_overlay_frontUI(), and set_screen_overlay_params_front().
BSS s32 screen_overlay_backType |
Definition at line 7 of file screen_overlays.c.
Referenced by clear_screen_overlays(), get_screen_overlay_params(), render_screen_overlay_backUI(), and set_screen_overlay_params_back().
BSS f32 screen_overlay_backZoom |
Definition at line 8 of file screen_overlays.c.
Referenced by clear_screen_overlays(), func_80138188(), get_screen_overlay_params(), render_screen_overlay_backUI(), and set_screen_overlay_params_back().
BSS s32 D_80156910 |
Definition at line 9 of file screen_overlays.c.
ScreenOverlay ScreenOverlays[2] |
Definition at line 10 of file screen_overlays.c.
Referenced by clear_screen_overlays(), render_screen_overlay_backUI(), render_screen_overlay_frontUI(), set_screen_overlay_alpha(), set_screen_overlay_center(), set_screen_overlay_center_worldpos(), and set_screen_overlay_color().
ScreenTransition CurrentScreenTransition = TRANSITION_END_DEMO_SCENE_BLACK |
Definition at line 12 of file screen_overlays.c.
Referenced by set_map_transition_effect(), update_enter_map_screen_overlay(), and update_exit_map_screen_overlay().
Gfx Gfx_LoadStencilTex_CommonParams[] |
Definition at line 24 of file screen_overlays.c.
Gfx Gfx_LoadStencilTex_SharpCircle[] |
Definition at line 42 of file screen_overlays.c.
Referenced by _render_transition_stencil().
Gfx Gfx_LoadStencilTex_Mario[] |
Definition at line 50 of file screen_overlays.c.
Referenced by _render_transition_stencil().
Gfx Gfx_LoadStencilTex_Star[] |
Definition at line 57 of file screen_overlays.c.
Referenced by _render_transition_stencil().
Gfx Gfx_LoadStencilTex_BlurryCircle[] |
Definition at line 65 of file screen_overlays.c.
Referenced by _render_transition_stencil().
Gfx D_8014E8F0[] |
Definition at line 81 of file screen_overlays.c.
Referenced by _render_transition_stencil().
Gfx D_8014E9A8[] |
Definition at line 107 of file screen_overlays.c.
Referenced by _render_transition_stencil().
Gfx D_8014EA48[] |
Definition at line 130 of file screen_overlays.c.
Referenced by _render_transition_stencil().