Decompile ciCharacterProfileMenuDialog

This commit is contained in:
Ryan Dwyer
2020-09-14 18:09:51 +10:00
parent 9c9aa2cac7
commit c1e7216dff
11 changed files with 171 additions and 309 deletions
+13
View File
@@ -1587,6 +1587,19 @@
#define MODELPART_6E 0x6e
#define MODELPART_SKGANGWAY 0xb7
#define MODELPART_DRCAROLL_01 0x01
#define MODELPART_DRCAROLL_02 0x02
#define MODELPART_DRCAROLL_03 0x03
#define MODELPART_DRCAROLL_04 0x04
#define MODELPART_DRCAROLL_05 0x05
#define MODELPART_DRCAROLL_07 0x07
#define MODELPART_DRCAROLL_08 0x08
#define MODELPART_DRCAROLL_09 0x09
#define MODELPART_DRCAROLL_0A 0x0a
#define MODELPART_DRCAROLL_0B 0x0b
#define MODELPART_ELVIS_03 0x03
#define MOVEMODE_WALK 0
#define MOVEMODE_BIKE 3
#define MOVEMODE_GRAB 4
+1 -1
View File
@@ -39,7 +39,7 @@ void menuCloseDialog(void);
void menuUpdateCurFrame(void);
void menuPopDialog(void);
void func0f0f3704(struct menudialog *dialog);
void func0f0f372c(u8 *arg0, f32 arg1, f32 arg2, f32 arg3, f32 arg4, f32 arg5, f32 arg6, f32 arg7, s32 arg8);
void func0f0f372c(u8 *arg0, f32 x, f32 y, f32 arg3, f32 arg4, f32 arg5, f32 arg6, f32 arg7, s32 arg8);
void func0f0f37a4(u8 *arg0);
u32 func0f0f38b0(void);
u32 func0f0f5004(void);
+1 -1
View File
@@ -39,7 +39,7 @@ void *func0f1a7794(u16 fileid, u8 *arg1, s32 arg2, s32 arg3);
void *fileLoad(u16 fileid);
s32 frTrainingInfoMenuDialog(u32 operation, struct menudialog *dialog, union handlerdata *data);
s32 frTrainingStatsMenuDialog(u32 operation, struct menudialog *dialog, union handlerdata *data);
s32 menudialog001a5f48(u32 operation, struct menudialog *dialog, union handlerdata *data);
s32 ciCharacterProfileMenuDialog(u32 operation, struct menudialog *dialog, union handlerdata *data);
s32 dtTrainingDetailsMenuDialog(u32 operation, struct menudialog *dialog, union handlerdata *data);
s32 menudialogDeviceTrainingResults(u32 operation, struct menudialog *dialog, union handlerdata *data);
s32 menudialog001a6aa4(u32 operation, struct menudialog *dialog, union handlerdata *data);
+2 -2
View File
@@ -52,10 +52,10 @@ s32 mpGetHeadUnlockValue(u8 headnum);
s32 mpGetBeauHeadId(u8 headnum);
u32 mpGetNumBodies(void);
s32 mpGetBodyId(u8 bodynum);
s32 mpGetBodyIndexByBodyId(u16 bodynum);
s32 mpGetMpbodynumByBodynum(u16 bodynum);
char *mpGetBodyName(u8 bodynum);
u8 mpGetBodyUnk06(u8 bodynum);
s32 mpBodyGetMpHeadIndex(s32 bodynum);
s32 mpGetMpheadnumByMpbodynum(s32 bodynum);
u32 mpChooseRandomLockPlayer(void);
bool mpSetLock(s32 locktype, s32 playernum);
s32 mpGetLockType(void);
+2 -2
View File
@@ -5,7 +5,7 @@
extern u8 g_FrIsValidWeapon;
extern s32 g_FrWeaponNum;
extern u8 var800888a0;
extern u8 g_ChrBioSlot;
extern u8 var80088bb4;
extern u8 g_HangarBioSlot;
extern u8 g_DtSlot;
@@ -68,7 +68,7 @@ bool ciIsChrBioUnlocked(u32 bodynum);
struct chrbio *ciGetChrBioByBodynum(u32 bodynum);
char *ciGetChrBioDescription(void);
s32 ciGetNumUnlockedChrBios(void);
s32 ciGetChrBioIndexBySlot(s32 slot);
s32 ciGetChrBioBodynumBySlot(s32 slot);
struct miscbio *ciGetMiscBio(s32 index);
bool ciIsMiscBioUnlocked(s32 index);
s32 ciGetNumUnlockedMiscBios(void);
+2 -2
View File
@@ -4197,7 +4197,7 @@ struct menu {
/*0xdac*/ u32 unkdac;
/*0xdb0*/ u32 unkdb0;
/*0xdb4*/ u32 unkdb4;
/*0xdb8*/ u32 unkdb8;
/*0xdb8*/ s32 unkdb8;
/*0xdbc*/ u32 unkdbc;
/*0xdc0*/ u32 unkdc0;
/*0xdc4*/ u32 unkdc4;
@@ -4212,7 +4212,7 @@ struct menu {
/*0xde8*/ u32 unkde8;
/*0xdec*/ u32 unkdec;
/*0xdf0*/ u32 unkdf0;
/*0xdf4*/ struct modelpartvisibility *unkdf4;
/*0xdf4*/ struct modelpartvisibility *partvisibility;
/*0xdf8*/ u8 unkdf8;
/*0xdfc*/ struct menudfc unkdfc[4];