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

STGMCARD's data, all of it in one file. More...

Include dependency graph for stgmcard.c:

Go to the source code of this file.

Variables

MemCardWindowSpec STGMCARD_detailWindows []
 the details' text windows: their text, type and place
 
s32 STGMCARD_partnerAnims [][7]
 the partners' sprites while they wait, by partner (from 3): -1 ends a loop
 
s32 STGMCARD_partnerIcons []
 the sprite of a save's first partner, by partner (from 3), and its x, by save
 
s32 STGMCARD_slotIconX []
 
s32 STGMCARD_errorTexts []
 the texts of the errors, by result
 
s32 STGMCARD_places []
 the place a save shows (a string of TEXT_SHOP_NAMES), by the low byte of the game mode: the save point
 
MemCardModeEntry STGMCARD_prevModes []
 
MemCardScreenFuncs STGMCARD_funcs
 STGMCARD's data (data/stgmcard.c)
 
CardClut STGMCARD_iconClut
 the save icon's 16 colors, for the card's header
 
SaveIconFrame STGMCARD_iconFrames [3]
 the save icon's three frames
 
SaveIcon STGMCARD_saveIcon
 

Detailed Description

STGMCARD's data, all of it in one file.

Definition in file stgmcard.c.

Variable Documentation

◆ STGMCARD_detailWindows

MemCardWindowSpec STGMCARD_detailWindows[]
Initial value:
= {
{ 32, 1, 24, 109, 0 },
{ 33, 1, 24, 123, 0 },
{ 33, 1, 24, 138, 0 },
{ 21, 3, 29, 155, 0 },
{ 21, 3, 118, 163, 0 },
{ 34, 3, 115, 163, 1 },
{ 20, 3, 156, 125, 0 },
{ 20, 3, 208, 125, 0 },
{ 20, 3, 260, 125, 0 },
{ 35, 3, 185, 125, 1 },
{ 35, 3, 237, 125, 1 },
{ 35, 3, 289, 125, 1 },
{ 35, 3, 261, 178, 1 },
{ 35, 3, 280, 178, 1 },
{ 35, 3, 299, 178, 1 },
{ 19, 3, 261, 178, 0 },
{ 19, 3, 280, 178, 0 },
{ 35, 3, 280, 178, 1 },
{ 35, 3, 299, 178, 1 },
}

the details' text windows: their text, type and place

Definition at line 6 of file stgmcard.c.

Referenced by STGMCARD_refreshInfo(), and STGMCARD_updateInfo().

◆ STGMCARD_partnerAnims

s32 STGMCARD_partnerAnims[][7]
Initial value:
= {
{ 7, 8, 9, 10, 9, 8, -1 },
{ 14, 15, 16, 15, -1, -1, -1 },
{ 11, 12, 13, 12, -1, -1, -1 },
{ 3, 4, 5, 6, 5, 4, -1 },
{ 25, 26, 27, 28, 27, 26, -1 },
{ 0, 1, 2, 1, -1, -1, -1 },
{ 17, 18, 19, 20, 19, 18, -1 },
{ 21, 22, 23, 24, 23, 22, -1 },
}

the partners' sprites while they wait, by partner (from 3): -1 ends a loop

Definition at line 29 of file stgmcard.c.

Referenced by STGMCARD_updateInfo().

◆ STGMCARD_partnerIcons

s32 STGMCARD_partnerIcons[]
Initial value:
= {
42, 44, 43, 41,
47, 40, 45, 46,
}

the sprite of a save's first partner, by partner (from 3), and its x, by save

Definition at line 41 of file stgmcard.c.

Referenced by STGMCARD_updateMenu().

◆ STGMCARD_slotIconX

s32 STGMCARD_slotIconX[]
Initial value:
= {
109, 177, 245,
}

Definition at line 45 of file stgmcard.c.

Referenced by STGMCARD_updateMenu().

◆ STGMCARD_errorTexts

s32 STGMCARD_errorTexts[]
Initial value:
= {
1, 10, 27, 10,
11, 12, 28, 13,
38, 36, 37,
}

the texts of the errors, by result

Definition at line 48 of file stgmcard.c.

Referenced by STGMCARD_askError().

◆ STGMCARD_places

s32 STGMCARD_places[]
Initial value:
= {
43, 43, 44, 45,
46, 47, 48, 49,
50, 51, 52, 53,
54, 55, 56, 57,
58, 59, 60, 61,
62, 63, 64, 65,
66, 67,
}

the place a save shows (a string of TEXT_SHOP_NAMES), by the low byte of the game mode: the save point

Definition at line 55 of file stgmcard.c.

Referenced by STGMCARD_createScreen().

◆ STGMCARD_prevModes

MemCardModeEntry STGMCARD_prevModes[]

Definition at line 64 of file stgmcard.c.

Referenced by STGMCARD_createScreen().

◆ STGMCARD_funcs

MemCardScreenFuncs STGMCARD_funcs
Initial value:
= {
0, 0, 0, ((void *)0) , ((void *)0) , 0, 0,
}
s32 STGMCARD_updateLerp(MenuLerp *lerp)
void STGMCARD_startFade(PanelAnim *fade, s32 fadeIn)
s32 STGMCARD_updateFade(PanelAnim *fade)
void STGMCARD_startLerp(MenuLerp *lerp, s32 from, s32 to, s32 frames)
void STGMCARD_freeBuffers(void)
Frees the buffers of a save and of the card's info section, when leaving the screen.
Definition screen.c:151
void STGMCARD_loadFiles(void)
Loads the screen's images, gives the memory card's save file its title and icon, allocates the buffer...
Definition screen.c:106
s32 STGMCARD_filesLoading(void)
Whether the screen's strings are still loading.
Definition screen.c:140

STGMCARD's data (data/stgmcard.c)

Definition at line 127 of file stgmcard.c.

Referenced by STGMCARD_checkInfo(), STGMCARD_fillSave(), STGMCARD_freeBuffers(), STGMCARD_loadFiles(), STGMCARD_loadSave(), STGMCARD_moveSlotCursor(), STGMCARD_pickSlot(), STGMCARD_readInfo(), STGMCARD_refreshInfo(), STGMCARD_resetMenu(), STGMCARD_showDone(), STGMCARD_showSlots(), STGMCARD_slideInHeader(), STGMCARD_slideInSlots(), STGMCARD_slideInTitle(), STGMCARD_slideOutHeader(), STGMCARD_slideOutSlots(), STGMCARD_startLoad(), STGMCARD_startSlotPick(), STGMCARD_updateInfo(), STGMCARD_updateMenu(), STGMCARD_updateSaves(), STGMCARD_updateScreen(), STGMCARD_writeIcons(), STGMCARD_writeInfo(), STGMCARD_writeNewInfo(), and STGMCARD_writeSave().

◆ STGMCARD_iconClut

CardClut STGMCARD_iconClut
Initial value:
= {{
0x00, 0x00, 0x6B, 0x2D, 0xE7, 0x20, 0x93, 0x46,
0x67, 0x51, 0xC8, 0x71, 0x5A, 0x63, 0x0F, 0x3A,
0xDD, 0x73, 0xC4, 0x28, 0x44, 0x59, 0x18, 0x00,
0x8D, 0x7E, 0xC8, 0x71, 0x13, 0x7E, 0x58, 0x7E,
}}

the save icon's 16 colors, for the card's header

Definition at line 133 of file stgmcard.c.

◆ STGMCARD_iconFrames

SaveIconFrame STGMCARD_iconFrames[3]

the save icon's three frames

Definition at line 140 of file stgmcard.c.

◆ STGMCARD_saveIcon

SaveIcon STGMCARD_saveIcon
Initial value:
= {
}
CardClut STGMCARD_iconClut
the save icon's 16 colors, for the card's header
Definition stgmcard.c:133
SaveIconFrame STGMCARD_iconFrames[3]
the save icon's three frames
Definition stgmcard.c:140

Definition at line 196 of file stgmcard.c.

Referenced by STGMCARD_loadFiles().