Decompile activemenusInit

This commit is contained in:
Ryan Dwyer
2020-12-30 15:05:17 +10:00
parent 27a63af1c5
commit 03c761f5a3
7 changed files with 205 additions and 278 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ void activemenuSetAiBuddyStealth(void);
s32 activemenuGetFirstBuddyIndex(void);
void activemenuApply(s32 slot);
void activemenuGetSlotDetails(s32 slot, u32 *flags, char *dst);
void func0f0fe848(void);
void activemenusInit(void);
s16 activemenuCalculateSlotWidth(void);
void activemenuChangeScreen(s32 step);
u32 func0f0fecd4(void);
+4 -4
View File
@@ -650,10 +650,10 @@ extern u32 var800a203c;
extern u32 var800a2040;
extern u32 var800a2044;
extern u32 var800a2048;
extern struct activemenuthing g_ActiveMenuThings[4];
extern u32 var800a21b0;
extern u32 var800a21b4;
extern u32 g_ActiveMenuIndex;
extern struct activemenu g_ActiveMenus[4];
extern u32 g_ActiveMenuFont1;
extern u32 g_ActiveMenuFont2;
extern s32 g_ActiveMenuIndex;
extern u8 g_InventoryWeapon;
extern u32 g_CheatsActiveBank0;
extern u32 g_CheatsActiveBank1;
+2 -3
View File
@@ -4726,7 +4726,7 @@ struct trainingdata {
u32 unk0c;
};
struct activemenuthing {
struct activemenu {
/*0x00*/ s8 screenindex;
/*0x02*/ u16 unk02;
/*0x04*/ s16 slotwidth;
@@ -4740,8 +4740,7 @@ struct activemenuthing {
/*0x18*/ f32 unk18; // seems like a fade duration or current alpha level
/*0x1c*/ f32 unk1c;
/*0x20*/ u8 weaponnums[8];
/*0x28*/ u32 unk28;
/*0x2c*/ u32 unk2c;
/*0x28*/ u8 unk28[8];
/*0x30*/ u8 unk30;
/*0x31*/ u8 unk31;
/*0x32*/ u8 allbots; // when player holds R on the bot command screen