Decompile menuhandlerSoloDifficulty

This commit is contained in:
Ryan Dwyer
2020-01-01 14:16:39 +10:00
parent 376edf64fd
commit 915902247c
12 changed files with 187 additions and 158 deletions
+1
View File
@@ -466,6 +466,7 @@
#define MENUOP_GET 8
#define MENUOP_GETSLIDER 9
#define MENUOP_CHECKDISABLED 12
#define MENUOP_15 15
#define MENUOP_CHECKHIDDEN 24
// Object flags - bank 0 (object struct offset 0x08)
+1 -1
View File
@@ -33,7 +33,7 @@ u32 func0f0f29cc(void);
u32 func0f0f2b2c(void);
u32 func0f0f2c44(void);
u32 func0f0f2cf4(void);
void func0f0f2f4c(struct menu_dialog *dialog);
void menuPushDialog(struct menu_dialog *dialog);
u32 func0f0f3220(void);
u32 func0f0f33bc(void);
u32 func0f0f361c(void);
+2 -2
View File
@@ -8,7 +8,7 @@ u32 func0f10229c(void);
u32 func0f102330(void);
u32 func0f103550(void);
f32 func0f1036ac(s32 arg0, s32 arg1);
u32 func0f1038ec(void);
bool isStageDifficultyUnlocked(s32 stagenum, s32 difficulty);
u32 func0f103e68(void);
u32 func0f10408c(void);
u32 func0f104664(void);
@@ -80,7 +80,7 @@ s32 menuhandlerShowGunFunction(u32 operation, struct menu_item *item, bool *enab
s32 menuhandlerShowMissionTime(u32 operation, struct menu_item *item, bool *enable);
s32 menuhandlerShowZoomRange(u32 operation, struct menu_item *item, bool *enable);
s32 menuhandlerSightOnScreen(u32 operation, struct menu_item *item, bool *enable);
s32 menuhandlerSoloDifficulty(u32 operation, struct menu_item *item, bool *enable);
s32 menuhandlerSoloDifficulty(u32 operation, struct menu_item *item, s32 *value);
s32 menuhandlerSoundMode(u32 operation, struct menu_item *item, bool *enable);
#endif
+2 -3
View File
@@ -3984,9 +3984,8 @@ struct missionconfig {
u8 difficulty : 7;
u8 bits0_07 : 1;
u8 stagenum : 8;
u8 bits2_00 : 8;
/*0x01*/ u8 stagenum;
/*0x02*/ u8 unk02;
u8 iscoop : 1;
u8 isanti : 1;