summaryrefslogtreecommitdiff
path: root/include/text.h
diff options
context:
space:
mode:
authorDiegoisawesome <Diegoisawesome@users.noreply.github.com>2018-11-21 16:11:03 -0600
committerGitHub <noreply@github.com>2018-11-21 16:11:03 -0600
commit0b59dbf2b8a38b384ec3cfbee15578d8e06e7ccc (patch)
tree058b846de2b950ea7dae06fb6cec16b9ac964a9c /include/text.h
parent3c77ce5b5b1938665bf7ba3e2624e5df27cd871d (diff)
parentc7ca38ccf3a93c8f2880f1d0370d20aea46bd6be (diff)
Merge pull request #393 from DizzyEggg/text
Match one function in text.c
Diffstat (limited to 'include/text.h')
-rw-r--r--include/text.h18
1 files changed, 7 insertions, 11 deletions
diff --git a/include/text.h b/include/text.h
index 4946f1c5f..853e93e90 100644
--- a/include/text.h
+++ b/include/text.h
@@ -109,7 +109,8 @@
#define TEXT_SPEED_FF 0xFF
-enum {
+enum
+{
FONTATTR_MAX_LETTER_WIDTH,
FONTATTR_MAX_LETTER_HEIGHT,
FONTATTR_LETTER_SPACING,
@@ -205,21 +206,16 @@ typedef struct {
struct Struct_03002F90
{
- u8 unk0[0x20];
- u8 unk20[0x20];
- u8 unk40[0x20];
- u8 unk60[0x20];
+ u32 unk0[8];
+ u32 unk20[8];
+ u32 unk40[8];
+ u32 unk60[8];
u8 unk80;
u8 unk81;
};
extern TextFlags gTextFlags;
-extern u8 gStringVar1[];
-extern u8 gStringVar2[];
-extern u8 gStringVar3[];
-extern u8 gStringVar4[];
-
extern u8 gUnknown_03002F84;
extern struct Struct_03002F90 gUnknown_03002F90;
@@ -233,7 +229,7 @@ u32 RenderFont(struct TextPrinter *textPrinter);
void GenerateFontHalfRowLookupTable(u8 fgColor, u8 bgColor, u8 shadowColor);
void SaveTextColors(u8 *fgColor, u8 *bgColor, u8 *shadowColor);
void RestoreTextColors(u8 *fgColor, u8 *bgColor, u8 *shadowColor);
-void DecompressGlyphTile(const u16 *src, u16 *dest);
+void DecompressGlyphTile(const u16 *src, void *dest_);
u8 GetLastTextColor(u8 colorType);
void CopyGlyphToWindow(struct TextPrinter *x);
void ClearTextSpan(struct TextPrinter *textPrinter, u32 width);