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

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

Include dependency graph for stplnmet.c:

Go to the source code of this file.

Variables

s32 STPLNMET_scrollEnds []
 Where each scroll layer starts over (STPLNMET_updateScroll)
 
SparkleFrame STPLNMET_sparkleFrames []
 The sparkle's frames (STPLNMET_updateShine): sprite 0 starts over.
 
Glyph STPLNMET_nameGlyphs [230]
 The name font (STPLNMET_nameStyle): its glyphs and icons.
 
Glyph STPLNMET_nameIcons [114]
 
KeyTabs STPLNMET_keyPagesJp []
 The keyboard's pages and characters in Japanese (LANGUAGE 0), which only the European version uses.
 
KeyPage STPLNMET_keyCharsJp []
 
KeyTabs STPLNMET_keyPages []
 The keyboard's pages and characters.
 
KeyPage STPLNMET_keyChars []
 
TextStyle STPLNMET_nameStyle
 The font of the name and the keyboard.
 
s32 STPLNMET_nameAnims [][7]
 The partner's animation beside the name: 7 frames per partner, -1 ends one.
 
BigKey STPLNMET_bigKeys []
 The keys bigger than a cell, where the keyboard cursor highlights them.
 
s32 STPLNMET_keyArrowCluts []
 The CLUT rows the page arrows cycle through.
 
s32 STPLNMET_choiceArrowCluts []
 The CLUT rows the partner choice's cursor cycles through.
 
s32 STPLNMET_tabX []
 The x of the keyboard's three tabs.
 
PartnerAnim STPLNMET_partnerAnims []
 
s32 STPLNMET_partnerChoices [3][3]
 The partners of each starter pack, as STARTER_PARTIES.
 
PlayerNameFuncs STPLNMET_funcs
 STPLNMET's data (data/stplnmet.c), in its order.
 
NameKeyboard STPLNMET_keyboard = { 0 }
 

Detailed Description

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

Definition in file stplnmet.c.

Variable Documentation

◆ STPLNMET_scrollEnds

s32 STPLNMET_scrollEnds[]
Initial value:
= {
-176, -190,
}

Where each scroll layer starts over (STPLNMET_updateScroll)

Definition at line 6 of file stplnmet.c.

Referenced by STPLNMET_updateScroll().

◆ STPLNMET_sparkleFrames

SparkleFrame STPLNMET_sparkleFrames[]

The sparkle's frames (STPLNMET_updateShine): sprite 0 starts over.

Definition at line 10 of file stplnmet.c.

Referenced by STPLNMET_updateShine().

◆ STPLNMET_nameGlyphs

Glyph STPLNMET_nameGlyphs[230]

The name font (STPLNMET_nameStyle): its glyphs and icons.

Definition at line 276 of file stplnmet.c.

◆ STPLNMET_nameIcons

Glyph STPLNMET_nameIcons[114]

Definition at line 627 of file stplnmet.c.

◆ STPLNMET_keyPagesJp

KeyTabs STPLNMET_keyPagesJp[]
Initial value:
= {
{ { 2, 3, 4 } },
{ { 5, 6, 7 } },
{ { 8, 9, 10 } },
}

The keyboard's pages and characters in Japanese (LANGUAGE 0), which only the European version uses.

Definition at line 746 of file stplnmet.c.

◆ STPLNMET_keyCharsJp

KeyPage STPLNMET_keyCharsJp[]
Initial value:
= {
{ {
{ { 1, 0x43 }, { 1, 0x45 }, { 1, 0x47 }, { 1, 0x49 }, { 1, 0x4B }, { 1, 0x85 }, { 0, 0x00 }, { 1, 0x87 }, { 0, 0x00 }, { 1, 0x89 }, { 1, 0x72 }, { 1, 0x75 }, { 1, 0x78 }, { 1, 0x7B }, { 1, 0x7E } },
{ { 1, 0x4C }, { 1, 0x4E }, { 1, 0x50 }, { 1, 0x52 }, { 1, 0x54 }, { 1, 0x8A }, { 1, 0x8B }, { 1, 0x8C }, { 1, 0x8D }, { 1, 0x8E }, { 1, 0x42 }, { 1, 0x44 }, { 1, 0x46 }, { 1, 0x48 }, { 1, 0x4A } },
{ { 1, 0x56 }, { 1, 0x58 }, { 1, 0x5A }, { 1, 0x5C }, { 1, 0x5E }, { 1, 0x90 }, { 0, 0x00 }, { 1, 0x91 }, { 0, 0x00 }, { 1, 0x92 }, { 1, 0x84 }, { 1, 0x86 }, { 1, 0x88 }, { 1, 0x64 }, { 0, 0x00 } },
{ { 1, 0x60 }, { 1, 0x62 }, { 1, 0x65 }, { 1, 0x67 }, { 1, 0x69 }, { 1, 0x4D }, { 1, 0x4F }, { 1, 0x51 }, { 1, 0x53 }, { 1, 0x55 }, { 0, 0x00 }, { 0, 0x00 }, { 0, 0x00 }, { 0, 0x00 }, { 0, 0x00 } },
{ { 1, 0x6B }, { 1, 0x6C }, { 1, 0x6D }, { 1, 0x6E }, { 1, 0x6F }, { 1, 0x57 }, { 1, 0x59 }, { 1, 0x5B }, { 1, 0x5D }, { 1, 0x5F }, { 1, 0x00 }, { -1, 0x00 }, { -2, 0x00 }, { -3, 0x00 }, { -4, 0x00 } },
{ { 1, 0x70 }, { 1, 0x73 }, { 1, 0x76 }, { 1, 0x79 }, { 1, 0x7C }, { 1, 0x61 }, { 1, 0x63 }, { 1, 0x66 }, { 1, 0x68 }, { 1, 0x6A }, { 1, 0x00 }, { -1, 0x00 }, { -2, 0x00 }, { -3, 0x00 }, { -4, 0x00 } },
{ { 1, 0x7F }, { 1, 0x80 }, { 1, 0x81 }, { 1, 0x82 }, { 1, 0x83 }, { 1, 0x71 }, { 1, 0x74 }, { 1, 0x77 }, { 1, 0x7A }, { 1, 0x7D }, { 1, 0x00 }, { 1, 0x00 }, { -1, 0x00 }, { 1, 0x00 }, { -1, 0x00 } },
} },
{ {
{ { 1, 0x94 }, { 1, 0x96 }, { 1, 0x98 }, { 1, 0x9A }, { 1, 0x9C }, { 1, 0xD6 }, { 0, 0x00 }, { 1, 0xD8 }, { 0, 0x00 }, { 1, 0xDA }, { 1, 0xC3 }, { 1, 0xC6 }, { 1, 0xC9 }, { 1, 0xCC }, { 1, 0xCF } },
{ { 1, 0x9D }, { 1, 0x9F }, { 1, 0xA1 }, { 1, 0xA3 }, { 1, 0xA5 }, { 1, 0xDB }, { 1, 0xDC }, { 1, 0xDD }, { 1, 0xDE }, { 1, 0xDF }, { 1, 0x93 }, { 1, 0x95 }, { 1, 0x97 }, { 1, 0x99 }, { 1, 0x9B } },
{ { 1, 0xA7 }, { 1, 0xA9 }, { 1, 0xAB }, { 1, 0xAD }, { 1, 0xAF }, { 1, 0xE1 }, { 0, 0x00 }, { 1, 0xE2 }, { 0, 0x00 }, { 1, 0xE3 }, { 1, 0xD5 }, { 1, 0xD7 }, { 1, 0xD9 }, { 1, 0xB5 }, { 1, 0xE4 } },
{ { 1, 0xB1 }, { 1, 0xB3 }, { 1, 0xB6 }, { 1, 0xB8 }, { 1, 0xBA }, { 1, 0x9E }, { 1, 0xA0 }, { 1, 0xA2 }, { 1, 0xA4 }, { 1, 0xA6 }, { 0, 0x00 }, { 0, 0x00 }, { 0, 0x00 }, { 0, 0x00 }, { 0, 0x00 } },
{ { 1, 0xBC }, { 1, 0xBD }, { 1, 0xBE }, { 1, 0xBF }, { 1, 0xC0 }, { 1, 0xA8 }, { 1, 0xAA }, { 1, 0xAC }, { 1, 0xAE }, { 1, 0xB0 }, { 1, 0x00 }, { -1, 0x00 }, { -2, 0x00 }, { -3, 0x00 }, { -4, 0x00 } },
{ { 1, 0xC1 }, { 1, 0xC4 }, { 1, 0xC7 }, { 1, 0xCA }, { 1, 0xCD }, { 1, 0xB2 }, { 1, 0xB4 }, { 1, 0xB7 }, { 1, 0xB9 }, { 1, 0xBB }, { 1, 0x00 }, { -1, 0x00 }, { -2, 0x00 }, { -3, 0x00 }, { -4, 0x00 } },
{ { 1, 0xD0 }, { 1, 0xD1 }, { 1, 0xD2 }, { 1, 0xD3 }, { 1, 0xD4 }, { 1, 0xC2 }, { 1, 0xC5 }, { 1, 0xC8 }, { 1, 0xCB }, { 1, 0xCE }, { 1, 0x00 }, { 1, 0x00 }, { -1, 0x00 }, { 1, 0x00 }, { -1, 0x00 } },
} },
{ {
{ { 1, 0x0E }, { 1, 0x0F }, { 1, 0x10 }, { 1, 0x11 }, { 1, 0x12 }, { 1, 0x28 }, { 1, 0x29 }, { 1, 0x2A }, { 1, 0x2B }, { 1, 0x2C }, { 1, 0x04 }, { 1, 0x05 }, { 1, 0x06 }, { 1, 0x07 }, { 1, 0x08 } },
{ { 1, 0x13 }, { 1, 0x14 }, { 1, 0x15 }, { 1, 0x16 }, { 1, 0x17 }, { 1, 0x2D }, { 1, 0x2E }, { 1, 0x2F }, { 1, 0x30 }, { 1, 0x31 }, { 1, 0x09 }, { 1, 0x0A }, { 1, 0x0B }, { 1, 0x0C }, { 1, 0x0D } },
{ { 1, 0x18 }, { 1, 0x19 }, { 1, 0x1A }, { 1, 0x1B }, { 1, 0x1C }, { 1, 0x32 }, { 1, 0x33 }, { 1, 0x34 }, { 1, 0x35 }, { 1, 0x36 }, { 1, 0xE8 }, { 1, 0xE9 }, { 1, 0xE5 }, { 1, 0xE6 }, { 1, 0xE7 } },
{ { 1, 0x1D }, { 1, 0x1E }, { 1, 0x1F }, { 1, 0x20 }, { 1, 0x21 }, { 1, 0x37 }, { 1, 0x38 }, { 1, 0x39 }, { 1, 0x3A }, { 1, 0x3B }, { 0, 0x00 }, { 0, 0x00 }, { 0, 0x00 }, { 0, 0x00 }, { 0, 0x00 } },
{ { 1, 0x22 }, { 1, 0x23 }, { 1, 0x24 }, { 1, 0x25 }, { 1, 0x26 }, { 1, 0x3C }, { 1, 0x3D }, { 1, 0x3E }, { 1, 0x3F }, { 1, 0x40 }, { 1, 0x00 }, { -1, 0x00 }, { -2, 0x00 }, { -3, 0x00 }, { -4, 0x00 } },
{ { 1, 0x27 }, { 0, 0x00 }, { 0, 0x00 }, { 0, 0x00 }, { 0, 0x00 }, { 1, 0x41 }, { 0, 0x00 }, { 0, 0x00 }, { 0, 0x00 }, { 0, 0x00 }, { 1, 0x00 }, { -1, 0x00 }, { -2, 0x00 }, { -3, 0x00 }, { -4, 0x00 } },
{ { 0, 0x00 }, { 0, 0x00 }, { 0, 0x00 }, { 0, 0x00 }, { 0, 0x00 }, { 0, 0x00 }, { 0, 0x00 }, { 0, 0x00 }, { 0, 0x00 }, { 0, 0x00 }, { 1, 0x00 }, { 1, 0x00 }, { -1, 0x00 }, { 1, 0x00 }, { -1, 0x00 } },
} },
}

Definition at line 751 of file stplnmet.c.

◆ STPLNMET_keyPages

KeyTabs STPLNMET_keyPages[]
Initial value:
= {
{ { 8, 9, 10 } },
}

The keyboard's pages and characters.

Definition at line 781 of file stplnmet.c.

◆ STPLNMET_keyChars

KeyPage STPLNMET_keyChars[]
Initial value:
= {
{ {
{ { 1, 0x0E }, { 1, 0x0F }, { 1, 0x10 }, { 1, 0x11 }, { 1, 0x12 }, { 1, 0x28 }, { 1, 0x29 }, { 1, 0x2A }, { 1, 0x2B }, { 1, 0x2C }, { 1, 0x04 }, { 1, 0x05 }, { 1, 0x06 }, { 1, 0x07 }, { 1, 0x08 } },
{ { 1, 0x13 }, { 1, 0x14 }, { 1, 0x15 }, { 1, 0x16 }, { 1, 0x17 }, { 1, 0x2D }, { 1, 0x2E }, { 1, 0x2F }, { 1, 0x30 }, { 1, 0x31 }, { 1, 0x09 }, { 1, 0x0A }, { 1, 0x0B }, { 1, 0x0C }, { 1, 0x0D } },
{ { 1, 0x18 }, { 1, 0x19 }, { 1, 0x1A }, { 1, 0x1B }, { 1, 0x1C }, { 1, 0x32 }, { 1, 0x33 }, { 1, 0x34 }, { 1, 0x35 }, { 1, 0x36 }, { 1, 0xE8 }, { 1, 0xE9 }, { 1, 0xE5 }, { 1, 0xE6 }, { 1, 0xE7 } },
{ { 1, 0x1D }, { 1, 0x1E }, { 1, 0x1F }, { 1, 0x20 }, { 1, 0x21 }, { 1, 0x37 }, { 1, 0x38 }, { 1, 0x39 }, { 1, 0x3A }, { 1, 0x3B }, { 0, 0x00 }, { 0, 0x00 }, { 0, 0x00 }, { 0, 0x00 }, { 0, 0x00 } },
{ { 1, 0x22 }, { 1, 0x23 }, { 1, 0x24 }, { 1, 0x25 }, { 1, 0x26 }, { 1, 0x3C }, { 1, 0x3D }, { 1, 0x3E }, { 1, 0x3F }, { 1, 0x40 }, { 1, 0x00 }, { -1, 0x00 }, { -2, 0x00 }, { -3, 0x00 }, { -4, 0x00 } },
{ { 1, 0x27 }, { 0, 0x00 }, { 0, 0x00 }, { 0, 0x00 }, { 0, 0x00 }, { 1, 0x41 }, { 0, 0x00 }, { 0, 0x00 }, { 0, 0x00 }, { 0, 0x00 }, { 1, 0x00 }, { -1, 0x00 }, { -2, 0x00 }, { -3, 0x00 }, { -4, 0x00 } },
{ { 0, 0x00 }, { 0, 0x00 }, { 0, 0x00 }, { 0, 0x00 }, { 0, 0x00 }, { 0, 0x00 }, { 0, 0x00 }, { 0, 0x00 }, { 0, 0x00 }, { 0, 0x00 }, { 1, 0x00 }, { 1, 0x00 }, { -1, 0x00 }, { 1, 0x00 }, { -1, 0x00 } },
} },
}

Definition at line 784 of file stplnmet.c.

◆ STPLNMET_nameStyle

TextStyle STPLNMET_nameStyle
Initial value:
= {
}
Glyph STPLNMET_nameGlyphs[230]
The name font (STPLNMET_nameStyle): its glyphs and icons.
Definition stplnmet.c:276
Glyph STPLNMET_nameIcons[114]
Definition stplnmet.c:627
GlyphMap FONT_ICON_MAP[]
Definition text_tools.c:244
GlyphMap FONT_GLYPH_MAP[]
The font's Shift-JIS codes of its glyphs and icons, up to 0xFFFF.
Definition text_tools.c:202

The font of the name and the keyboard.

Definition at line 796 of file stplnmet.c.

◆ STPLNMET_nameAnims

s32 STPLNMET_nameAnims[][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 partner's animation beside the name: 7 frames per partner, -1 ends one.

Definition at line 801 of file stplnmet.c.

◆ STPLNMET_bigKeys

BigKey STPLNMET_bigKeys[]
Initial value:
= {
{ 44, 203, 195 }, { 45, 222, 195 }, { 60, 203, 153 }, { 68, 203, 174 }, { 76, 246, 195 },
}

The keys bigger than a cell, where the keyboard cursor highlights them.

Definition at line 808 of file stplnmet.c.

◆ STPLNMET_keyArrowCluts

s32 STPLNMET_keyArrowCluts[]
Initial value:
= {
0, 1, 2, 3,
2, 1,
}

The CLUT rows the page arrows cycle through.

Definition at line 812 of file stplnmet.c.

◆ STPLNMET_choiceArrowCluts

s32 STPLNMET_choiceArrowCluts[]
Initial value:
= {
0, 1, 2, 3,
2, 1,
}

The CLUT rows the partner choice's cursor cycles through.

Definition at line 817 of file stplnmet.c.

Referenced by STPLNMET_drawChoice().

◆ STPLNMET_tabX

s32 STPLNMET_tabX[]
Initial value:
= {
0xE4, 0x100, 0x11C,
}

The x of the keyboard's three tabs.

Definition at line 822 of file stplnmet.c.

Referenced by STPLNMET_createTabs().

◆ STPLNMET_partnerAnims

PartnerAnim STPLNMET_partnerAnims[]
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 } },
}

Definition at line 825 of file stplnmet.c.

◆ STPLNMET_partnerChoices

s32 STPLNMET_partnerChoices[3][3]
Initial value:
= {
}
@ PARTNER_PATAMON
Definition game_state.h:471
@ PARTNER_KOTEMON
Definition game_state.h:464
@ PARTNER_GUILMON
Definition game_state.h:469
@ PARTNER_RENAMON
Definition game_state.h:470
@ PARTNER_AGUMON
Definition game_state.h:467
@ PARTNER_MONMON
Definition game_state.h:466
@ PARTNER_KUMAMON
Definition game_state.h:465

The partners of each starter pack, as STARTER_PARTIES.

Definition at line 836 of file stplnmet.c.

◆ STPLNMET_funcs

PlayerNameFuncs STPLNMET_funcs
Initial value:
= {
}
s32 STPLNMET_filesLoading(void)
Whether the screen's texts or the keyboard are still loading.
Definition screen.c:193
void STPLNMET_loadFiles(void)
Loads the screen's sprites into VRAM and requests its texts and the keyboard.
Definition screen.c:180
void STPLNMET_startLerp(MenuLerp *lerp, s32 from, s32 to, s32 frames)
s32 STPLNMET_updateFade(PanelAnim *fade)
s32 STPLNMET_updateLerp(MenuLerp *lerp)
void STPLNMET_startFade(PanelAnim *fade, s32 fadeIn)
s32 STPLNMET_partnerChoices[3][3]
The partners of each starter pack, as STARTER_PARTIES.
Definition stplnmet.c:836
PartnerAnim STPLNMET_partnerAnims[]
Definition stplnmet.c:825

STPLNMET's data (data/stplnmet.c), in its order.

Definition at line 841 of file stplnmet.c.

Referenced by STPLNMET_drawChoice(), STPLNMET_drawConfirm(), STPLNMET_runConfirm(), STPLNMET_showChoiceWindows(), STPLNMET_stepScreen(), and STPLNMET_updateScreen().

◆ STPLNMET_keyboard

NameKeyboard STPLNMET_keyboard = { 0 }

Definition at line 845 of file stplnmet.c.