move fonts from data/graphics/ to graphics/

This commit is contained in:
garakmon 2020-03-12 13:40:00 -04:00
parent c73fdb8954
commit b1dd945cbf
29 changed files with 26 additions and 26 deletions

View File

@ -5,72 +5,72 @@
.align 2 .align 2
gFont8LatinGlyphs:: @ 862BAE4 gFont8LatinGlyphs:: @ 862BAE4
.incbin "data/graphics/fonts/font8.latfont" .incbin "graphics/fonts/font8.latfont"
.align 2 .align 2
gFont8LatinGlyphWidths:: @ 8633AE4 gFont8LatinGlyphWidths:: @ 8633AE4
.include "data/graphics/fonts/font8_latin_widths.inc" .include "graphics/fonts/font8_latin_widths.inc"
.align 2 .align 2
gFont0LatinGlyphs:: @ 8633CE4 gFont0LatinGlyphs:: @ 8633CE4
.incbin "data/graphics/fonts/font0.latfont" .incbin "graphics/fonts/font0.latfont"
.align 2 .align 2
gFont0LatinGlyphWidths:: @ 863BCE4 gFont0LatinGlyphWidths:: @ 863BCE4
.include "data/graphics/fonts/font0_latin_widths.inc" .include "graphics/fonts/font0_latin_widths.inc"
.align 2 .align 2
gFont7LatinGlyphs:: @ 863BEE4 gFont7LatinGlyphs:: @ 863BEE4
.incbin "data/graphics/fonts/font7.latfont" .incbin "graphics/fonts/font7.latfont"
.align 2 .align 2
gFont7LatinGlyphWidths:: @ 8643EE4 gFont7LatinGlyphWidths:: @ 8643EE4
.include "data/graphics/fonts/font7_latin_widths.inc" .include "graphics/fonts/font7_latin_widths.inc"
.align 2 .align 2
gFont2LatinGlyphs:: @ 86440E4 gFont2LatinGlyphs:: @ 86440E4
.incbin "data/graphics/fonts/font2.latfont" .incbin "graphics/fonts/font2.latfont"
.align 2 .align 2
gFont2LatinGlyphWidths:: @ 864C0E4 gFont2LatinGlyphWidths:: @ 864C0E4
.include "data/graphics/fonts/font2_latin_widths.inc" .include "graphics/fonts/font2_latin_widths.inc"
.align 2 .align 2
gFont1LatinGlyphs:: @ 864C2E4 gFont1LatinGlyphs:: @ 864C2E4
.incbin "data/graphics/fonts/font1.latfont" .incbin "graphics/fonts/font1.latfont"
.align 2 .align 2
gFont1LatinGlyphWidths:: @ 86542E4 gFont1LatinGlyphWidths:: @ 86542E4
.include "data/graphics/fonts/font1_latin_widths.inc" .include "graphics/fonts/font1_latin_widths.inc"
.align 2 .align 2
gFont0JapaneseGlyphs:: @ 86544E4 gFont0JapaneseGlyphs:: @ 86544E4
.incbin "data/graphics/fonts/font0.hwjpnfont" .incbin "graphics/fonts/font0.hwjpnfont"
.align 2 .align 2
gFont1JapaneseGlyphs:: @ 86584E4 gFont1JapaneseGlyphs:: @ 86584E4
.incbin "data/graphics/fonts/font1.hwjpnfont" .incbin "graphics/fonts/font1.hwjpnfont"
.align 2 .align 2
gUnusedJapaneseFireRedLeafGreenMaleFontGlyphs:: @ 865C4E4 gUnusedJapaneseFireRedLeafGreenMaleFontGlyphs:: @ 865C4E4
.incbin "data/graphics/fonts/unused_frlg_male.fwjpnfont" .incbin "graphics/fonts/unused_frlg_male.fwjpnfont"
.align 2 .align 2
gUnusedJapaneseFireRedLeafGreenMaleFontGlyphWidths:: @ 86644E4 gUnusedJapaneseFireRedLeafGreenMaleFontGlyphWidths:: @ 86644E4
.include "data/graphics/fonts/unused_japanese_frlg_male_font_widths.inc" .include "graphics/fonts/unused_japanese_frlg_male_font_widths.inc"
.align 2 .align 2
gUnusedJapaneseFireRedLeafGreenFemaleFontGlyphs:: @ 86646E4 gUnusedJapaneseFireRedLeafGreenFemaleFontGlyphs:: @ 86646E4
.incbin "data/graphics/fonts/unused_frlg_female.fwjpnfont" .incbin "graphics/fonts/unused_frlg_female.fwjpnfont"
.align 2 .align 2
gUnusedJapaneseFireRedLeafGreenFemaleFontGlyphWidths:: @ 866C6E4 gUnusedJapaneseFireRedLeafGreenFemaleFontGlyphWidths:: @ 866C6E4
.include "data/graphics/fonts/unused_japanese_frlg_female_font_widths.inc" .include "graphics/fonts/unused_japanese_frlg_female_font_widths.inc"
.align 2 .align 2
gFont2JapaneseGlyphs:: @ 866C8E4 gFont2JapaneseGlyphs:: @ 866C8E4
.incbin "data/graphics/fonts/font2.fwjpnfont" .incbin "graphics/fonts/font2.fwjpnfont"
.align 2 .align 2
gFont2JapaneseGlyphWidths:: @ 86748E4 gFont2JapaneseGlyphWidths:: @ 86748E4
.include "data/graphics/fonts/font2_japanese_widths.inc" .include "graphics/fonts/font2_japanese_widths.inc"

View File

@ -45,10 +45,10 @@ const u8 gFontHalfRowOffsets[] =
0x00, 0x01, 0x02, 0x00, 0x03, 0x04, 0x05, 0x03, 0x06, 0x07, 0x08, 0x06, 0x00, 0x01, 0x02, 0x00 0x00, 0x01, 0x02, 0x00, 0x03, 0x04, 0x05, 0x03, 0x06, 0x07, 0x08, 0x06, 0x00, 0x01, 0x02, 0x00
}; };
const u8 gDownArrowTiles[] = INCBIN_U8("data/graphics/fonts/down_arrow.4bpp"); const u8 gDownArrowTiles[] = INCBIN_U8("graphics/fonts/down_arrow.4bpp");
const u8 gDarkDownArrowTiles[] = INCBIN_U8("data/graphics/fonts/down_arrow_RS.4bpp"); const u8 gDarkDownArrowTiles[] = INCBIN_U8("graphics/fonts/down_arrow_RS.4bpp");
const u8 gUnusedFRLGBlankedDownArrow[] = INCBIN_U8("data/graphics/fonts/unused_frlg_blanked_down_arrow.4bpp"); const u8 gUnusedFRLGBlankedDownArrow[] = INCBIN_U8("graphics/fonts/unused_frlg_blanked_down_arrow.4bpp");
const u8 gUnusedFRLGDownArrow[] = INCBIN_U8("data/graphics/fonts/unused_frlg_down_arrow.4bpp"); const u8 gUnusedFRLGDownArrow[] = INCBIN_U8("graphics/fonts/unused_frlg_down_arrow.4bpp");
const u8 gDownArrowYCoords[] = { 0x0, 0x1, 0x2, 0x1 }; const u8 gDownArrowYCoords[] = { 0x0, 0x1, 0x2, 0x1 };
const u8 gWindowVerticalScrollSpeeds[] = { 0x1, 0x2, 0x4, 0x0 }; const u8 gWindowVerticalScrollSpeeds[] = { 0x1, 0x2, 0x4, 0x0 };
@ -82,7 +82,7 @@ const struct KeypadIcon gKeypadIcons[] =
{ 0x22, 0x8, 0xC } { 0x22, 0x8, 0xC }
}; };
const u8 gKeypadIconTiles[] = INCBIN_U8("data/graphics/fonts/keypad_icons.4bpp"); const u8 gKeypadIconTiles[] = INCBIN_U8("graphics/fonts/keypad_icons.4bpp");
const struct FontInfo gFontInfos[] = const struct FontInfo gFontInfos[] =
{ {
@ -112,7 +112,7 @@ const u8 gMenuCursorDimensions[][2] =
{ 0x0, 0x0 } { 0x0, 0x0 }
}; };
const u16 gFont9JapaneseGlyphs[] = INCBIN_U16("data/graphics/fonts/font9.hwjpnfont"); const u16 gFont9JapaneseGlyphs[] = INCBIN_U16("graphics/fonts/font9.hwjpnfont");
extern const u16 gFont8LatinGlyphs[]; extern const u16 gFont8LatinGlyphs[];
extern const u8 gFont8LatinGlyphWidths[]; extern const u8 gFont8LatinGlyphWidths[];

View File

Before

Width:  |  Height:  |  Size: 156 B

After

Width:  |  Height:  |  Size: 156 B

View File

Before

Width:  |  Height:  |  Size: 156 B

After

Width:  |  Height:  |  Size: 156 B

View File

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

View File

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

View File

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

View File

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB

View File

Before

Width:  |  Height:  |  Size: 4.4 KiB

After

Width:  |  Height:  |  Size: 4.4 KiB

View File

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

View File

Before

Width:  |  Height:  |  Size: 220 B

After

Width:  |  Height:  |  Size: 220 B

View File

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

View File

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

View File

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

Before

Width:  |  Height:  |  Size: 297 B

After

Width:  |  Height:  |  Size: 297 B

View File

Before

Width:  |  Height:  |  Size: 135 B

After

Width:  |  Height:  |  Size: 135 B

View File

Before

Width:  |  Height:  |  Size: 189 B

After

Width:  |  Height:  |  Size: 189 B

View File

Before

Width:  |  Height:  |  Size: 4.4 KiB

After

Width:  |  Height:  |  Size: 4.4 KiB

View File

Before

Width:  |  Height:  |  Size: 4.4 KiB

After

Width:  |  Height:  |  Size: 4.4 KiB

View File

@ -1,6 +1,6 @@
CASTFORMGFXDIR := graphics/pokemon/castform CASTFORMGFXDIR := graphics/pokemon/castform
TILESETGFXDIR := data/tilesets TILESETGFXDIR := data/tilesets
FONTGFXDIR := data/graphics/fonts FONTGFXDIR := graphics/fonts
INTERFACEGFXDIR := graphics/interface INTERFACEGFXDIR := graphics/interface
BTLANMSPRGFXDIR := graphics/battle_anims/sprites BTLANMSPRGFXDIR := graphics/battle_anims/sprites
UNUSEDGFXDIR := graphics/unused UNUSEDGFXDIR := graphics/unused

View File

@ -6,7 +6,7 @@
ALIGNED(4) ALIGNED(4)
static const u8 sUnknown_08616124[] = {1, 2, 4}; static const u8 sUnknown_08616124[] = {1, 2, 4};
static const u16 sFont6BrailleGlyphs[] = INCBIN_U16("data/graphics/fonts/font6.fwjpnfont"); static const u16 sFont6BrailleGlyphs[] = INCBIN_U16("graphics/fonts/font6.fwjpnfont");
static void DecompressGlyphFont6(u16); static void DecompressGlyphFont6(u16);