Digimon World 3 decomp
The European version, SLES_039.36
Loading...
Searching...
No Matches
title.c File Reference

The data of STDWTITL's second object: the edges the fade out starts from, the background's animations, and the title's helpers and images. More...

#include "menus/title.h"
Include dependency graph for title.c:

Go to the source code of this file.

Variables

EdgeLine STDWTITL_edgeFadeLines []
 The screen's edges, from which it fades out.
 
AnimFrame STDWTITL_backgroundAnim0 []
 
AnimFrame STDWTITL_backgroundAnim1 []
 
AnimFrame STDWTITL_backgroundAnim2 []
 
AnimFrame STDWTITL_backgroundAnim3 []
 
AnimFrame STDWTITL_backgroundAnim4 []
 
AnimFrame STDWTITL_backgroundAnim5 []
 
AnimFrame STDWTITL_backgroundAnim6 []
 
AnimFrame STDWTITL_backgroundAnim7 []
 
Point16 STDWTITL_background6Positions []
 
Point16 STDWTITL_background7Positions []
 
s32 STDWTITL_spriteBank = 0
 
TitleFuncs STDWTITL_titleFuncs
 
TitleImages STDWTITL_titleImages []
 The title's TIM archives and sprite banks; the European version picks one by the language.
 

Detailed Description

The data of STDWTITL's second object: the edges the fade out starts from, the background's animations, and the title's helpers and images.

Definition in file title.c.

Variable Documentation

◆ STDWTITL_edgeFadeLines

EdgeLine STDWTITL_edgeFadeLines[]
Initial value:
= {
{0, -15, 320, -15}, {320, -15, 320, 260}, {0, 260, 320, 260},
{0, -15, 0, 260},
}

The screen's edges, from which it fades out.

Definition at line 7 of file title.c.

Referenced by STDWTITL_drawEdgeFade().

◆ STDWTITL_backgroundAnim0

AnimFrame STDWTITL_backgroundAnim0[]
Initial value:
= {
{300, 180}, {0, 2}, {1, 3}, {2, 5}, {3, 4}, {4, 4}, {5, 4}, {6, 5}, {7, 4},
{8, 4}, {9, 4}, {10, 4}, {11, 4}, {12, 4}, {13, 4}, {300, 12}, {0xFF, 0},
}

Definition at line 12 of file title.c.

Referenced by STDWTITL_drawBackgroundSprites(), and STDWTITL_tickBackground().

◆ STDWTITL_backgroundAnim1

AnimFrame STDWTITL_backgroundAnim1[]
Initial value:
= {
{300, 240}, {83, 1}, {14, 1}, {82, 1}, {84, 2}, {85, 2}, {86, 2}, {87, 2},
{14, 6}, {88, 2}, {89, 2}, {90, 3}, {91, 3}, {92, 3}, {93, 3}, {94, 3},
{95, 3}, {96, 3}, {97, 3}, {300, 10}, {0xFF, 0},
}

Definition at line 16 of file title.c.

Referenced by STDWTITL_drawBackgroundSprites(), and STDWTITL_tickBackground().

◆ STDWTITL_backgroundAnim2

AnimFrame STDWTITL_backgroundAnim2[]
Initial value:
= {
{0xF, 1}, {14, 1}, {16, 1}, {14, 1}, {17, 1}, {14, 1}, {18, 1}, {24, 1},
{19, 1}, {25, 1}, {20, 1}, {26, 1}, {21, 1}, {27, 1}, {22, 1}, {28, 1},
{23, 1}, {29, 1}, {33, 1}, {30, 1}, {34, 1}, {31, 1}, {35, 1}, {32, 1},
{36, 1}, {14, 1}, {37, 1}, {49, 1}, {38, 1}, {48, 1}, {39, 1}, {47, 1},
{40, 1}, {46, 1}, {14, 1}, {45, 1}, {14, 1}, {44, 1}, {14, 1}, {43, 1},
{14, 1}, {42, 1}, {14, 1}, {41, 1}, {300, 20}, {0xFF, 0},
}

Definition at line 21 of file title.c.

Referenced by STDWTITL_drawBackgroundSprites(), and STDWTITL_tickBackground().

◆ STDWTITL_backgroundAnim3

AnimFrame STDWTITL_backgroundAnim3[]
Initial value:
= {
{300, 25}, {50, 1}, {14, 1}, {51, 1}, {14, 1}, {52, 1}, {14, 1}, {53, 1},
{14, 1}, {54, 1}, {14, 1}, {55, 1}, {14, 1}, {56, 1}, {14, 1}, {57, 1},
{14, 1}, {58, 1}, {66, 1}, {59, 1}, {67, 1}, {60, 1}, {68, 1}, {61, 1},
{69, 1}, {62, 1}, {70, 1}, {63, 1}, {71, 1}, {64, 1}, {72, 1}, {65, 1},
{73, 1}, {14, 1}, {74, 1}, {14, 1}, {75, 1}, {14, 1}, {76, 1}, {14, 1},
{77, 1}, {14, 1}, {78, 1}, {14, 1}, {79, 1}, {14, 1}, {80, 1}, {14, 1},
{81, 1}, {300, 30}, {0xFF, 0},
}

Definition at line 29 of file title.c.

Referenced by STDWTITL_drawBackgroundSprites(), and STDWTITL_tickBackground().

◆ STDWTITL_backgroundAnim4

AnimFrame STDWTITL_backgroundAnim4[]
Initial value:
= {
{300, 240}, {27, 1}, {5, 1}, {28, 1}, {5, 1}, {29, 1}, {5, 1}, {30, 1},
{5, 1}, {31, 1}, {5, 1}, {32, 1}, {5, 1}, {33, 1}, {5, 1}, {34, 1}, {5, 1},
{35, 1}, {5, 1}, {36, 1}, {5, 1}, {37, 1}, {5, 1}, {38, 1}, {5, 1},
{39, 1}, {5, 1}, {40, 1}, {5, 1}, {13, 1}, {14, 1}, {0xF, 1}, {16, 1},
{17, 1}, {40, 1}, {18, 1}, {39, 1}, {19, 1}, {38, 1}, {20, 1}, {37, 1},
{21, 1}, {36, 1}, {22, 1}, {35, 1}, {23, 1}, {34, 1}, {24, 1}, {33, 1},
{25, 1}, {32, 1}, {26, 1}, {31, 1}, {5, 1}, {30, 1}, {5, 1}, {29, 1},
{5, 1}, {28, 1}, {5, 1}, {27, 1}, {300, 60}, {0xFF, 0},
}

Definition at line 38 of file title.c.

Referenced by STDWTITL_drawBackgroundSprites(), and STDWTITL_tickBackground().

◆ STDWTITL_backgroundAnim5

AnimFrame STDWTITL_backgroundAnim5[]
Initial value:
= {
{300, 180}, {41, 2}, {5, 1}, {41, 1}, {5, 1}, {42, 2}, {5, 1}, {42, 1},
{5, 1}, {43, 2}, {5, 1}, {43, 1}, {5, 1}, {44, 2}, {5, 1}, {44, 1}, {5, 9},
{45, 2}, {5, 1}, {45, 1}, {5, 1}, {46, 2}, {5, 1}, {46, 1}, {5, 1},
{47, 2}, {5, 1}, {47, 1}, {300, 180}, {0xFF, 0},
}

Definition at line 48 of file title.c.

Referenced by STDWTITL_drawBackgroundSprites(), and STDWTITL_tickBackground().

◆ STDWTITL_backgroundAnim6

AnimFrame STDWTITL_backgroundAnim6[]
Initial value:
= {
{300, 180}, {0, 1}, {5, 1}, {0, 2}, {5, 1}, {1, 2}, {5, 1}, {2, 2}, {5, 1},
{2, 1}, {5, 1}, {3, 1}, {5, 1}, {3, 1}, {5, 1}, {4, 1}, {5, 1}, {4, 1},
{300, 240}, {0xFF, 0},
}

Definition at line 54 of file title.c.

Referenced by STDWTITL_drawBackgroundSprites(), and STDWTITL_tickBackground().

◆ STDWTITL_backgroundAnim7

AnimFrame STDWTITL_backgroundAnim7[]
Initial value:
= {
{300, 120}, {6, 1}, {5, 1}, {7, 1}, {5, 1}, {6, 1}, {5, 1}, {7, 1}, {5, 1},
{8, 1}, {5, 1}, {8, 1}, {5, 1}, {9, 1}, {5, 1}, {10, 1}, {5, 1}, {11, 1},
{5, 1}, {12, 1}, {300, 240}, {0xFF, 0},
}

Definition at line 59 of file title.c.

Referenced by STDWTITL_drawBackgroundSprites(), and STDWTITL_tickBackground().

◆ STDWTITL_background6Positions

Point16 STDWTITL_background6Positions[]
Initial value:
= {
{16, 165}, {265, 85}, {200, 0},
}

Definition at line 65 of file title.c.

Referenced by STDWTITL_tickBackground().

◆ STDWTITL_background7Positions

Point16 STDWTITL_background7Positions[]
Initial value:
= {
{150, 0}, {282, 8}, {290, 178}, {0, 0}, {0, 108},
}

Definition at line 68 of file title.c.

Referenced by STDWTITL_tickBackground().

◆ STDWTITL_spriteBank

◆ STDWTITL_titleFuncs

TitleFuncs STDWTITL_titleFuncs
Initial value:
= {
}
void STDWTITL_loadTitleImages(void)
Loads the title's images to VRAM: the sprites (by the language in the European version) and the backg...
Definition title.c:185
s32 STDWTITL_updateFade(PanelAnim *fade)
s32 STDWTITL_updateLerp(MenuLerp *lerp)
void STDWTITL_startFade(PanelAnim *fade, s32 fadeIn)
void STDWTITL_startLerp(MenuLerp *lerp, s32 from, s32 to, s32 frames)

Definition at line 74 of file title.c.

Referenced by STDWTITL_tickTitleLoader().

◆ STDWTITL_titleImages

TitleImages STDWTITL_titleImages[]
Initial value:
= {
{0x08860001, 0x08860000}, {0x08A40001, 0x08A40000},
{0x094D0001, 0x094D0000}, {0x094D0001, 0x094D0000},
{0x094D0001, 0x094D0000}, {0x094D0001, 0x094D0000},
{0x094D0001, 0x094D0000},
}

The title's TIM archives and sprite banks; the European version picks one by the language.

Definition at line 81 of file title.c.

Referenced by STDWTITL_loadTitleImages().