26 switch (task->
state) {
29 if (task->
skip == 0) {
47 if (task->
index >= 12) {
97 if (task->
frame != -1) {
108 switch (task->
state) {
111 if (task->
skip == 0) {
129 if (task->
frame == -1) {
#define TASK_INIT
Tasks: every game object is a task, a heap block that starts with this header and is updated once per...
FileCache FILE_CACHE
The file cache.
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.
void STDWTITL_drawGlint(GlintTask *task)
Draws the glint (sprite 4) while it plays, and sprite 2 once lit.
void STDWTITL_showGlint(GlintTask *task)
Starts the glint (the task's show), only while it waits.
void STDWTITL_tickGlintAlt(GlintTask *task)
The glint's task for the European version's language 0: waits until shown, plays the glint's 12 frame...
void STDWTITL_tickGlint(GlintTask *task)
The glint's task: waits until shown, plays the glint once (up to its last frame and back),...
void STDWTITL_drawGlintAlt(GlintTask *task)
Draws the glint (sprite 4) for the European version's language 0, and sprite 2 once lit.
void initSpriteDrawer(SpriteDrawer *obj)
Clears a sprite drawer to neutral (no scale, gray tint, follows the scroll), gives it its methods and...
s16 STDWTITL_glintFrames[]
s16 STDWTITL_glintAltFrames[]
void *(* getEntry)(u32 fileAndIndex)
A glint (sprite 4) played once, then sprite 2 lit.
void(* nextSubstate)(struct GlintTask *task)
void(* setSubstate)(struct GlintTask *task, s32 substate)
void(* show)(struct GlintTask *task)
void(* nextState)(struct GlintTask *task)
void(* setState)(struct GlintTask *task, s32 state)
Draws sprites from a sprite sheet (such as file 0x277, the menu graphics): a sheet has a table of fra...
void(* setAltClut)()
(x, y)
void(* setLayerId)()
(id, depth)
void(* setClutRow)()
(row)
void(* draw)()
(sheet, frame, x, y)
void(* setTexture)()
(x, y)
void * createTask(void(*update)(), s32 size, s32 childrenSize)
createTaskWithId for a task nothing needs to find
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