24 switch (task->
state) {
TitleFuncs STDWTITL_titleFuncs
#define TASK_INIT
Tasks: every game object is a task, a heap block that starts with this header and is updated once per...
SoundState SOUND
rsin and rcos (libgte) read rsin_tbl[a - 0x800] and the like: their addresses before the table fall i...
void(* nextState)(struct TitleLoaderTask *task)
void(* setState)(struct TitleLoaderTask *task, s32 state)
void * createTask(void(*update)(), s32 size, s32 childrenSize)
createTaskWithId for a task nothing needs to find
TitleTask * STDWTITL_startTitleTask(TitleLoaderTask *parent)
Creates the title screen (task), under its title loader parent.
STDWTITL.PRO: the title screen, the opening movies and a notice screen.
#define STDWTITL_TITLE_LAYER
#define STDWTITL_TITLE_SOUND_BANK
Sounds (SOUND.playSound)
void STDWTITL_tickTitleLoader(TitleLoaderTask *task, TitleTask **title)
The title loader's task: waits for the title's sound bank, loads the title's images,...
TitleLoaderTask * STDWTITL_startTitleLoaderTask(void)
Creates the title loader (task) and starts loading the title's sound bank.
void STDWTITL_runTitleLoader(TitleLoaderTask *task, TitleTask **title)
Creates the title screen, then kills the title loader once the title screen has ended.