Digimon World 3 decomp
The European version, SLES_039.36
Loading...
Searching...
No Matches
name_entry.c
Go to the documentation of this file.
1/* The keyboard to rename a deck: the name entry STPLNMET and STDGNAME share */
2
4
5#define START_FADE OVL_NAME(startTween)
7#define UPDATE_FADE OVL_NAME(updateTween)
18
19/* Creates the name entry (task) to rename a deck, starting from its name: up to 10 characters */
22
25 entry->layer = SCREEN_LAYER;
26 entry->depth = 3;
27 entry->mode = 2;
28 entry->maxLength = 10;
29 entry->partner = -1;
30 STCRDDEK_setName(entry, text);
31 STCRDDEK_setNameVram(entry, 0x280, 0x100);
32 return entry;
33}
NameEntry * STCRDDEK_createNameEntry(char *text)
Creates the name entry (task) to rename a deck, starting from its name: up to 10 characters.
Definition name_entry.c:20
STCRDDEK: the deck editor, where the player builds the three decks from the cards they own and rename...
void STCRDDEK_getName(NameEntry *task, char *out)
void STCRDDEK_setName(NameEntry *task, char *name)
void STCRDDEK_closeNameEntry(NameEntry *task)
void STCRDDEK_setNameVram(NameEntry *task, s32 x, s32 y)
void STCRDDEK_updateNameEntry(NameEntry *task, NameEntryWindows *windows)
#define SCREEN_LAYER
The layer over the whole screen that most modes create first and draw their menus on (FIELDSTG and ST...
Definition gfx.h:45
A name entry: the keyboard, the name typed so far and the panels that open and close.
Definition name_entry.h:95
void(* close)(NameEntry *task)
Definition name_entry.h:129
s32 maxLength
Definition name_entry.h:109
void(* getName)(NameEntry *task, char *out)
Definition name_entry.h:125
void * createTask(void(*update)(), s32 size, s32 childrenSize)
createTaskWithId for a task nothing needs to find
Definition task.c:105