Decompile menuhandlerMpScore

This commit is contained in:
Ryan Dwyer
2020-01-02 19:54:40 +10:00
parent d74a0297a8
commit fc5a51e55b
4 changed files with 30 additions and 58 deletions
+1
View File
@@ -466,6 +466,7 @@
#define MENUOP_GETOPTIONVALUE 7
#define MENUOP_GET 8
#define MENUOP_GETSLIDER 9
#define MENUOP_GETSLIDERLABEL 10
#define MENUOP_CHECKDISABLED 12
#define MENUOP_CHECKPREFOCUSED 15
#define MENUOP_CHECKHIDDEN 24
+1 -1
View File
@@ -246,7 +246,7 @@ s32 menuhandlerMpQuickteamOption(u32 operation, struct menu_item *item, s32 *val
s32 menuhandlerMpRestoreHandicapDefaults(u32, u32, u32 *);
s32 menuhandlerMpRestoreScoreDefaults(u32 operation, struct menu_item *item, s32 *value);
s32 menuhandlerMpSaveSettings(u32 operation, struct menu_item *item, s32 *value);
s32 menuhandlerMpScore(u32, u32, u32 *);
s32 menuhandlerMpScore(u32 operation, struct menu_item *item, struct numandtext *value);
s32 menuhandlerMpSimulantBody(u32, u32, u32 *);
s32 menuhandlerMpSimulantDifficulty(u32, u32, u32 *);
s32 menuhandlerMpSimulantHead(u32, u32, u32 *);
+9
View File
@@ -4006,6 +4006,9 @@ struct mpsetup {
/*0x8009cb90*/ u32 unk08;
/*0x8009cb94*/ u32 options;
/*0x8009cb98*/ u8 scenario;
/*0x8009cb98*/ u8 unk11;
/*0x8009cb98*/ u8 unk12;
/*0x8009cb98*/ u8 scorelimit;
/*0x8009cb9c*/ u32 unk14;
/*0x8009cba0*/ u32 unk18;
/*0x8009cba4*/ u32 unk1c;
@@ -4034,4 +4037,10 @@ struct mpscenario {
void *unk44;
};
// Throwaway struct for passing two values to menu handlers
struct numandtext {
s32 num;
char *text;
};
#endif