Go to the source code of this file.
Functions | |
void | pause_tutorial_draw_contents (MenuPanel *menu, s32 baseX, s32 baseY, s32 width, s32 height, s32 opacity, s32 darkening) |
void | pause_main_draw_contents (MenuPanel *menu, s32 baseX, s32 baseY, s32 width, s32 height, s32 opacity, s32 darkening) |
void | pause_textbox_draw_contents (MenuPanel *menu, s32 baseX, s32 baseY, s32 width, s32 height, s32 opacity, s32 darkening) |
void | pause_draw_cursor (MenuPanel *menu, s32 baseX, s32 baseY, s32 width, s32 height, s32 opacity, s32 darkening) |
void | pause_set_cursor_opacity (s32 val) |
void | pause_set_cursor_pos_immediate (s32 windowID, s32 posX, s32 posY) |
void | pause_set_cursor_pos (s32 windowID, s32 posX, s32 posY) |
void | pause_interp_cursor (void) |
void | pause_update_tab_default (s32 windowIndex, s32 *flags, s32 *posX, s32 *posY, s32 *posZ, f32 *scaleX, f32 *scaleY, f32 *rotX, f32 *rotY, f32 *rotZ, s32 *darkening, s32 *opacity) |
void | func_80242FBC (s32 windowIndex, s32 *flags, s32 *posX, s32 *posY, s32 *posZ, f32 *scaleX, f32 *scaleY, f32 *rotX, f32 *rotY, f32 *rotZ, s32 *darkening, s32 *opacity) |
void | pause_update_tab_inactive (s32 windowIndex, s32 *flags, s32 *posX, s32 *posY, s32 *posZ, f32 *scaleX, f32 *scaleY, f32 *rotX, f32 *rotY, f32 *rotZ, s32 *darkening, s32 *opacity) |
void | pause_update_tab_active (s32 windowIndex, s32 *flags, s32 *posX, s32 *posY, s32 *posZ, f32 *scaleX, f32 *scaleY, f32 *rotX, f32 *rotY, f32 *rotZ, s32 *darkening, s32 *opacity) |
void | func_802430E4 (s32 windowIndex, s32 *flags, s32 *posX, s32 *posY, s32 *posZ, f32 *scaleX, f32 *scaleY, f32 *rotX, f32 *rotY, f32 *rotZ, s32 *darkening, s32 *opacity) |
void | func_8024313C (s32 windowIndex, s32 *flags, s32 *posX, s32 *posY, s32 *posZ, f32 *scaleX, f32 *scaleY, f32 *rotX, f32 *rotY, f32 *rotZ, s32 *darkening, s32 *opacity) |
void | pause_update_page_active_2 (s32 windowIndex, s32 *flags, s32 *posX, s32 *posY, s32 *posZ, f32 *scaleX, f32 *scaleY, f32 *rotX, f32 *rotY, f32 *rotZ, s32 *darkening, s32 *opacity) |
void | pause_update_page_active_1 (s32 windowIndex, s32 *flags, s32 *posX, s32 *posY, s32 *posZ, f32 *scaleX, f32 *scaleY, f32 *rotX, f32 *rotY, f32 *rotZ, s32 *darkening, s32 *opacity) |
void | pause_update_page_inactive_1 (s32 windowIndex, s32 *flags, s32 *posX, s32 *posY, s32 *posZ, f32 *scaleX, f32 *scaleY, f32 *rotX, f32 *rotY, f32 *rotZ, s32 *darkening, s32 *opacity) |
void | pause_update_page_inactive_2 (s32 windowIndex, s32 *flags, s32 *posX, s32 *posY, s32 *posZ, f32 *scaleX, f32 *scaleY, f32 *rotX, f32 *rotY, f32 *rotZ, s32 *darkening, s32 *opacity) |
s32 | pause_interp_text_scroll (s32 deltaBefore) |
s32 | pause_interp_vertical_scroll (s32 deltaBefore) |
void | pause_init (void) |
void | pause_tutorial_input (s32 *pressed, s32 *held) |
void | pause_handle_input (s32 pressed, s32 held) |
void | pause_cleanup (void) |
s32 | pause_get_total_equipped_bp_cost (void) |
void | pause_draw_rect (s32 ulx, s32 uly, s32 lrx, s32 lry, s32 tileIdx, s32 uls, s32 ult, s32 dsdx, s32 dtdy) |
void | pause_sort_item_list (s16 *arr, s32 len, s32(*compare)(s16 *, s16 *)) |
void pause_tutorial_draw_contents | ( | MenuPanel * | menu, |
s32 | baseX, | ||
s32 | baseY, | ||
s32 | width, | ||
s32 | height, | ||
s32 | opacity, | ||
s32 | darkening ) |
Definition at line 517 of file pause_main.c.
void pause_main_draw_contents | ( | MenuPanel * | menu, |
s32 | baseX, | ||
s32 | baseY, | ||
s32 | width, | ||
s32 | height, | ||
s32 | opacity, | ||
s32 | darkening ) |
Definition at line 483 of file pause_main.c.
void pause_textbox_draw_contents | ( | MenuPanel * | menu, |
s32 | baseX, | ||
s32 | baseY, | ||
s32 | width, | ||
s32 | height, | ||
s32 | opacity, | ||
s32 | darkening ) |
Definition at line 486 of file pause_main.c.
void pause_draw_cursor | ( | MenuPanel * | menu, |
s32 | baseX, | ||
s32 | baseY, | ||
s32 | width, | ||
s32 | height, | ||
s32 | opacity, | ||
s32 | darkening ) |
Definition at line 468 of file pause_main.c.
void pause_set_cursor_opacity | ( | s32 | val | ) |
Definition at line 192 of file pause_main.c.
Referenced by pause_badges_draw_contents().
void pause_set_cursor_pos_immediate | ( | s32 | windowID, |
s32 | posX, | ||
s32 | posY ) |
Definition at line 196 of file pause_main.c.
Referenced by pause_badges_draw_contents(), and pause_items_draw_contents().
void pause_set_cursor_pos | ( | s32 | windowID, |
s32 | posX, | ||
s32 | posY ) |
Definition at line 228 of file pause_main.c.
Referenced by pause_badges_draw_contents(), pause_items_draw_contents(), pause_map_draw_contents(), pause_partners_draw_contents(), pause_partners_draw_movelist(), pause_spirits_draw_contents(), pause_stats_draw_contents(), pause_tabs_draw_badges(), pause_tabs_draw_items(), pause_tabs_draw_map(), pause_tabs_draw_party(), pause_tabs_draw_spirits(), and pause_tabs_draw_stats().
void pause_interp_cursor | ( | void | ) |
Definition at line 257 of file pause_main.c.
Referenced by pause_draw_cursor().
void pause_update_tab_default | ( | s32 | windowIndex, |
s32 * | flags, | ||
s32 * | posX, | ||
s32 * | posY, | ||
s32 * | posZ, | ||
f32 * | scaleX, | ||
f32 * | scaleY, | ||
f32 * | rotX, | ||
f32 * | rotY, | ||
f32 * | rotZ, | ||
s32 * | darkening, | ||
s32 * | opacity ) |
Definition at line 289 of file pause_main.c.
void func_80242FBC | ( | s32 | windowIndex, |
s32 * | flags, | ||
s32 * | posX, | ||
s32 * | posY, | ||
s32 * | posZ, | ||
f32 * | scaleX, | ||
f32 * | scaleY, | ||
f32 * | rotX, | ||
f32 * | rotY, | ||
f32 * | rotZ, | ||
s32 * | darkening, | ||
s32 * | opacity ) |
Definition at line 297 of file pause_main.c.
void pause_update_tab_inactive | ( | s32 | windowIndex, |
s32 * | flags, | ||
s32 * | posX, | ||
s32 * | posY, | ||
s32 * | posZ, | ||
f32 * | scaleX, | ||
f32 * | scaleY, | ||
f32 * | rotX, | ||
f32 * | rotY, | ||
f32 * | rotZ, | ||
s32 * | darkening, | ||
s32 * | opacity ) |
Definition at line 306 of file pause_main.c.
Referenced by pause_tabs_handle_input().
void pause_update_tab_active | ( | s32 | windowIndex, |
s32 * | flags, | ||
s32 * | posX, | ||
s32 * | posY, | ||
s32 * | posZ, | ||
f32 * | scaleX, | ||
f32 * | scaleY, | ||
f32 * | rotX, | ||
f32 * | rotY, | ||
f32 * | rotZ, | ||
s32 * | darkening, | ||
s32 * | opacity ) |
Definition at line 327 of file pause_main.c.
Referenced by pause_tabs_handle_input().
void func_802430E4 | ( | s32 | windowIndex, |
s32 * | flags, | ||
s32 * | posX, | ||
s32 * | posY, | ||
s32 * | posZ, | ||
f32 * | scaleX, | ||
f32 * | scaleY, | ||
f32 * | rotX, | ||
f32 * | rotY, | ||
f32 * | rotZ, | ||
s32 * | darkening, | ||
s32 * | opacity ) |
Definition at line 338 of file pause_main.c.
void func_8024313C | ( | s32 | windowIndex, |
s32 * | flags, | ||
s32 * | posX, | ||
s32 * | posY, | ||
s32 * | posZ, | ||
f32 * | scaleX, | ||
f32 * | scaleY, | ||
f32 * | rotX, | ||
f32 * | rotY, | ||
f32 * | rotZ, | ||
s32 * | darkening, | ||
s32 * | opacity ) |
Definition at line 355 of file pause_main.c.
void pause_update_page_active_2 | ( | s32 | windowIndex, |
s32 * | flags, | ||
s32 * | posX, | ||
s32 * | posY, | ||
s32 * | posZ, | ||
f32 * | scaleX, | ||
f32 * | scaleY, | ||
f32 * | rotX, | ||
f32 * | rotY, | ||
f32 * | rotZ, | ||
s32 * | darkening, | ||
s32 * | opacity ) |
Definition at line 369 of file pause_main.c.
Referenced by pause_tabs_update().
void pause_update_page_active_1 | ( | s32 | windowIndex, |
s32 * | flags, | ||
s32 * | posX, | ||
s32 * | posY, | ||
s32 * | posZ, | ||
f32 * | scaleX, | ||
f32 * | scaleY, | ||
f32 * | rotX, | ||
f32 * | rotY, | ||
f32 * | rotZ, | ||
s32 * | darkening, | ||
s32 * | opacity ) |
Definition at line 387 of file pause_main.c.
Referenced by pause_tabs_update().
void pause_update_page_inactive_1 | ( | s32 | windowIndex, |
s32 * | flags, | ||
s32 * | posX, | ||
s32 * | posY, | ||
s32 * | posZ, | ||
f32 * | scaleX, | ||
f32 * | scaleY, | ||
f32 * | rotX, | ||
f32 * | rotY, | ||
f32 * | rotZ, | ||
s32 * | darkening, | ||
s32 * | opacity ) |
Definition at line 405 of file pause_main.c.
Referenced by pause_tabs_update().
void pause_update_page_inactive_2 | ( | s32 | windowIndex, |
s32 * | flags, | ||
s32 * | posX, | ||
s32 * | posY, | ||
s32 * | posZ, | ||
f32 * | scaleX, | ||
f32 * | scaleY, | ||
f32 * | rotX, | ||
f32 * | rotY, | ||
f32 * | rotZ, | ||
s32 * | darkening, | ||
s32 * | opacity ) |
Definition at line 421 of file pause_main.c.
Referenced by pause_tabs_update().
s32 pause_interp_text_scroll | ( | s32 | deltaBefore | ) |
Definition at line 437 of file pause_main.c.
Referenced by pause_handle_input(), and pause_tutorial_draw_contents().
s32 pause_interp_vertical_scroll | ( | s32 | deltaBefore | ) |
Definition at line 451 of file pause_main.c.
Referenced by pause_badges_update(), and pause_items_update().
void pause_init | ( | void | ) |
Definition at line 605 of file pause_main.c.
Referenced by state_step_pause().
void pause_tutorial_input | ( | s32 * | pressed, |
s32 * | held ) |
Definition at line 666 of file pause_main.c.
Referenced by pause_handle_input().
void pause_handle_input | ( | s32 | pressed, |
s32 | held ) |
Definition at line 718 of file pause_main.c.
Referenced by state_step_pause().
void pause_cleanup | ( | void | ) |
Definition at line 796 of file pause_main.c.
Referenced by state_step_unpause().
s32 pause_get_total_equipped_bp_cost | ( | void | ) |
Definition at line 825 of file pause_main.c.
Referenced by pause_badges_draw_contents(), pause_badges_try_equip(), and pause_badges_try_remove().
void pause_draw_rect | ( | s32 | ulx, |
s32 | uly, | ||
s32 | lrx, | ||
s32 | lry, | ||
s32 | tileIdx, | ||
s32 | uls, | ||
s32 | ult, | ||
s32 | dsdx, | ||
s32 | dtdy ) |
Definition at line 841 of file pause_main.c.
Referenced by pause_badges_draw_bp_orbs(), pause_draw_menu_label(), pause_map_draw_border_arrows(), pause_map_draw_contents(), pause_partners_draw_contents(), pause_spirits_draw_contents(), and pause_tutorial_draw_contents().
void pause_sort_item_list | ( | s16 * | arr, |
s32 | len, | ||
s32(*)(s16 *, s16 *) | compare ) |
Definition at line 851 of file pause_main.c.
Referenced by pause_badges_count_all(), pause_badges_count_equipped(), and pause_items_load_items().
|
extern |
Definition at line 185 of file pause_tabs.c.
|
extern |
Definition at line 149 of file pause_stats.c.
|
extern |
Definition at line 113 of file pause_badges.c.
|
extern |
Definition at line 52 of file pause_items.c.
|
extern |
Definition at line 271 of file pause_partners.c.
|
extern |
Definition at line 130 of file pause_spirits.c.
|
extern |
Definition at line 76 of file pause_map.c.
BSS s32 gPauseHeldButtons |
Definition at line 23 of file pause_main.c.
Referenced by pause_badges_handle_input(), pause_handle_input(), pause_items_handle_input(), pause_partners_handle_input(), pause_spirits_handle_input(), pause_stats_handle_input(), and pause_tabs_handle_input().
BSS s32 gPausePressedButtons |
Definition at line 24 of file pause_main.c.
Referenced by pause_badges_handle_input(), pause_handle_input(), pause_items_handle_input(), pause_map_handle_input(), pause_partners_handle_input(), pause_spirits_handle_input(), pause_stats_handle_input(), and pause_tabs_handle_input().
BSS s32 gPauseCurrentDescMsg |
Definition at line 25 of file pause_main.c.
Referenced by pause_badges_handle_input(), pause_handle_input(), pause_init(), pause_items_handle_input(), pause_map_handle_input(), pause_partners_handle_input(), pause_spirits_handle_input(), pause_stats_handle_input(), and pause_tabs_handle_input().
Definition at line 26 of file pause_main.c.
Referenced by pause_badges_draw_contents(), pause_badges_handle_input(), pause_handle_input(), pause_init(), pause_items_draw_contents(), pause_items_handle_input(), pause_map_handle_input(), pause_partners_handle_input(), pause_spirits_handle_input(), pause_stats_handle_input(), and pause_tabs_handle_input().
BSS s32 gPauseCursorIconID |
Definition at line 27 of file pause_main.c.
Referenced by pause_init().
BSS s8 gPauseMenuCurrentTab |
Definition at line 28 of file pause_main.c.
Referenced by pause_badges_draw_contents(), pause_badges_handle_input(), pause_handle_input(), pause_init(), pause_items_draw_contents(), pause_items_handle_input(), pause_map_draw_contents(), pause_map_draw_title(), pause_map_handle_input(), pause_partners_draw_contents(), pause_partners_draw_movelist(), pause_partners_handle_input(), pause_spirits_draw_contents(), pause_spirits_draw_title(), pause_spirits_handle_input(), pause_stats_draw_contents(), pause_stats_handle_input(), pause_tabs_draw_badges(), pause_tabs_draw_items(), pause_tabs_draw_map(), pause_tabs_draw_party(), pause_tabs_draw_spirits(), pause_tabs_draw_stats(), and pause_tabs_handle_input().
BSS s8 D_802700D[7] |
Definition at line 29 of file pause_main.c.
MenuPanel* gPausePanels[] |
Definition at line 47 of file pause_main.c.
Referenced by pause_cleanup(), pause_handle_input(), pause_init(), pause_tabs_handle_input(), and pause_tabs_update().
s32 gPauseCursorPosX = 160 |
Definition at line 51 of file pause_main.c.
Referenced by pause_draw_cursor(), pause_interp_cursor(), pause_set_cursor_pos(), and pause_set_cursor_pos_immediate().
s32 gPauseCursorPosY = -120 |
Definition at line 52 of file pause_main.c.
Referenced by pause_draw_cursor(), pause_interp_cursor(), pause_set_cursor_pos(), and pause_set_cursor_pos_immediate().
s32 gPauseCursorOpacity = 0 |
Definition at line 53 of file pause_main.c.
Referenced by pause_draw_cursor(), and pause_interp_cursor().
s32 gPauseCursorTargetPosX = 160 |
Definition at line 54 of file pause_main.c.
Referenced by pause_interp_cursor(), pause_set_cursor_pos(), and pause_set_cursor_pos_immediate().
s32 gPauseCursorTargetPosY = -120 |
Definition at line 55 of file pause_main.c.
Referenced by pause_interp_cursor(), pause_set_cursor_pos(), and pause_set_cursor_pos_immediate().
s32 gPauseCursorTargetOpacity = 0 |
Definition at line 56 of file pause_main.c.
Referenced by pause_interp_cursor(), and pause_set_cursor_opacity().
u32 D_8024EFB4 = 1 |
Definition at line 57 of file pause_main.c.
Referenced by pause_set_cursor_pos(), and pause_set_cursor_pos_immediate().
s16 D_8024EFB8[] = { -10, -25, -42, -60, -80 } |
Definition at line 58 of file pause_main.c.
u8 gPauseWindowFlipUpFlags[] = { DRAW_FLAG_ROTSCALE, DRAW_FLAG_ROTSCALE, DRAW_FLAG_ROTSCALE, DRAW_FLAG_ROTSCALE, DRAW_FLAG_ROTSCALE, 0, 0} |
Definition at line 59 of file pause_main.c.
Referenced by pause_update_page_active_1(), and pause_update_page_active_2().
s16 gPauseWindowFlipUpAngles[] = { -80, -65, -38, -30, -10, 0 } |
Definition at line 60 of file pause_main.c.
Referenced by pause_update_page_active_2().
s16 gPauseWindowFlipUpAngles_2[] = { 80, 65, 38, 30, 10, 0 } |
Definition at line 61 of file pause_main.c.
Referenced by pause_update_page_active_1().
u8 gPauseWindowFlipDownFlags[] = { DRAW_FLAG_ROTSCALE, DRAW_FLAG_ROTSCALE, DRAW_FLAG_ROTSCALE, DRAW_FLAG_ROTSCALE, DRAW_FLAG_ROTSCALE, DRAW_FLAG_ROTSCALE, 0, 0 } |
Definition at line 62 of file pause_main.c.
Referenced by pause_update_page_inactive_1(), and pause_update_page_inactive_2().
u8 D_8024EFEC[] |
Definition at line 63 of file pause_main.c.
s16 gPauseWindowFlipDownAngles[] = { -10, -25, -42, -60, -80} |
Definition at line 65 of file pause_main.c.
Referenced by pause_update_page_inactive_1().
s16 gPauseWindowFlipDownAngles_2[] = { 10, 25, 42, 60, 80 } |
Definition at line 66 of file pause_main.c.
Referenced by pause_update_page_inactive_2().
s32 gPauseTutorialState = -1 |
Definition at line 67 of file pause_main.c.
Referenced by pause_tutorial_draw_contents(), and pause_tutorial_input().
s32 gPauseTutorialInputState = 3 |
Definition at line 68 of file pause_main.c.
Referenced by pause_tutorial_input().
s32 gPauseTutorialButtons[] = { BUTTON_A, BUTTON_STICK_RIGHT, BUTTON_A, BUTTON_A, BUTTON_A, BUTTON_A, BUTTON_START } |
s32 gPauseTutorialDescMessages[] |
Definition at line 71 of file pause_main.c.
Referenced by pause_tutorial_draw_contents().
s32 gPauseTutorialCmdMessages[] |
Definition at line 81 of file pause_main.c.
Referenced by pause_tutorial_draw_contents().
s32 D_8024F074[] |
s32 gPauseTutorialIconIDs[] = { 5, 4, 5, 5, 5, 5, 6 } |
Definition at line 102 of file pause_main.c.
Referenced by pause_tutorial_draw_contents().
u8 gPauseMenuTextScrollInterpEasingLUT[] = { 0, 1, 2, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8} |
Definition at line 103 of file pause_main.c.
Referenced by pause_interp_text_scroll().
u8 gPauseMenuPageScrollInterpEasingLUT[] = { 0, 1, 2, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8} |
Definition at line 104 of file pause_main.c.
Referenced by pause_interp_vertical_scroll().
s32 gPauseTutorialSpriteAnims[][4] |
Definition at line 106 of file pause_main.c.
Referenced by pause_handle_input(), and pause_init().
Vp gPauseTutorialViewport |
Definition at line 126 of file pause_main.c.
Referenced by pause_tutorial_draw_contents().
s32 gPauseTutorialScrollPos = 0 |
Definition at line 132 of file pause_main.c.
Referenced by pause_tutorial_draw_contents().
MenuWindowBP gPauseCommonWindowsBPs[] |
Definition at line 133 of file pause_main.c.
Referenced by pause_init().