Decompile mpSetWeaponSlot

This commit is contained in:
Ryan Dwyer
2020-08-29 23:54:57 +10:00
parent e9acfd17d9
commit 408b7d719d
8 changed files with 52 additions and 75 deletions
+1 -1
View File
@@ -81,7 +81,7 @@ extern struct mpscenariooverview g_MpScenarioOverviews[];
extern u32 var8008716c;
extern u32 var800871fc;
extern u32 var80087264;
extern struct mpweapon mpweaponstable[];
extern struct mpweapon g_MpWeapons[];
extern struct mpweaponset g_MpWeaponSets[12];
extern u32 var800874c8;
extern u32 var800874cc;
+1 -1
View File
@@ -22,7 +22,7 @@ s32 func0f188a84(struct mpteaminfo *info);
u32 func0f188bcc(void);
u32 mpGetNumWeaponOptions(void);
char *mpGetWeaponLabel(s32 weaponnum);
void mpSetWeaponSlot(s32 slot, s32 weaponnum);
void mpSetWeaponSlot(s32 slot, s32 mpweaponnum);
s32 mpGetWeaponSlot(s32 slot);
u32 func0f188e24(void);
s32 mpCountWeaponSetThing(s32 weaponsetindex);
+2 -3
View File
@@ -4299,8 +4299,7 @@ struct mpsetup {
* Bits 0xf000 are probably not used
*/
/*0x800acb9e*/ u16 chrslots;
/*0x800acba0*/ u32 unk18;
/*0x800acba4*/ u16 unk1c;
/*0x800acba0*/ u8 weapons[6];
/*0x800acba6*/ u8 paused;
/*0x800acba8*/ bool saved;
/*0x800acbac*/ u16 unk24;
@@ -5981,7 +5980,7 @@ struct mpweapon {
u8 unk01;
u8 unk02;
u8 unk03;
u16 unk04;
u16 unlock;
u16 model;
u8 unk08;
u8 unk09;