11#define SCROLL_BAR_DEPTH 0
63 switch (menu->
state) {
177 lerp->
fixed = from << 8;
#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_ITEM_INFO
ITMINF.
#define TEXT_SKILL_NAMES
SKLNAM.
#define TEXT_STATUS
STATUS: the field menu's and STSTATUS's.
#define TEXT_DIGIMON_INFO
DIGINF.
#define TEXT_DIGIMON_NAMES
DIGNAM.
#define TEXT_ITEM_NAMES
ITMNAM.
#define TEXT_SKILL_INFO
SKLINF.
FileCache FILE_CACHE
The file cache.
long open(char *name, unsigned long mode)
The kernel's file functions (libapi.h); the sim: device is the PC's.
struct FieldMenuChoice FIELD_MENU_CHOICE
menu/field_menu.c's
#define SCREEN_LAYER
The layer over the whole screen that most modes create first and draw their menus on (FIELDSTG and ST...
StatusAreaFuncs STSTATUS_areaFuncs
Where the game is.
Task *(* STSTATUS_screens[2][7])(FieldMenuScreen *menu, s32 extra)
The field menu's screens, by FIELD_MENU_CHOICE.
Task * STSTATUS_createItemScreen(FieldMenuScreen *menu, s32 extra)
Creates the field menu's first screen (task), the items.
SoundState SOUND
rsin and rcos (libgte) read rsin_tbl[a - 0x800] and the like: their addresses before the table fall i...
#define SOUND_MENU_OPEN
SYSTEM03.
void initSpriteDrawer(SpriteDrawer *obj)
Clears a sprite drawer to neutral (no scale, gray tint, follows the scroll), gives it its methods and...
s32(* isLoading)(s32 file)
void(* request)(s32 file)
void *(* getEntry)(u32 fileAndIndex)
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(* draw)()
(sheet, frame, x, y)
void(* setTexture)()
(x, y)
s32(* getGameHalf)(void)
0, 1, or -1 outside of the field
s32(* filesLoading)(void)
Any task, seen through its header.
Uploads TIM images to VRAM (initTimLoader); acts on TIM_LOADER.
void(* setClutPos)()
(x, y)
void(* setImagePos)()
(x, y)
void(* loadArchive)()
(archive): each image 64 halfwords to the right
void * createTask(void(*update)(), s32 size, s32 childrenSize)
createTaskWithId for a task nothing needs to find
void initTimLoader(TimLoader *obj)
Clears a TIM loader, gives it its methods and binds it.