src/fileselect.c file

File select task.

Classes

struct unk_08050B3C

Enums

enum FileSelectState { STATE_NONE, STATE_NEW, STATE_CHOOSE_LANG, STATE_OPTIONS, STATE_VIEW, STATE_COPY, STATE_ERASE, STATE_START }
enum SaveStatus { SAVE_EMPTY = 0, SAVE_VALID = 1, SAVE_DELETED = 0xFFFFFFFF }
enum CharResult { RESULT_INVALID = 0, RESULT_ASCII = 1 }

Functions

static void HandleFileScreenEnter(void)
static void HandleFileScreenActive(void)
static void HandleFileScreenExit(void)
static void HandleFileSelect(void)
void HandleFileNew(void)
static void HandleFileLanguageSelect(void)
void HandleFileOptions(void)
static void HandleFileView(void)
void HandleFileCopy(void)
void HandleFileDelete(void)
void HandleFileStart(void)
static void sub_08050848(void)
static void sub_0805086C(void)
static void sub_08050940(void)
void sub_08051358(void)
void sub_08051574(u32)
void sub_08051480(u32)
static void ResetEmptyOrDeletedSaveFile(u32)
static void sub_0805066C(void)
static void HideButtonR(void)
static void ShowButtonR(void)
void sub_08051458(void)
void sub_08050888(void)
void sub_080508E4(void)
void sub_08050910(void)
void CreateDialogBox(u32 arg0, u32 arg1)
void sub_08050384(void)
void sub_080503A8(u32 gfxGroup)
void SetFileSelectState(FileSelectState mode)
void LoadOptionsFromSave(u32 idx)
void SetActiveSave(u32 idx)
void FileSelectTask(void)
void sub_0805070C(void)
void sub_08050790(void)
void sub_08050A64(u32 idx)
void sub_08050B3C(u16*)
void sub_08050AFC(u32 idx)
void sub_08050C54(void)
void sub_08050D68(void)
void sub_08050DB8(void)
void sub_08050DE4(void)
void sub_08050E88(void)
void sub_08050EB8(void)
void sub_08050EF4(void)
void sub_08050FFC(void)
void sub_0805103C(void)
void sub_08051090(void)
void sub_080610B8(void)
void sub_0805138C(void)
void sub_0805144C(void)
void sub_080513A8(void)
void sub_080513C0(void)
void sub_0805141C(void)
auto sub_080514BC(u32) -> u32
void sub_080515C8(void)
void sub_080515D4(void)
void sub_080516E0(void)
void sub_08051738(void)
void sub_080517EC(void)
void sub_08051874(void)
void sub_080518E4(void)
auto sub_080517B4(s32 a1) -> s32
void ResetSaveFile(u32 save_idx)

Variables

const struct_080FC3E4 gUnk_080FC3E4
const Font gUnk_080FC844
const u16 gUnk_080FC85C
static void(*const sTaskHandlers
static void(*const sFileScreenSubHandlers
static const KeyButtonLayout gUnk_080FC8D0
static const u16 gUnk_080FC8DE
static void(*const sFileSelectDefaultHandlers
void(*const gUnk_080FC944
void(*const gUnk_080FC950
void(*const gUnk_080FC960
void(*const gUnk_080FC9B0
void(*const gUnk_080FC9BC
void(*const gUnk_080FC9C8
const u8 gUnk_080FC970
const u8 gUnk_080FC980
const u8 gUnk_080FC9A0
void(*const gUnk_080FC908
const u16 gUnk_080FC914
void(*const gUnk_080FC93C

Defines

#define NUM_FILE_OPERATIONS