71 switch (menu->
state) {
76 if (*windows ==
NULL) {
80 (*windows)->setNumber(*windows, 1, menu->
saves->
port + 1);
82 (*windows)->setVisible(*windows, 0);
175 (*windows)->setPos(*windows, 0x15, menu->
lerps[1].
value + 0x18);
176 for (i = 0; i < 3; i++) {
GfxState GFX
GFX: the graphics state and its methods.
#define TASK_INIT
Tasks: every game object is a task, a heap block that starts with this header and is updated once per...
#define TEXT_MEMORY_CARD
MEMCRD.
FileCache FILE_CACHE
The file cache.
#define SCREEN_LAYER
The layer over the whole screen that most modes create first and draw their menus on (FIELDSTG and ST...
STGMCARD.PRO: the memory card screen (MODE_CONTINUE).
#define FILE_GMCARD_SHEET
#define PAD_PRESSED(button)
One button of pad 1: newly pressed, auto-repeated while held, or held.
#define PAD_REPEATED(button)
SoundState SOUND
rsin and rcos (libgte) read rsin_tbl[a - 0x800] and the like: their addresses before the table fall i...
#define SOUND_MENU_MOVE
SYSTEM06.
void initSpriteDrawer(SpriteDrawer *obj)
Clears a sprite drawer to neutral (no scale, gray tint, follows the scroll), gives it its methods and...
MemCardScreenFuncs STGMCARD_funcs
STGMCARD's data (data/stgmcard.c)
s32 STGMCARD_partnerIcons[]
the sprite of a save's first partner, by partner (from 3), and its x, by save
void *(* getEntry)(u32 fileAndIndex)
u8 name[0x18]
empty for a free slot
s32 partners[3]
3 and up: a partner, whose animation the details show
The saves of a memory card (STGMCARD_updateSaves)
MemCardFile file
the card's
void(* refresh)(struct MemCardSaves *saves)
void(* startLerp)(MenuLerp *lerp, s32 from, s32 to, s32 frames)
s32 prevSlot
where the cursor moves from
s32(* updateLerp)(MenuLerp *lerp)
short(* playSound)(s32 id)
returns the voice of a key-on
Draws sprites from a sprite sheet (such as file 0x277, the menu graphics): a sheet has a table of fra...
void(* setLayerId)()
(id, depth)
void(* setClutRow)()
(row)
void(* draw)()
(sheet, frame, x, y)
void(* setTexture)()
(x, y)
A text window (createTextWindow): up to six text buffers (0 is shown, 1-5 are "work" buffers that con...
void(* setVisible)(struct TextWindow *obj, u8 arg)
void * createTask(void(*update)(), s32 size, s32 childrenSize)
createTaskWithId for a task nothing needs to find
TextWindow * createTextWindow(s16 layerId, s16 style, s16 x, s16 y)
A text window on a layer, in a font style, at (x, y)