mirror of
https://github.com/pret/pokeplatinum.git
synced 2026-04-26 00:32:20 -05:00
Rename FONT_UNK -> FONT_UNOWN
This commit is contained in:
parent
eed3b86bca
commit
d7adcdba39
|
|
@ -21,7 +21,7 @@ enum Font {
|
|||
FONT_SYSTEM = 0,
|
||||
FONT_MESSAGE,
|
||||
FONT_SUBSCREEN,
|
||||
FONT_UNK,
|
||||
FONT_UNOWN,
|
||||
|
||||
FONT_MAX,
|
||||
};
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ static const struct {
|
|||
.arcFileIdx = 2,
|
||||
.isMonospace = FALSE,
|
||||
},
|
||||
[FONT_UNK] = {
|
||||
[FONT_UNOWN] = {
|
||||
.arcFileIdx = 3,
|
||||
.isMonospace = FALSE,
|
||||
},
|
||||
|
|
@ -70,7 +70,7 @@ static const FontAttributes sFontAttributes[FONT_MAX + 1] = {
|
|||
.bgColor = 15,
|
||||
.shadowColor = 2,
|
||||
},
|
||||
[FONT_UNK] = {
|
||||
[FONT_UNOWN] = {
|
||||
.maxLetterWidth = 11,
|
||||
.maxLetterHeight = 16,
|
||||
.letterSpacing = 0,
|
||||
|
|
|
|||
|
|
@ -93,7 +93,7 @@ static void FontManager_Init(FontManager *fontManager, u32 narcID, u32 arcFileId
|
|||
fontManager->glyphWidths = Heap_AllocFromHeap(heapID, fontManager->header.numGlyphs);
|
||||
fontManager->glyphWidthFunc = GlyphWidthFunc_VariableWidth;
|
||||
|
||||
NARC_ReadFromMember(fontManager->narc, arcFileIdx, fontManager->header.widthTableOffset, fontManager->header.numGlyphs, (void *)(fontManager->glyphWidths));
|
||||
NARC_ReadFromMember(fontManager->narc, arcFileIdx, fontManager->header.widthTableOffset, fontManager->header.numGlyphs, fontManager->glyphWidths);
|
||||
}
|
||||
|
||||
GF_ASSERT(fontManager->header.glyphWidth <= 2 && fontManager->header.glyphHeight <= 2);
|
||||
|
|
|
|||
|
|
@ -79,7 +79,7 @@ void NitroMain(void)
|
|||
Fonts_Init();
|
||||
Font_InitManager(FONT_SYSTEM, HEAP_ID_APPLICATION);
|
||||
Font_InitManager(FONT_MESSAGE, HEAP_ID_APPLICATION);
|
||||
Font_InitManager(FONT_UNK, HEAP_ID_APPLICATION);
|
||||
Font_InitManager(FONT_UNOWN, HEAP_ID_APPLICATION);
|
||||
|
||||
Unk_02101D28.unk_10.unk_00 = -1;
|
||||
Unk_02101D28.unk_10.unk_08 = SaveData_Init();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user