diff options
Diffstat (limited to 'include/render_text.h')
-rw-r--r-- | include/render_text.h | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/include/render_text.h b/include/render_text.h new file mode 100644 index 00000000..503628c6 --- /dev/null +++ b/include/render_text.h @@ -0,0 +1,43 @@ +#include "global.h" +#include "text.h" + +typedef struct +{ + u8 canABSpeedUpPrint : 1; + u8 useAlternateDownArrow : 1; + u8 autoScroll : 1; + u8 forceMidTextSpeed : 1; + u8 unk0_4 : 1; + u8 unk0_5 : 1; + u8 unk0_6 : 1; + u8 unk0_7 : 1; + u8 unk1; +} TextFlags; + +struct TextPrinterSubStruct +{ + u8 glyphId : 4; // 0x14 + u8 hasPrintBeenSpedUp : 1; + u8 unk : 3; + u8 downArrowDelay : 5; + u8 downArrowYPosIdx : 2; + u8 hasGlyphIdBeenSet : 1; + u8 autoScrollDelay : 8; +}; + +u32 RenderText(struct TextPrinter *printer); +void FUN_02002840(u16 flag); +void FUN_0200284C(struct TextPrinter *printer); +void FUN_02002878(struct TextPrinter *printer); +void FUN_02002A00(struct TextPrinter *printer); +u32 FUN_02002A94(struct TextPrinter *printer); +u32 FUN_02002ADC(struct TextPrinter *printer); +u32 FUN_02002B18(struct TextPrinter *printer); +u8 FUN_02002B3C(struct TextPrinter *printer); +void FUN_02002B60(u32 param0); +void FUN_02002B7C(s32 param0); +void FUN_02002BB8(u32 param0); +u8 FUN_02002BD4(); +void FUN_02002BE4(); +u8 FUN_02002BF4(); +void FUN_02002C04(); |