9#define OVL_NAME(name) STDGNAME_##name
12#define NAME_ENTRY_HAS_UNUSED98 1
13#define NAME_ENTRY_HAS_HIDE 0
14#define NAME_ENTRY_SPRITES STDGNAME_KEY_SPRITES
15#define NAME_ENTRY_FILE_KEYBOARD STDGNAME_FILE_KEYBOARD
19#if VERSION_US || VERSION_JP
20#define STDGNAME_FILE_SPRITES 0x279
21#define STDGNAME_FILE_IMAGES 0x27A
22#define STDGNAME_FILE_KEYBOARD 0x762
23#define STDGNAME_FILE_KEY_SPRITES 0x761
25#define STDGNAME_FILE_SPRITES 0x288
26#define STDGNAME_FILE_IMAGES 0x289
27#define STDGNAME_FILE_KEYBOARD 0x771
28#define STDGNAME_FILE_KEY_SPRITES 0x770
30#define STDGNAME_SPRITES (STDGNAME_FILE_SPRITES << 16)
31#define STDGNAME_KEY_SPRITES (STDGNAME_FILE_KEY_SPRITES << 16)
#define TASK_HEADER(Type)
The on-screen keyboard that the overlays use to type a name (STCRDDEK's deck names,...
ScreenTask * STDGNAME_createScreen(void)
Creates the renaming screen (task)
void STDGNAME_stepScreen(ScreenTask *task, ScreenChildren *children)
screen.c
s32 STDGNAME_nameAnims[][7]
void STDGNAME_drawBackground(ScreenTask *task)
Draws the screen's background and its scrolling pattern.
s32 STDGNAME_updateFade(PanelAnim *fade)
void STDGNAME_getName(NameEntry *task, char *out)
void STDGNAME_setName(NameEntry *task, char *name)
KeyTabs STDGNAME_keyPagesJp[]
the keyboard of language 0, three pages (only the European version uses it)
TextStyle STDGNAME_nameStyle
void STDGNAME_updateNameEntry(NameEntry *task, NameEntryWindows *windows)
MenuWindow STDGNAME_menuWindows[]
void STDGNAME_showNameWindows(NameEntry *task, NameEntryWindows *windows, s32 show)
void STDGNAME_createNameWindows(NameEntry *task, NameEntryWindows *windows)
MenuSprite STDGNAME_menuSprites[]
The partner menu: its sprites, the partners' slots (one under the other, 43 pixels apart),...
void STDGNAME_updateMenu(PartnerMenuTask *task, TextWindow **windows)
The partner menu's task: opens its panels, then each partner's slot and name one after the other,...
void STDGNAME_fadeOutScreen(ScreenTask *task)
Fades the screen out over 30 frames (task->fadeOut), to leave it.
void STDGNAME_setNameVram(NameEntry *task, s32 x, s32 y)
BigKey STDGNAME_bigKeys[]
ScreenFuncs STDGNAME_funcs
style: the text style of the partners' names in the menu (STDGNAME_showMenuWindow)
void STDGNAME_drawFader(ScreenFade *task)
s32 STDGNAME_menuAnims[][7]
void STDGNAME_startFade(PanelAnim *fade, s32 fadeIn)
PartnerMenuTask * STDGNAME_createMenu(ScreenTask *screen)
Creates the partner menu (task) to pick the partner to rename.
ScreenFade * STDGNAME_createFader(void)
TextStyle STDGNAME_menuStyle
s32 STDGNAME_filesLoading(void)
Whether the keyboard or the strings are still loading.
void STDGNAME_showMenuWindow(PartnerMenuTask *task, TextWindow **window, s32 index, s32 show)
menu.c
void STDGNAME_drawKeyboard(NameEntry *task)
void STDGNAME_updateKeyboard(NameEntry *task, NameEntryWindows *windows)
void STDGNAME_startFader(ScreenFade *task, s32 fadeIn, s32 duration)
void STDGNAME_drawMenu(PartnerMenuTask *task, TextWindow **windows)
Draws the partner menu, its parts opening by scaling: its three sprites (the one at the chosen partne...
s32 STDGNAME_keyArrowCluts[]
void STDGNAME_updateScreen(ScreenTask *task, ScreenChildren *children)
The renaming screen's task: loads its files, then runs the screen and draws the background; goes back...
void STDGNAME_updateFader(ScreenFade *task)
KeyPage STDGNAME_keyCharsJp[]
NameKeyboard STDGNAME_keyboard
STDGNAME's data (data/stdgname.c)
void STDGNAME_closeNameEntry(NameEntry *task)
s32 STDGNAME_updateTween(PanelAnim *fade)
void STDGNAME_loadFiles(void)
Loads the screen's textures and requests the keyboard and the strings; the chosen partner goes back t...
void STDGNAME_startTween(PanelAnim *fade, s32 fadeIn)
name_entry.c
NameEntry * STDGNAME_createNameEntry(char *name, s32 partner)
Creates the name entry (task) for a partner, starting from the name given; up to 8 characters (5 in l...
s32 STDGNAME_runMenu(PartnerMenuTask *task, TextWindow **windows)
Up/down choose a partner; cross picks it to rename, triangle leaves the screen (choice -1,...
KeyPage STDGNAME_keyChars[]
MenuSlot STDGNAME_menuSlots[]
KeyTabs STDGNAME_keyPages[]
void STDGNAME_updateScene(Task *task, ScreenTask **screen)
scene.c
A key of the keyboard bigger than one cell: its sprite and where it goes.
A page of the keyboard: 7 rows of 15 cells.
The texts of a keyboard page's three tabs.
A name entry: the keyboard, the name typed so far and the panels that open and close.
The character pages of the keyboard (as STDGNAME's and STPLNMET's)
Opens or closes a menu panel: level goes 0 -> ONE in duration frames (or back at twice the speed),...
Task * awaited
never set: the screen would wait in TASK_DONE until it ends
Fades the whole screen to black and back with a subtractive rectangle.
void(* startFade)(PanelAnim *fade, s32 fadeIn)
s32(* updateFade)(PanelAnim *fade)
s32 pad64
never read or written
void(* fadeOut)(struct ScreenTask *task)
s32 pad54
never read or written
Any task, seen through its header.
A text window (createTextWindow): up to six text buffers (0 is shown, 1-5 are "work" buffers that con...