Decompile menuPlaySound

This commit is contained in:
Ryan Dwyer
2020-09-25 17:06:04 +10:00
parent 312f92294c
commit 4f972402e6
6 changed files with 91 additions and 156 deletions
+12
View File
@@ -1118,6 +1118,18 @@
#define MENUROOT_4MBMAINMENU 11
#define MENUROOT_TRAINING 13
#define MENUSOUND_SWIPE 0x00 // Navigating to left/right dialog
#define MENUSOUND_OPENDIALOG 0x01
#define MENUSOUND_FOCUS 0x02 // Focusing a different item
#define MENUSOUND_SELECT 0x03
#define MENUSOUND_ERROR 0x04
#define MENUSOUND_EXPLOSION 0x05
#define MENUSOUND_TOGGLEON 0x08 // Checking a checkbox
#define MENUSOUND_TOGGLEOFF 0x09 // Unchecking a checkbox, opening a dropdown, cancelling a dropdown
#define MENUSOUND_SUBFOCUS 0x0a // Changing focus within a list or dropdown
#define MENUSOUND_KEYBOARDFOCUS 0x0c // Changing focus within a keyboard item
#define MENUSOUND_KEYBOARDCANCEL 0x0d // Pressing A on a keyboard's cancel button
#define MISCBIO_MAIANS 0
#define MISCBIO_SKEDAR 1
#define MISCBIO_BACKGROUND 2
+1 -1
View File
@@ -7,7 +7,7 @@ extern const struct menucolourpalette g_MenuColourPalettes[];
extern const struct menucolourpalette g_MenuColourPalettes2[];
extern const struct menucolourpalette g_MenuColourPalettes3[];
void menuPlaySound(s32 arg0);
void menuPlaySound(s32 menusound);
bool menuIsSoloMissionOrMp(void);
bool currentPlayerIsMenuOpenInSoloOrMp(void);
bool func0f0f0c68(void);
+1 -1
View File
@@ -21,7 +21,7 @@ u32 func00033c30(void);
u32 func00033cf0(void);
u32 func00033db0(void);
u32 func00033dd8(void);
void func00033e50(s32 arg0, s32 arg1, f32 arg2);
void func00033e50(s32 arg0, s32 arg1, u32 arg2);
u32 func00033ec4(void);
u32 func00033f08(void);
u32 func00033f24(void);