Go to the source code of this file.
Data Structures | |
struct | TitleDataStruct |
Macros | |
#define | TITLE_WIDTH 200 |
#define | TITLE_HEIGHT 112 |
#define | TITLE_TILE_HEIGHT 2 |
#define | TITLE_POS_LEFT ((SCREEN_WIDTH - TITLE_WIDTH) / 2) |
#define | TITLE_POS_TOP 15 |
#define | FILENAME_ERROR "ERROR\xf7\xf7\xf7" |
#define | TITLE_NUM_TILES (TITLE_HEIGHT / TITLE_TILE_HEIGHT) |
#define | TITLE_TILE_PIXELS (TITLE_WIDTH * TITLE_TILE_HEIGHT) |
#define | COPYRIGHT_WIDTH 144 |
#define | VAR_1 32 |
#define | VAR_2 676 |
#define | RECT_SIZE 0x40 |
#define | YL_BASE 764 |
#define | YH_BASE 828 |
#define | COPYRIGHT_TEX_CHUNKS 2 |
#define | COPYRIGHT_IMG(k, i) &TitleScreen_ImgList_Copyright[16 * i] |
#define | LTT_LRT 15 |
Enumerations | |
enum | TitleScreenStates { TITLE_STATE_INIT = 0 , TITLE_STATE_APPEAR = 1 , TITLE_STATE_HOLD = 2 , TITLE_STATE_UNUSED = 3 , TITLE_STATE_BEGIN_DISMISS = 4 , TITLE_STATE_DISMISS = 5 , TITLE_STATE_EXIT = 6 } |
enum | { NEXT_STATE_DEMO = 10 , NEXT_STATE_INTRO = 9 , NEXT_STATE_FILE_SELECT = 5 , NEXT_STATE_NONE = 0 } |
Functions | |
void | appendGfx_title_screen (void) |
void | title_screen_draw_images (f32, f32) |
void | title_screen_draw_logo (f32) |
void | title_screen_draw_press_start (void) |
void | title_screen_draw_copyright (f32) |
void | state_init_title_screen (void) |
void | state_step_title_screen (void) |
void | state_drawUI_title_screen (void) |
Variables | |
s16 | TitleScreenNextState = NEXT_STATE_NONE |
SaveFileSummary | gSaveSlotSummary [4] |
SaveSlotMetadata | gSaveSlotMetadata [4] |
s32 | PressStart_Alpha = 0 |
b32 | PressStart_IsVisible = FALSE |
s32 | PressStart_BlinkCounter = 0 |
s32 | PlayIntroNext = FALSE |
Lights1 | D_80077A38 = gdSPDefLights1(255, 255, 255, 0, 0, 0, 0, 0, 0) |
Gfx | TitleSetupGfx [] |
BSS s16 | TitleScreen_AppearDelay |
BSS TitleDataStruct * | TitleScreen_ImgList |
BSS s32 * | TitleScreen_ImgList_Logo |
BSS u8(* | TitleScreen_ImgList_Copyright )[144] |
BSS s32 * | TitleScreen_ImgList_PressStart |
BSS s32 * | TitleScreen_ImgList_CopyrightPalette |
BSS s16 | TitleScreen_TimeLeft |
#define TITLE_WIDTH 200 |
Definition at line 19 of file state_title_screen.c.
Referenced by title_screen_draw_logo().
#define TITLE_HEIGHT 112 |
Definition at line 20 of file state_title_screen.c.
#define TITLE_TILE_HEIGHT 2 |
Definition at line 21 of file state_title_screen.c.
Referenced by title_screen_draw_logo().
#define TITLE_POS_LEFT ((SCREEN_WIDTH - TITLE_WIDTH) / 2) |
Definition at line 22 of file state_title_screen.c.
Referenced by title_screen_draw_logo().
#define TITLE_POS_TOP 15 |
Definition at line 23 of file state_title_screen.c.
Referenced by title_screen_draw_logo().
#define FILENAME_ERROR "ERROR\xf7\xf7\xf7" |
Definition at line 24 of file state_title_screen.c.
#define TITLE_NUM_TILES (TITLE_HEIGHT / TITLE_TILE_HEIGHT) |
Definition at line 27 of file state_title_screen.c.
Referenced by title_screen_draw_logo().
#define TITLE_TILE_PIXELS (TITLE_WIDTH * TITLE_TILE_HEIGHT) |
Definition at line 28 of file state_title_screen.c.
Referenced by title_screen_draw_logo().
#define COPYRIGHT_WIDTH 144 |
Definition at line 106 of file state_title_screen.c.
Referenced by state_init_title_screen(), and title_screen_draw_copyright().
#define VAR_1 32 |
Definition at line 472 of file state_title_screen.c.
Referenced by title_screen_draw_press_start().
#define VAR_2 676 |
Definition at line 473 of file state_title_screen.c.
Referenced by title_screen_draw_press_start().
#define RECT_SIZE 0x40 |
Definition at line 522 of file state_title_screen.c.
Referenced by title_screen_draw_copyright().
#define YL_BASE 764 |
Definition at line 523 of file state_title_screen.c.
Referenced by title_screen_draw_copyright().
#define YH_BASE 828 |
Definition at line 524 of file state_title_screen.c.
Referenced by title_screen_draw_copyright().
#define COPYRIGHT_TEX_CHUNKS 2 |
Definition at line 525 of file state_title_screen.c.
Referenced by title_screen_draw_copyright().
#define COPYRIGHT_IMG | ( | k, | |
i ) &TitleScreen_ImgList_Copyright[16 * i] |
Definition at line 526 of file state_title_screen.c.
Referenced by title_screen_draw_copyright().
#define LTT_LRT 15 |
Definition at line 527 of file state_title_screen.c.
Referenced by title_screen_draw_copyright().
enum TitleScreenStates |
Enumerator | |
---|---|
TITLE_STATE_INIT | |
TITLE_STATE_APPEAR | |
TITLE_STATE_HOLD | |
TITLE_STATE_UNUSED | |
TITLE_STATE_BEGIN_DISMISS | |
TITLE_STATE_DISMISS | |
TITLE_STATE_EXIT |
Definition at line 31 of file state_title_screen.c.
anonymous enum |
Enumerator | |
---|---|
NEXT_STATE_DEMO | |
NEXT_STATE_INTRO | |
NEXT_STATE_FILE_SELECT | |
NEXT_STATE_NONE |
Definition at line 41 of file state_title_screen.c.
void appendGfx_title_screen | ( | void | ) |
Definition at line 384 of file state_title_screen.c.
Referenced by state_init_title_screen().
void title_screen_draw_images | ( | f32 | logoMoveAlpha, |
f32 | copyrightMoveAlpha ) |
Definition at line 434 of file state_title_screen.c.
Referenced by appendGfx_title_screen().
void title_screen_draw_logo | ( | f32 | moveAlpha | ) |
Definition at line 439 of file state_title_screen.c.
Referenced by title_screen_draw_images().
void title_screen_draw_press_start | ( | void | ) |
Definition at line 476 of file state_title_screen.c.
Referenced by state_drawUI_title_screen().
void title_screen_draw_copyright | ( | f32 | moveAlpha | ) |
Definition at line 530 of file state_title_screen.c.
Referenced by title_screen_draw_images().
void state_init_title_screen | ( | void | ) |
Definition at line 123 of file state_title_screen.c.
void state_step_title_screen | ( | void | ) |
Definition at line 203 of file state_title_screen.c.
void state_drawUI_title_screen | ( | void | ) |
Definition at line 364 of file state_title_screen.c.
s16 TitleScreenNextState = NEXT_STATE_NONE |
Definition at line 48 of file state_title_screen.c.
Referenced by state_step_title_screen().
SaveFileSummary gSaveSlotSummary[4] |
Definition at line 50 of file state_title_screen.c.
Referenced by filemenu_draw_contents_file_info(), filemenu_draw_contents_file_title(), filemenu_init(), filemenu_main_handle_input(), filemenu_yesno_handle_input(), fio_load_game(), and fio_save_game().
SaveSlotMetadata gSaveSlotMetadata[4] |
Definition at line 57 of file state_title_screen.c.
Referenced by filemenu_draw_contents_file_info(), filemenu_draw_contents_file_title(), filemenu_init(), filemenu_main_handle_input(), filemenu_yesno_draw_prompt_contents(), and filemenu_yesno_handle_input().
s32 PressStart_Alpha = 0 |
Definition at line 64 of file state_title_screen.c.
Referenced by state_drawUI_title_screen(), and title_screen_draw_press_start().
b32 PressStart_IsVisible = FALSE |
Definition at line 65 of file state_title_screen.c.
Referenced by state_drawUI_title_screen(), and title_screen_draw_press_start().
s32 PressStart_BlinkCounter = 0 |
Definition at line 66 of file state_title_screen.c.
Referenced by state_drawUI_title_screen(), and title_screen_draw_press_start().
s32 PlayIntroNext = FALSE |
Definition at line 71 of file state_title_screen.c.
Referenced by state_step_title_screen().
Lights1 D_80077A38 = gdSPDefLights1(255, 255, 255, 0, 0, 0, 0, 0, 0) |
Definition at line 73 of file state_title_screen.c.
Referenced by appendGfx_title_screen().
Gfx TitleSetupGfx[] |
Definition at line 75 of file state_title_screen.c.
Referenced by title_screen_draw_copyright(), title_screen_draw_logo(), and title_screen_draw_press_start().
BSS s16 TitleScreen_AppearDelay |
Definition at line 109 of file state_title_screen.c.
Referenced by state_step_title_screen().
BSS TitleDataStruct* TitleScreen_ImgList |
Definition at line 110 of file state_title_screen.c.
Referenced by state_init_title_screen().
BSS s32* TitleScreen_ImgList_Logo |
Definition at line 111 of file state_title_screen.c.
Referenced by state_init_title_screen(), and title_screen_draw_logo().
BSS u8(* TitleScreen_ImgList_Copyright)[144] |
Definition at line 112 of file state_title_screen.c.
Referenced by state_init_title_screen(), and title_screen_draw_copyright().
BSS s32* TitleScreen_ImgList_PressStart |
Definition at line 113 of file state_title_screen.c.
Referenced by state_init_title_screen(), and title_screen_draw_press_start().
BSS s32* TitleScreen_ImgList_CopyrightPalette |
Definition at line 114 of file state_title_screen.c.
Referenced by state_init_title_screen(), and title_screen_draw_copyright().
BSS s16 TitleScreen_TimeLeft |
Definition at line 115 of file state_title_screen.c.
Referenced by state_init_title_screen(), and state_step_title_screen().