32#elif VERSION_EU || VERSION_JP
64 if (task->
timer++ >= 0) {
71 if (task->
timer >= 10) {
80 if (task->
timer >= 12) {
87 if (task->
timer >= 12) {
95 if (task->
timer >= 12) {
109#if VERSION_US || VERSION_JP
132 switch (task->
state) {
143#elif VERSION_EU || VERSION_JP
194#elif VERSION_EU || VERSION_JP
TitleBackgroundTask * STDWTITL_startBackgroundTask(s32 skip)
Creates the title screen's background (task); skip is not used.
TitleImages STDWTITL_titleImages[]
The title's TIM archives and sprite banks; the European version picks one by the language.
GfxState GFX
GFX: the graphics state and its methods.
EdgeFadeTask * STDWTITL_startEdgeFadeTask(void)
Creates the fade out from the screen's edges (task), once an option is chosen.
GameState GAME
The save data, the game mode and the methods.
#define TASK_INIT
Tasks: every game object is a task, a heap block that starts with this header and is updated once per...
s32 LANGUAGE
The European version's settings, in the small data (.sdata) between file/file_table....
FileCache FILE_CACHE
The file cache.
#define MODE_NEW_GAME
Game modes (GameState: mode >> 8 is the overlay) that more than their own overlay asks for.
#define MODE_OPENING_2
STDWTITL's second opening movie: LANGUAGE 0 alternates the two, the others play only it.
#define MODE_CONTINUE
STGMCARD, to load a game.
#define MODE_OPENING
STDWTITL's first movie.
GlintTask * STDWTITL_startGlintTask(s32 skip)
Creates the title screen's glint (task); skip: lit from the start.
GlintTask * STDWTITL_startGlintAltTask(s32 skip)
Creates the title screen's glint (task) for the European version's language 0.
LogoTask * STDWTITL_startLogoTask(s32 skip)
Creates the title screen's logo (task); skip: shown complete from the start.
MemCardFuncs MEMCARD_FUNCS
SlideTask * STDWTITL_startTitle0AltTask(s32 skip)
Creates the first part of the title (task) for the European version's language 0.
SlideTask * STDWTITL_startTitle1AltTask(s32 skip)
Creates the second part of the title (task) for the European version's language 0.
SlideTask * STDWTITL_startTitle1Task(s32 skip)
Creates the second part of the title (task)
SlideTask * STDWTITL_startTitle0Task(s32 skip)
Creates the first part of the title (task)
SoundState SOUND
rsin and rcos (libgte) read rsin_tbl[a - 0x800] and the like: their addresses before the table fall i...
void(* clearGauges)(void)
s32(* isDone)(struct EdgeFadeTask *task)
void(* start)(struct EdgeFadeTask *task)
void(* request)(s32 file)
void *(* getEntry)(u32 fileAndIndex)
void(* requestMode)(s32 mode, s32 arg)
s32(* getFrameTime)(void)
void(* show)(struct GlintTask *task)
void(* show)(struct LogoTask *task)
void(* setFileName)(void)
void(* show)(struct SlideTask *task)
void(* stopSound)(s32 id)
short(* playSound)(s32 id)
returns the voice of a key-on
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(* animate)(struct TitleBackgroundTask *task)
TitleBackgroundTask * background
void(* nextState)(struct TitleTask *task)
void(* setSubstate)(struct TitleTask *task, s32 substate)
void(* setState)(struct TitleTask *task, s32 state)
void(* nextSubstate)(struct TitleTask *task)
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.
s32 STDWTITL_leaveTitle(TitleTask *task, TitleChildren *children)
Once the fade out ends, starts the chosen mode; returns 1 then.
s32 STDWTITL_stepTitle(TitleTask *task, TitleChildren *children)
Brings in the titles, the glint, the logo and the menu, then waits for an option; returns 1 once the ...
void STDWTITL_loadTitleImages(void)
Loads the title's images to VRAM: the sprites (by the language in the European version) and the backg...
TitleTask * STDWTITL_startTitleTask(TitleLoaderTask *parent)
Creates the title screen (task), under its title loader parent.
void STDWTITL_tickTitle(TitleTask *task, TitleChildren *children)
The title screen's task: creates its background, title parts, glint, logo and menu (the Alt ones for ...
STDWTITL.PRO: the title screen, the opening movies and a notice screen.
#define STDWTITL_TEXTURE_Y
The VRAM row of the title's sprites (SpriteDrawer.setTexture)
#define STDWTITL_TITLE_LAYER
#define STDWTITL_BACKGROUND(entry)
#define STDWTITL_TITLE_MUSIC