Decompile mpDetermineUnlockedFeatures

This commit is contained in:
Ryan Dwyer
2020-11-24 18:43:46 +10:00
parent 070fbf40ad
commit 5c60cfb8e8
10 changed files with 172 additions and 414 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ extern struct challenge g_MpChallenges[NUM_CHALLENGES];
bool ai0176(void);
u32 func0f19ab70(void);
void func0f19afdc(void);
void mpDetermineUnlockedFeatures(void);
void mpPerformSanityChecks(void);
char *mpGetChallengeNameBySlot(s32 slot);
bool mpIsChallengeCompletedByAnyChrWithNumPlayersBySlot(s32 slot, s32 numplayers);
+2 -2
View File
@@ -19,7 +19,7 @@ void func0f188530(void);
s32 mpGetPlayerRankings(struct mpteaminfo *info);
u32 func0f188930(void);
s32 mpGetTeamRankings(struct mpteaminfo *info);
u32 func0f188bcc(void);
s32 func0f188bcc(void);
u32 mpGetNumWeaponOptions(void);
char *mpGetWeaponLabel(s32 weaponnum);
void mpSetWeaponSlot(s32 slot, s32 mpweaponnum);
@@ -33,7 +33,7 @@ char *mpGetWeaponSetName(s32 arg0);
u32 func0f18913c(void);
u32 func0f1892dc(void);
void mpSetWeaponSet(s32 weaponsetnum);
u32 func0f1895e8(void);
void func0f1895e8(void);
s32 mpGetWeaponSet(void);
bool mpIsPaused(void);
void mpSetPaused(u8 pause);
+2 -10
View File
@@ -4523,17 +4523,9 @@ struct challenge {
// One byte for each number of players,
// and 4 bits in each to mark which players completed it
/*0x04*/ u8 completions[4];
/*0x04*/ u8 completions[5];
/*0x08*/ u16 unk08;
/*0x0a*/ u16 unk0a;
/*0x0c*/ u16 unk0c;
/*0x0e*/ u16 unk0e;
/*0x10*/ u16 unk10;
/*0x12*/ u16 unk12;
/*0x14*/ u16 unk14;
/*0x16*/ u16 unk16;
/*0x18*/ u16 unk18;
/*0x09*/ u8 unk09[16];
};
struct scenariodata_cbt {