Decompile menuhandlerMpLock

This commit is contained in:
Ryan Dwyer
2020-01-11 21:04:59 +10:00
parent 62843fc8b9
commit ae9798d482
10 changed files with 64 additions and 132 deletions
+7
View File
@@ -483,6 +483,13 @@
#define MENUOP_SETTEXT 18
#define MENUOP_CHECKHIDDEN 24
#define MPLOCK_NONE 0
#define MPLOCK_LASTWINNER 1
#define MPLOCK_LASTLOSER 2
#define MPLOCK_RANDOM 3
#define MPLOCK_PLAYER 4
#define MPLOCK_CHALLENGE 5
#define MPOPTION_TEAMSENABLED 0x00000002
#define MPOPTION_NORADAR 0x00000004
#define MPOPTION_NOAUTOAIM 0x00000008
+2 -2
View File
@@ -30,7 +30,7 @@ u32 func0f17853c(void);
u32 func0f178bb0(void);
u32 func0f178dbc(void);
u32 func0f178ef0(void);
u32 func0f17909c(void);
char *mpGetCurrentPlayerName(struct menu_item *item);
u32 func0f1790fc(void);
u32 func0f179104(void);
u32 func0f17960c(void);
@@ -235,7 +235,7 @@ s32 menuhandlerMpFourTeams(u32 operation, struct menu_item *item, s32 *value);
s32 menuhandlerMpHandicapPlayer(u32, u32, u32 *);
s32 menuhandlerMpHumanSimulantPairs(u32 operation, struct menu_item *item, s32 *value);
s32 menuhandlerMpHumansVsSimulants(u32 operation, struct menu_item *item, s32 *value);
s32 menuhandlerMpLock(u32, u32, u32 *);
char *menuhandlerMpLock(u32 operation, struct menu_item *item, s32 *value);
s32 menuhandlerMpMaximumTeams(u32 operation, struct menu_item *item, s32 *value);
s32 menuhandlerMpMedal(u32, u32, u32 *);
s32 menuhandlerMpMultipleTunes(u32 operation, struct menu_item *item, s32 *value);
+3 -3
View File
@@ -57,9 +57,9 @@ u32 func0f18bc30(void);
u32 func0f18bc70(void);
s32 func0f18bc9c(s32 arg0);
u32 func0f18bee8(void);
s32 func0f18bf70(s32 arg0, s32 arg1);
u32 func0f18bfc0(void);
u32 func0f18bfcc(void);
s32 mpSetLock(s32 arg0, s32 arg1);
u32 mpGetLock(void);
u32 mpGetLockPlayerNum(void);
u32 func0f18bfd8(void);
u32 func0f18c014(void);
u32 func0f18c0c0(void);
+1 -1
View File
@@ -272,7 +272,7 @@ extern struct menu_dialog g_MpChangeTeamNameMenuDialog;
extern struct menu_dialog menudialog_2bfa8;
extern struct menu_dialog menudialog_mpchallengedetails2;
extern struct menu_dialog menudialog_2c0cc;
extern u16 mplockoptions[];
extern u16 mplockoptions[4];
extern struct menu_dialog menudialog_mpgamesetup3;
extern struct menu_dialog g_MpQuickGoMenuDialog;
extern struct menu_dialog g_MpQuickTeamGameSetupMenuDialog;
+1 -1
View File
@@ -4010,7 +4010,7 @@ struct propstate {
};
struct mpchr {
/*0x00*/ u16 unk00;
/*0x00*/ char name[1]; // len unknown
/*0x04*/ u32 unk04;
/*0x08*/ u32 unk08;
/*0x0c*/ u8 unk0c;