mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-08-04 08:58:50 -04:00
Decompile mpSelectTuneListHandler
This commit is contained in:
+31
-26
@@ -1249,32 +1249,33 @@
|
||||
#define MENUITEMTYPE_CONTROLLER 0x19
|
||||
#define MENUITEMTYPE_END 0x1a
|
||||
|
||||
#define MENUOP_GETOPTIONCOUNT 1
|
||||
#define MENUOP_GETOPTGROUPCOUNT 2
|
||||
#define MENUOP_GETOPTIONTEXT 3
|
||||
#define MENUOP_GETOPTGROUPTEXT 4
|
||||
#define MENUOP_GETGROUPSTARTINDEX 5
|
||||
#define MENUOP_SET 6
|
||||
#define MENUOP_GETOPTIONVALUE 7
|
||||
#define MENUOP_GET 8
|
||||
#define MENUOP_GETSLIDER 9
|
||||
#define MENUOP_GETSLIDERLABEL 10
|
||||
#define MENUOP_11 11
|
||||
#define MENUOP_CHECKDISABLED 12
|
||||
#define MENUOP_FOCUS 13
|
||||
#define MENUOP_CHECKPREFOCUSED 15
|
||||
#define MENUOP_16 16
|
||||
#define MENUOP_GETTEXT 17
|
||||
#define MENUOP_SETTEXT 18
|
||||
#define MENUOP_RENDER 19
|
||||
#define MENUOP_GETOPTIONHEIGHT 20
|
||||
#define MENUOP_21 21
|
||||
#define MENUOP_GETCOLOUR 22
|
||||
#define MENUOP_CHECKHIDDEN 24
|
||||
#define MENUOP_25 25
|
||||
#define MENUOP_OPEN 100
|
||||
#define MENUOP_CLOSE 101
|
||||
#define MENUOP_TICK 102
|
||||
#define MENUOP_GETOPTIONCOUNT 1
|
||||
#define MENUOP_GETOPTGROUPCOUNT 2
|
||||
#define MENUOP_GETOPTIONTEXT 3
|
||||
#define MENUOP_GETOPTGROUPTEXT 4
|
||||
#define MENUOP_GETGROUPSTARTINDEX 5
|
||||
#define MENUOP_SET 6
|
||||
#define MENUOP_GETOPTIONVALUE 7
|
||||
#define MENUOP_GET 8
|
||||
#define MENUOP_GETSLIDER 9
|
||||
#define MENUOP_GETSLIDERLABEL 10
|
||||
#define MENUOP_11 11
|
||||
#define MENUOP_CHECKDISABLED 12
|
||||
#define MENUOP_FOCUS 13
|
||||
#define MENUOP_GETLISTITEMCHECKBOX 14
|
||||
#define MENUOP_CHECKPREFOCUSED 15
|
||||
#define MENUOP_LISTITEMFOCUS 16
|
||||
#define MENUOP_GETTEXT 17
|
||||
#define MENUOP_SETTEXT 18
|
||||
#define MENUOP_RENDER 19
|
||||
#define MENUOP_GETOPTIONHEIGHT 20
|
||||
#define MENUOP_21 21
|
||||
#define MENUOP_GETCOLOUR 22
|
||||
#define MENUOP_CHECKHIDDEN 24
|
||||
#define MENUOP_25 25
|
||||
#define MENUOP_OPEN 100
|
||||
#define MENUOP_CLOSE 101
|
||||
#define MENUOP_TICK 102
|
||||
|
||||
#define MENUROOT_ENDSCREEN 1
|
||||
#define MENUROOT_MAINMENU 2
|
||||
@@ -1803,6 +1804,10 @@
|
||||
|
||||
#define MODELPART_ELVIS_03 0x03
|
||||
|
||||
#define MODFILE_SOLO 1
|
||||
#define MODFILE_MPSETUP 2
|
||||
#define MODFILE_GLOBAL 4
|
||||
|
||||
#define MOVEMODE_WALK 0
|
||||
#define MOVEMODE_BIKE 3
|
||||
#define MOVEMODE_GRAB 4
|
||||
|
||||
@@ -57,6 +57,7 @@ extern struct menudialog g_MpAddSimulantMenuDialog;
|
||||
extern struct menudialog g_MpChangeSimulantMenuDialog;
|
||||
extern struct menudialog g_MpEditSimulantMenuDialog;
|
||||
extern u32 var80085a74;
|
||||
extern u32 var80085ce8[];
|
||||
extern u8 g_TeamIdsForPairing[4];
|
||||
extern struct menudialog g_MpChangeTeamNameMenuDialog;
|
||||
extern struct menudialog g_MpConfirmChallengeViaListOrDetailsMenuDialog;
|
||||
|
||||
@@ -65,7 +65,7 @@ void mpCalculateLockIfLastWinnerOrLoser(void);
|
||||
bool mpIsTrackUnlocked(s32 tracknum);
|
||||
s32 mpGetTrackSlotIndex(s32 tracknum);
|
||||
s32 mpGetTrackNumAtSlotIndex(s32 slotindex);
|
||||
s32 func0f18c200(void);
|
||||
s32 mpGetNumUnlockedTracks(void);
|
||||
s32 mpGetTrackMusicNum(s32 slotindex);
|
||||
char *mpGetTrackName(s32 slotindex);
|
||||
void mpSetUsingMultipleTunes(bool enable);
|
||||
|
||||
@@ -50,7 +50,7 @@ s32 func0f17d4b0(u32 operation, struct menuitem *item, union handlerdata *data,
|
||||
char *mpMenuTextChrNameForTeamSetup(struct menuitem *item);
|
||||
s32 func0f17dac4(u32 operation, struct menuitem *item, union handlerdata *data);
|
||||
char *mpMenuTextSelectTuneOrTunes(struct menuitem *item);
|
||||
s32 menuhandler0017dc84(u32 operation, struct menuitem *item, union handlerdata *data);
|
||||
s32 mpSelectTuneListHandler(u32 operation, struct menuitem *item, union handlerdata *data);
|
||||
char *mpMenuTextCurrentTrack(struct menuitem *item);
|
||||
s32 menuhandler0017e06c(u32 operation, struct menuitem *item, union handlerdata *data);
|
||||
char *mpMenuTextTeamName(struct menuitem *item);
|
||||
|
||||
@@ -115,7 +115,7 @@ struct g_vars {
|
||||
/*00044c*/ s32 antiradaron;
|
||||
/*000450*/ s32 pendingantiplayernum;
|
||||
/*000454*/ s32 coopfriendlyfire;
|
||||
/*000458*/ u32 unk000458;
|
||||
/*000458*/ u32 modifiedfiles;
|
||||
/*00045c*/ s32 speedpilltime;
|
||||
/*000460*/ s32 speedpillchange;
|
||||
/*000464*/ u32 speedpillwant;
|
||||
|
||||
Reference in New Issue
Block a user