Introduce CREDITFLAG constants

This commit is contained in:
Ryan Dwyer
2021-01-15 23:53:52 +10:00
parent 80e4736018
commit 91f877fc65
3 changed files with 163 additions and 110 deletions
+5
View File
@@ -575,6 +575,11 @@
#define COVERFLAG_0040 0x0040
#define COVERFLAG_0080 0x0080
#define CREDITFLAG_08 0x08
#define CREDITFLAG_NOTRANOUT 0x20 // Do not transition out - for titles which continue to the next
#define CREDITFLAG_NOTRANIN 0x40 // Do not transition in - for titles which continue from the previous
#define CREDITFLAG_MORE 0x80 // Load another credit to display on the current slide
// L/C/R = left/centered/right
// big/med/sml is the font size
#define CREDITSTYLE_R_BIG_R_MED 1
+19 -3
View File
@@ -19,7 +19,7 @@ Gfx *creditsRenderSprites(Gfx *gdl);
u32 func0f1399d0(void);
u32 func0f139d9c(void);
u32 func0f139fe0(void);
struct credit *func0f13a0e4(s32 arg0);
struct credit *creditGetByRow(s32 row);
u32 func0f13a164(void);
Gfx *func0f13a3ec(Gfx *gdl);
u32 func0f13ae04(void);
@@ -4230,8 +4230,24 @@ struct creditsdata {
/*0x4148*/ u32 unk4148;
/*0x414c*/ u32 unk414c;
/*0x4150*/ u32 unk4150;
/*0x4154*/ u32 unk4154[17];
/*0x4198*/ s32 unk4198;
/**
* Credit indexes 1 through 16 are randomised. coreteammap stores the chosen
* order. The index is the apparent credit index and the value is the real
* credit index that it maps to.
*/
/*0x4154*/ u32 coreteammap[17];
/**
* creditnum is the credit index of the first credit being displayed on the
* current slide. It's usually a title.
*
* However, if creditnum is between 1 and 16 then this value gets mapped
* through the coreteammap, so its value won't actually correspond with the
* credit being displayed.
*/
/*0x4198*/ s32 creditnum;
/*0x419c*/ u32 unk419c;
/*0x41a0*/ u32 unk41a0;
/*0x41a4*/ u32 unk41a4;