19 switch (task->
state) {
22 if (task->
skip == 0) {
39 task->
x = task->
steps * 32 + 207;
40 if (task->
steps-- <= 0) {
92 switch (task->
state) {
108 task->
x = task->
steps * 32 + 19;
109 if (task->
steps-- <= 0) {
154 switch (task->
state) {
157 if (task->
skip == 0) {
174 task->
x = -(task->
steps * 320) / 10 + 17;
175 if (task->
steps-- <= 0) {
227 switch (task->
state) {
243 task->
x = -(task->
steps * 320) / 10 + 19;
244 if (task->
steps-- <= 0) {
#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.
void STDWTITL_drawTitle0Alt(SlideTask *task)
Draws the first part of the title (sprite 0) for the European version's language 0.
void STDWTITL_drawTitle1Alt(SlideTask *task)
Draws the second part of the title (sprite 1) for the European version's language 0.
SlideTask * STDWTITL_startTitle0AltTask(s32 skip)
Creates the first part of the title (task) for the European version's language 0.
void STDWTITL_tickTitle1(SlideTask *task)
The second part of the title: waits until shown, then slides in from the right in 10 steps (skip is n...
void STDWTITL_drawTitle0(SlideTask *task)
Draws the first part of the title (sprite 0)
void STDWTITL_showTitle0(SlideTask *task)
Starts sliding in the first part of the title (the task's show), only while it waits.
SlideTask * STDWTITL_startTitle1AltTask(s32 skip)
Creates the second part of the title (task) for the European version's language 0.
void STDWTITL_showTitle1(SlideTask *task)
Starts sliding in the second part of the title (the task's show), only while it waits.
void STDWTITL_tickTitle1Alt(SlideTask *task)
The second part of the title for the European version's language 0: waits until shown,...
SlideTask * STDWTITL_startTitle1Task(s32 skip)
Creates the second part of the title (task)
void STDWTITL_drawTitle1(SlideTask *task)
Draws the second part of the title (sprite 1)
void STDWTITL_tickTitle0Alt(SlideTask *task)
The first part of the title for the European version's language 0: waits until shown,...
void STDWTITL_tickTitle0(SlideTask *task)
The first part of the title: waits until shown, then slides in from the left in 10 steps (skip is not...
SlideTask * STDWTITL_startTitle0Task(s32 skip)
Creates the first part of the title (task)
void initSpriteDrawer(SpriteDrawer *obj)
Clears a sprite drawer to neutral (no scale, gray tint, follows the scroll), gives it its methods and...
void *(* getEntry)(u32 fileAndIndex)
A part of the title that slides in from a side of the screen.
void(* nextState)(struct SlideTask *task)
void(* setState)(struct SlideTask *task, s32 state)
void(* setSubstate)(struct SlideTask *task, s32 substate)
void(* nextSubstate)(struct SlideTask *task)
void(* show)(struct SlideTask *task)
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(* 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