Decompile menuhandlerAlwaysShowTarget, optionsGetAlwaysShowTarget and optionsSetAlwaysShowTarget

This commit is contained in:
Ryan Dwyer
2019-12-30 23:39:56 +10:00
parent 8da450a353
commit 6cfbe0e3ea
7 changed files with 50 additions and 102 deletions
+4 -3
View File
@@ -658,9 +658,10 @@
#define OPERATOR_LESS_THAN 0
#define OPERATOR_GREATER_THAN 1
#define OPTION_AMMOONSCREEN 0x0020
#define OPTION_SHOWGUNFUNCTION 0x0040
#define OPTION_SHOWMISSIONTIME 0x8000
#define OPTION_AMMOONSCREEN 0x0020
#define OPTION_SHOWGUNFUNCTION 0x0040
#define OPTION_ALWAYSSHOWTARGET 0x0200
#define OPTION_SHOWMISSIONTIME 0x8000
#define OUTFIT_DEFAULT 0x00
#define OUTFIT_ELVIS 0x01
+1 -1
View File
@@ -48,7 +48,7 @@ s32 menuhandler00106394(u32, u32, u32 *);
s32 menuhandler00106644(u32, u32, u32 *);
s32 menuhandlerAimControl(u32, u32, u32 *);
s32 menuhandlerAlternativeTitle(u32, u32, u32 *);
s32 menuhandlerAlwaysShowTarget(u32, u32, u32 *);
s32 menuhandlerAlwaysShowTarget(u32 operation, struct menu_item *item, bool *enable);
s32 menuhandlerAmmoOnScreen(u32 operation, struct menu_item *item, bool *enable);
s32 menuhandlerAntiPlayer(u32, u32, u32 *);
s32 menuhandlerAntiRadar(u32, u32, u32 *);
+3 -3
View File
@@ -11,10 +11,10 @@ u32 func0f152780(void);
u32 func0f1527a4(void);
u32 func0f1527c8(void);
u32 func0f1527ec(void);
u32 func0f152810(void);
s32 func0f152810(s32 optionsindex);
s32 optionsGetAmmoOnScreen(s32 optionsindex);
s32 optionsGetShowGunFunction(s32 optionsindex);
u32 func0f15287c(void);
s32 optionsGetAlwaysShowTarget(s32 optionsindex);
u32 func0f1528a0(void);
u32 func0f1528c4(void);
s32 optionsGetShowMissionTime(s32 optionsindex);
@@ -28,7 +28,7 @@ u32 func0f152a50(void);
u32 func0f152aa8(void);
void optionsSetAmmoOnScreen(s32 optionsindex, bool enable);
void optionsSetShowGunFunction(s32 optionsindex, bool enable);
u32 func0f152bb0(void);
void optionsSetAlwaysShowTarget(s32 optionsindex, bool enable);
u32 func0f152c08(void);
u32 func0f152c60(void);
void optionsSetShowMissionTime(s32 optionsindex, bool enable);