|
Digimon World 3 decomp
The European version, SLES_039.36
|
STDGNAME.PRO: the screen where the partners are renamed. More...
#include "shared/name_entry.h"Go to the source code of this file.
Data Structures | |
| struct | MenuWindow |
| Where a window of the partner menu goes, and its text. More... | |
| struct | MenuSprite |
| A sprite of the partner menu, that opens by scaling. More... | |
| struct | MenuSlot |
| struct | MenuAnim |
| A partner's animation in the partner menu. More... | |
| struct | PartnerMenuTask |
| The partner menu. More... | |
| struct | ScreenChildren |
| struct | ScreenTask |
| The screen's controller. More... | |
| struct | ScreenFuncs |
Macros | |
| #define | OVL_NAME(name) STDGNAME_##name |
| The name of this overlay's copy of a function or type of src/shared/. | |
| #define | NAME_ENTRY_HAS_UNUSED98 1 |
| The overlay's NameEntry and the name entry's files (name_entry.h) | |
| #define | NAME_ENTRY_HAS_HIDE 0 |
| #define | NAME_ENTRY_SPRITES STDGNAME_KEY_SPRITES |
| #define | NAME_ENTRY_FILE_KEYBOARD STDGNAME_FILE_KEYBOARD |
| #define | STDGNAME_FILE_SPRITES 0x288 |
| The screen's files: the discs number them differently. | |
| #define | STDGNAME_FILE_IMAGES 0x289 |
| #define | STDGNAME_FILE_KEYBOARD 0x771 |
| #define | STDGNAME_FILE_KEY_SPRITES 0x770 |
| #define | STDGNAME_SPRITES (STDGNAME_FILE_SPRITES << 16) |
| sprite bank | |
| #define | STDGNAME_KEY_SPRITES (STDGNAME_FILE_KEY_SPRITES << 16) |
| the keyboard's and partners' sprites | |
Functions | |
| void | STDGNAME_updateScene (Task *task, ScreenTask **screen) |
| scene.c | |
| void | STDGNAME_startFader (ScreenFade *task, s32 fadeIn, s32 duration) |
| void | STDGNAME_drawFader (ScreenFade *task) |
| void | STDGNAME_updateFader (ScreenFade *task) |
| ScreenFade * | STDGNAME_createFader (void) |
| void | STDGNAME_startTween (PanelAnim *fade, s32 fadeIn) |
| name_entry.c | |
| s32 | STDGNAME_updateTween (PanelAnim *fade) |
| void | STDGNAME_createNameWindows (NameEntry *task, NameEntryWindows *windows) |
| void | STDGNAME_showNameWindows (NameEntry *task, NameEntryWindows *windows, s32 show) |
| void | STDGNAME_drawKeyboard (NameEntry *task) |
| void | STDGNAME_updateKeyboard (NameEntry *task, NameEntryWindows *windows) |
| void | STDGNAME_updateNameEntry (NameEntry *task, NameEntryWindows *windows) |
| void | STDGNAME_setNameVram (NameEntry *task, s32 x, s32 y) |
| void | STDGNAME_setName (NameEntry *task, char *name) |
| void | STDGNAME_getName (NameEntry *task, char *out) |
| void | STDGNAME_closeNameEntry (NameEntry *task) |
| 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 language 0, in the European version) | |
| void | STDGNAME_showMenuWindow (PartnerMenuTask *task, TextWindow **window, s32 index, s32 show) |
| menu.c | |
| void | STDGNAME_drawMenu (PartnerMenuTask *task, TextWindow **windows) |
| Draws the partner menu, its parts opening by scaling: its three sprites (the one at the chosen partner in a cycling palette), each partner's animation in its slot and the slots' frames over a glow in a cycling palette. | |
| s32 | STDGNAME_runMenu (PartnerMenuTask *task, TextWindow **windows) |
| Up/down choose a partner; cross picks it to rename, triangle leaves the screen (choice -1, fading out). | |
| 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, runs the menu and closes everything once a choice is made. | |
| PartnerMenuTask * | STDGNAME_createMenu (ScreenTask *screen) |
| Creates the partner menu (task) to pick the partner to rename. | |
| void | STDGNAME_stepScreen (ScreenTask *task, ScreenChildren *children) |
| screen.c | |
| void | STDGNAME_drawBackground (ScreenTask *task) |
| Draws the screen's background and its scrolling pattern. | |
| 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 to the field when killed. | |
| void | STDGNAME_fadeOutScreen (ScreenTask *task) |
| Fades the screen out over 30 frames (task->fadeOut), to leave it. | |
| ScreenTask * | STDGNAME_createScreen (void) |
| Creates the renaming screen (task) | |
| void | STDGNAME_loadFiles (void) |
| Loads the screen's textures and requests the keyboard and the strings; the chosen partner goes back to the first. | |
| s32 | STDGNAME_filesLoading (void) |
| Whether the keyboard or the strings are still loading. | |
| void | STDGNAME_startFade (PanelAnim *fade, s32 fadeIn) |
| s32 | STDGNAME_updateFade (PanelAnim *fade) |
Variables | |
| NameKeyboard | STDGNAME_keyboard |
| STDGNAME's data (data/stdgname.c) | |
| TextStyle | STDGNAME_nameStyle |
| s32 | STDGNAME_nameAnims [][7] |
| BigKey | STDGNAME_bigKeys [] |
| s32 | STDGNAME_keyArrowCluts [] |
| KeyTabs | STDGNAME_keyPages [] |
| KeyPage | STDGNAME_keyChars [] |
| KeyTabs | STDGNAME_keyPagesJp [] |
| the keyboard of language 0, three pages (only the European version uses it) | |
| KeyPage | STDGNAME_keyCharsJp [] |
| MenuSprite | STDGNAME_menuSprites [] |
| The partner menu: its sprites, the partners' slots (one under the other, 43 pixels apart), its text windows and each partner's animation (7 frames, -1 ends one) | |
| MenuSlot | STDGNAME_menuSlots [] |
| MenuWindow | STDGNAME_menuWindows [] |
| s32 | STDGNAME_menuAnims [][7] |
| ScreenFuncs | STDGNAME_funcs |
| style: the text style of the partners' names in the menu (STDGNAME_showMenuWindow) | |
| TextStyle | STDGNAME_menuStyle |
STDGNAME.PRO: the screen where the partners are renamed.
Its modules are in src/menus/partner_name/, and the functions below are by module, in the order they link.
Definition in file partner_name.h.
| #define OVL_NAME | ( | name | ) | STDGNAME_##name |
The name of this overlay's copy of a function or type of src/shared/.
Definition at line 9 of file partner_name.h.
| #define NAME_ENTRY_HAS_UNUSED98 1 |
The overlay's NameEntry and the name entry's files (name_entry.h)
Definition at line 12 of file partner_name.h.
| #define NAME_ENTRY_HAS_HIDE 0 |
Definition at line 13 of file partner_name.h.
| #define NAME_ENTRY_SPRITES STDGNAME_KEY_SPRITES |
Definition at line 14 of file partner_name.h.
| #define NAME_ENTRY_FILE_KEYBOARD STDGNAME_FILE_KEYBOARD |
Definition at line 15 of file partner_name.h.
| #define STDGNAME_FILE_SPRITES 0x288 |
The screen's files: the discs number them differently.
Definition at line 25 of file partner_name.h.
| #define STDGNAME_FILE_IMAGES 0x289 |
Definition at line 26 of file partner_name.h.
| #define STDGNAME_FILE_KEYBOARD 0x771 |
Definition at line 27 of file partner_name.h.
| #define STDGNAME_FILE_KEY_SPRITES 0x770 |
Definition at line 28 of file partner_name.h.
| #define STDGNAME_SPRITES (STDGNAME_FILE_SPRITES << 16) |
sprite bank
Definition at line 30 of file partner_name.h.
| #define STDGNAME_KEY_SPRITES (STDGNAME_FILE_KEY_SPRITES << 16) |
the keyboard's and partners' sprites
Definition at line 31 of file partner_name.h.
| void STDGNAME_updateScene | ( | Task * | task, |
| ScreenTask ** | screen | ||
| ) |
scene.c
scene.c
Definition at line 7 of file scene.c.
Referenced by STDGNAME_start().
| void STDGNAME_startFader | ( | ScreenFade * | task, |
| s32 | fadeIn, | ||
| s32 | duration | ||
| ) |
| void STDGNAME_drawFader | ( | ScreenFade * | task | ) |
| void STDGNAME_updateFader | ( | ScreenFade * | task | ) |
| ScreenFade * STDGNAME_createFader | ( | void | ) |
| void STDGNAME_createNameWindows | ( | NameEntry * | task, |
| NameEntryWindows * | windows | ||
| ) |
| void STDGNAME_showNameWindows | ( | NameEntry * | task, |
| NameEntryWindows * | windows, | ||
| s32 | show | ||
| ) |
| void STDGNAME_drawKeyboard | ( | NameEntry * | task | ) |
| void STDGNAME_updateKeyboard | ( | NameEntry * | task, |
| NameEntryWindows * | windows | ||
| ) |
| void STDGNAME_updateNameEntry | ( | NameEntry * | task, |
| NameEntryWindows * | windows | ||
| ) |
| void STDGNAME_setName | ( | NameEntry * | task, |
| char * | name | ||
| ) |
| void STDGNAME_getName | ( | NameEntry * | task, |
| char * | out | ||
| ) |
| void STDGNAME_closeNameEntry | ( | NameEntry * | task | ) |
Creates the name entry (task) for a partner, starting from the name given; up to 8 characters (5 in language 0, in the European version)
Definition at line 22 of file name_entry.c.
Referenced by STDGNAME_stepScreen().
| void STDGNAME_showMenuWindow | ( | PartnerMenuTask * | task, |
| TextWindow ** | window, | ||
| s32 | index, | ||
| s32 | show | ||
| ) |
menu.c
menu.c
< DGNMET: STDGNAME's
Definition at line 7 of file menu.c.
Referenced by STDGNAME_updateMenu().
| void STDGNAME_drawMenu | ( | PartnerMenuTask * | task, |
| TextWindow ** | windows | ||
| ) |
Draws the partner menu, its parts opening by scaling: its three sprites (the one at the chosen partner in a cycling palette), each partner's animation in its slot and the slots' frames over a glow in a cycling palette.
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< sprite bank
< sprite bank
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< sprite bank
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< GTE regards 4096 as 1.0
< sprite bank
< sprite bank
Definition at line 35 of file menu.c.
Referenced by STDGNAME_updateMenu().
| s32 STDGNAME_runMenu | ( | PartnerMenuTask * | task, |
| TextWindow ** | windows | ||
| ) |
Up/down choose a partner; cross picks it to rename, triangle leaves the screen (choice -1, fading out).
1 once either is pressed
< SYSTEM06
< SYSTEM06
< SYSTEM07
< SYSTEM01
Definition at line 112 of file menu.c.
Referenced by STDGNAME_updateMenu().
| 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, runs the menu and closes everything once a choice is made.
Definition at line 141 of file menu.c.
Referenced by STDGNAME_createMenu().
| PartnerMenuTask * STDGNAME_createMenu | ( | ScreenTask * | screen | ) |
Creates the partner menu (task) to pick the partner to rename.
Definition at line 223 of file menu.c.
Referenced by STDGNAME_stepScreen().
| void STDGNAME_stepScreen | ( | ScreenTask * | task, |
| ScreenChildren * | children | ||
| ) |
screen.c
screen.c
Definition at line 9 of file screen.c.
Referenced by STDGNAME_updateScreen().
| void STDGNAME_drawBackground | ( | ScreenTask * | task | ) |
Draws the screen's background and its scrolling pattern.
< sprite bank
< sprite bank
Definition at line 59 of file screen.c.
Referenced by STDGNAME_updateScreen().
| 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 to the field when killed.
Definition at line 78 of file screen.c.
Referenced by STDGNAME_createScreen().
| void STDGNAME_fadeOutScreen | ( | ScreenTask * | task | ) |
Fades the screen out over 30 frames (task->fadeOut), to leave it.
Definition at line 112 of file screen.c.
Referenced by STDGNAME_createScreen().
| ScreenTask * STDGNAME_createScreen | ( | void | ) |
Creates the renaming screen (task)
Definition at line 121 of file screen.c.
Referenced by STDGNAME_updateScene().
| void STDGNAME_loadFiles | ( | void | ) |
| s32 STDGNAME_filesLoading | ( | void | ) |
|
extern |
STDGNAME's data (data/stdgname.c)
Definition at line 1190 of file stdgname.c.
|
extern |
Definition at line 592 of file stdgname.c.
|
extern |
Definition at line 598 of file stdgname.c.
|
extern |
Definition at line 605 of file stdgname.c.
|
extern |
Definition at line 609 of file stdgname.c.
|
extern |
Definition at line 576 of file stdgname.c.
|
extern |
Definition at line 580 of file stdgname.c.
|
extern |
the keyboard of language 0, three pages (only the European version uses it)
the keyboard of language 0, three pages (only the European version uses it)
Definition at line 541 of file stdgname.c.
|
extern |
Definition at line 546 of file stdgname.c.
|
extern |
The partner menu: its sprites, the partners' slots (one under the other, 43 pixels apart), its text windows and each partner's animation (7 frames, -1 ends one)
Definition at line 616 of file stdgname.c.
Referenced by STDGNAME_drawMenu().
|
extern |
Definition at line 627 of file stdgname.c.
Referenced by STDGNAME_drawMenu().
|
extern |
Definition at line 631 of file stdgname.c.
Referenced by STDGNAME_showMenuWindow().
|
extern |
Definition at line 638 of file stdgname.c.
Referenced by STDGNAME_drawMenu().
|
extern |
style: the text style of the partners' names in the menu (STDGNAME_showMenuWindow)
Definition at line 646 of file stdgname.c.
Referenced by STDGNAME_drawMenu(), STDGNAME_loadFiles(), STDGNAME_runMenu(), STDGNAME_showMenuWindow(), STDGNAME_stepScreen(), STDGNAME_updateMenu(), and STDGNAME_updateScreen().
|
extern |
Definition at line 1184 of file stdgname.c.