summaryrefslogtreecommitdiff
path: root/include/text.h
diff options
context:
space:
mode:
authorDizzyEggg <jajkodizzy@wp.pl>2017-10-14 11:36:28 +0200
committerDizzyEggg <jajkodizzy@wp.pl>2017-10-14 11:36:28 +0200
commit455202eca00fd1b51e9ba8b75434d97ae5c750a8 (patch)
tree153b1b85ae6864fec7bf880d9dd90fe6ef9a55c6 /include/text.h
parent14e41d6c508e5c425dff8f2c4933ae4c8b7ab762 (diff)
parent0d38d443b561f9baaae12324712503dfccaf01ea (diff)
Merge branch 'master' into decompile_rom3
Diffstat (limited to 'include/text.h')
-rw-r--r--include/text.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/text.h b/include/text.h
index c09b41ad3..594661717 100644
--- a/include/text.h
+++ b/include/text.h
@@ -170,6 +170,7 @@ typedef struct {
u8 flag_0:1;
u8 flag_1:1;
u8 flag_2:1;
+ u8 flag_3:1;
} TextFlags;
extern TextFlags gTextFlags;
@@ -195,7 +196,7 @@ u8 gGlyphDimensions[0x2];
void SetFontsPointer(const struct FontInfo *fonts);
void DeactivateAllTextPrinters(void);
-u16 PrintTextOnWindow(u8 windowId, u8 fontId, u8 *str, u8 x, u8 y, u8 speed, void (*callback)(struct TextSubPrinter *, u16));
+u16 PrintTextOnWindow(u8 windowId, u8 fontId, const u8 *str, u8 x, u8 y, u8 speed, void (*callback)(struct TextSubPrinter *, u16));
bool16 AddTextPrinter(struct TextSubPrinter *textSubPrinter, u8 speed, void (*callback)(struct TextSubPrinter *, u16));
void RunTextPrinters(void);
bool16 IsTextPrinterActive(u8 id);