Decompile currentPlayerGiveWeaponWithArgument

This commit is contained in:
Ryan Dwyer
2020-02-05 08:22:02 +10:00
parent c21b170552
commit 7a79cebf64
5 changed files with 50 additions and 52 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ bool currentPlayerCanHaveAllGunsWeapon(s32 weaponnum);
bool currentPlayerCanHaveWeapon(s32 weaponnum);
bool func0f111cf8(s32 weapon1, s32 weapon2);
bool currentPlayerGiveWeapon(s32 weaponnum);
void func0f111e28(s32 weapon, s32 weaponarg);
bool currentPlayerGiveWeaponWithArgument(s32 weapon1, s32 weapon2);
void func0f111ea4(u32 arg0);
u32 func0f111fcc(void);
u32 func0f112054(void);
+16 -3
View File
@@ -5067,10 +5067,23 @@ struct memorypool {
/*0x10*/ u32 unk10;
};
struct invitem_type1 {
s16 weapon1;
s16 weapon2;
};
struct invitem_type3 {
s32 weapon1;
s32 weapon2;
};
struct invitem {
/*0x00*/ u32 unk00;
/*0x04*/ s16 weapon04;
/*0x06*/ s16 weapon06;
/*0x00*/ u32 type;
union {
struct invitem_type1 type1;
struct invitem_type3 type3;
};
};
#endif