Decompile textRenderChar

This commit is contained in:
Ryan Dwyer
2022-07-03 21:18:29 +10:00
parent 0fb8adf3e1
commit fd69768c5a
3 changed files with 43 additions and 335 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ void func0f156024(s32 arg0);
void func0f156030(u32 colour);
Gfx *textRenderProjected(Gfx *gdl, s32 *x, s32 *y, char *text, struct fontchar *font1, struct font *font2, s32 colour, s16 width, s16 height, s32 arg9, u32 arg10);
Gfx *func0f1566cc(Gfx *gdl, u32 arg1, u32 arg2);
u32 func0f156a24(void);
Gfx *func0f156a24(Gfx *gdl, s32 x, s32 y, struct fontchar *char1, s32 arg4, s32 arg5, s32 arg6, s32 arg7);
Gfx *textRender(Gfx *gdl, s32 *x, s32 *y, char *text, struct fontchar *font1, struct font *font2, u32 arg6, u32 colour, s32 arg8, s32 arg9, u32 arg10, s32 arg11);
void textMeasure(s32 *textheight, s32 *textwidth, char *text, struct fontchar *font1, struct font *font2, s32 lineheight);
void textWrap(s32 width, char *in, char *out, struct fontchar *font1, struct font *font2);
+3 -2
View File
@@ -5833,9 +5833,10 @@ struct fontchar {
s8 baseline;
u8 height;
u8 width;
u8 unk04;
#if VERSION == VERSION_JPN_FINAL
s16 unk06;
s16 unk04;
#else
u32 unk04;
#endif
u8 *pixeldata;
};