diff options
| author | notyourav <65437533+notyourav@users.noreply.github.com> | 2022-03-18 22:15:33 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-18 22:15:33 -0700 |
| commit | 7dafc9fb58905ce5db45c0a090fc92091b528041 (patch) | |
| tree | 213dd581586b2896ecf075357b5972fbc5455147 /include | |
| parent | f4c932dc09bce8b8eb88d7ef48b7c56ec46555de (diff) | |
| parent | 7c9f5d2f232e76e53eb91269d161caa4ffe4cde1 (diff) | |
Merge pull request #452 from octorock/staffroll
Decompile staffroll
Diffstat (limited to 'include')
| -rw-r--r-- | include/fileselect.h | 11 | ||||
| -rw-r--r-- | include/structures.h | 18 |
2 files changed, 21 insertions, 8 deletions
diff --git a/include/fileselect.h b/include/fileselect.h index 31d75ea5..2d4d1122 100644 --- a/include/fileselect.h +++ b/include/fileselect.h @@ -33,12 +33,6 @@ typedef struct { u8* unk8; } struct_02036540; -typedef struct { - u8 filler0[0x10]; - u16 unk10; - u8 filler12[0x6]; -} struct_080FC844; - extern struct_020227E8 gUnk_020227E8[]; typedef struct { @@ -57,7 +51,7 @@ extern struct_02019EE0 gMapDataBottomSpecial; // TODO size: 0x8000 from ClearTilemaps? extern void sub_08056FEC(u32, struct_020227E8*); -extern void sub_0805F46C(u32, void*); +extern void sub_0805F46C(u32, Font*); extern void RecoverUI(u32 bottomPt, u32 topPt); extern void ClearTilemaps(void); extern void sub_0805194C(u32); @@ -67,8 +61,9 @@ extern void sub_0805F300(struct_02036540*); extern void sub_08050A64(u32); extern void sub_08050AFC(u32); extern void sub_08050384(); +extern void CreateDialogBox(u32, u32); -extern const struct_080FC844 gUnk_080FC844; +extern const Font gUnk_080FC844; extern const u16 gUnk_080FC85C[][3]; extern void (*const gUnk_080FC908[])(void); extern const u8 gGlobalGfxAndPalettes[]; diff --git a/include/structures.h b/include/structures.h index 12d15690..cfa85d7f 100644 --- a/include/structures.h +++ b/include/structures.h @@ -296,4 +296,22 @@ typedef struct { extern SpritePtr gSpritePtrs[]; +typedef struct { + u16* dest; + void* gfx_dest; + void* buffer_loc; + u32 _c; + u16 gfx_src; + u8 width; + u8 right_align : 1; + u8 sm_border : 1; + u8 unused : 1; + u8 draw_border : 1; + u8 border_type : 4; + u8 fill_type; + u8 _15; + u8 _16; + u8 stylized; +} Font; + #endif |
