summaryrefslogtreecommitdiff
path: root/src/staffroll.c
diff options
context:
space:
mode:
authorHenny022p <73211432+Henny022p@users.noreply.github.com>2026-02-08 18:32:38 +0100
committerGitHub <noreply@github.com>2026-02-08 18:32:38 +0100
commit5ab63f00e522ff69c5bc987e379f0163943f2833 (patch)
tree53622222ac729c6ab6dc75ef7f9bafa8031daf18 /src/staffroll.c
parent73901a0a012d55ebb66a4627dcb246d19737fcb5 (diff)
parent5b2cafdc894823d57beee8f3947a391d881d91de (diff)
Merge pull request #701 from Henny022p/cleanup/250302HEADmaster
Various code cleanup changes
Diffstat (limited to 'src/staffroll.c')
-rw-r--r--src/staffroll.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/staffroll.c b/src/staffroll.c
index f0ff11ae..f0354a95 100644
--- a/src/staffroll.c
+++ b/src/staffroll.c
@@ -14,6 +14,8 @@
#include "save.h"
#include "screen.h"
#include "subtask.h"
+#include "sound.h"
+#include "fade.h"
typedef struct {
/*0x00*/ Menu base;
@@ -30,6 +32,23 @@ typedef struct {
} StaffrollMenu;
#define gStaffrollMenu (*(StaffrollMenu*)&gMenu)
+typedef struct {
+ /*0x0*/ u8 menuType;
+ /*0x1*/ u16 font;
+ /*0x3*/ u8 unk_3; // TODO padding?
+ /*0x4*/ u16 transitionTimer;
+ /*0x6*/ u16 gfxEntry;
+ /*0x8*/ u16 bg2XOffset;
+ /*0xa*/ u16 sm_unk_14;
+} PACKED StaffrollEntry;
+
+static_assert(sizeof(StaffrollEntry) == 0xc);
+
+typedef struct {
+ u8 paletteGroup;
+ u8 gfxGroup;
+} PACKED StaffrollGfxEntry;
+
const Font gUnk_08127280 = {
&gBG1Buffer[0x21], BG_TILE_ADDR(0x188), gTextGfxBuffer, 0, 61472, 240, 0, 0, 0, 0, 0, 5, 0, 1, 0
};