mirror of
https://github.com/pret/pokediamond.git
synced 2026-03-21 17:54:29 -05:00
49 lines
1.3 KiB
C
49 lines
1.3 KiB
C
#ifndef POKEDIAMOND_RENDER_TEXT_H
|
|
#define POKEDIAMOND_RENDER_TEXT_H
|
|
|
|
#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 sub_02002840(u16 flag);
|
|
void TextPrinterInitDownArrowCounters(struct TextPrinter *printer);
|
|
void TextPrinterDrawDownArrow(struct TextPrinter *printer);
|
|
void TextPrinterClearDownArrow(struct TextPrinter *printer);
|
|
BOOL TextPrinterContinue(struct TextPrinter *printer);
|
|
BOOL TextPrinterWaitAutoMode(struct TextPrinter *printer);
|
|
BOOL TextPrinterWaitWithDownArrow(struct TextPrinter *printer);
|
|
u8 TextPrinterWait(struct TextPrinter *printer);
|
|
void TextFlags_SetCanABSpeedUpPrint(BOOL param0);
|
|
void sub_02002B7C(s32 param0);
|
|
void sub_02002BB8(u32 param0);
|
|
u8 sub_02002BD4();
|
|
void sub_02002BE4();
|
|
u8 sub_02002BF4();
|
|
void sub_02002C04();
|
|
|
|
#endif // POKEDIAMOND_RENDER_TEXT_H
|