summaryrefslogtreecommitdiff
path: root/include/text.h
diff options
context:
space:
mode:
authorred031000 <rubenru09@aol.com>2021-03-12 17:21:48 +0000
committerred031000 <rubenru09@aol.com>2021-03-12 17:21:48 +0000
commit63bcf753d4d57c1585140c7b3eec1aace1e89caf (patch)
tree8ea023c7915ca395fb5b22b082b058404506c3be /include/text.h
parentfd3ac04d131ba3237c90695b2a59f11959af75ce (diff)
GenerateFontHalfRowLookupTable nonmatching
Diffstat (limited to 'include/text.h')
-rw-r--r--include/text.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/text.h b/include/text.h
index 06b7f52a..48c3cbf4 100644
--- a/include/text.h
+++ b/include/text.h
@@ -56,7 +56,7 @@ struct FontInfo
};
void SetFontsPointer(const struct FontInfo *fonts);
-u8 FUN_0201BCC8(void *func, struct TextPrinter *printer, u32 param2);
+u8 FUN_0201BCC8(void (*func)(u32, struct TextPrinter *), struct TextPrinter *printer, u32 param2);
void FUN_0201BCFC(u32 param0);
BOOL FUN_0201BD44(u32 param0);
void FUN_0201BD5C(void);
@@ -67,5 +67,7 @@ u16 AddTextPrinterParameterized2(u32 windowId, u8 fontId, const u16 *str, u32 x,
u16 AddTextPrinterParameterized3(u32 windowId, u8 fontId, const u16 *str, u32 x, u32 y, u32 speed, u32 colors, u32 letterSpacing, u32 lineSpacing, u8 (*callback)(struct TextPrinterTemplate *, u16));
u16 AddTextPrinter(struct TextPrinterTemplate *printerTemplate, u32 speed, u8 (*callback)(struct TextPrinterTemplate *, u16));
void RunTextPrinter(u32 param0, struct TextPrinter *printer);
+u32 RenderFont(struct TextPrinter *printer);
+void GenerateFontHalfRowLookupTable(u8 fgColor, u8 bgColor, u8 shadowColor);
#endif //POKEDIAMOND_TEXT_H