Decompile currentPlayerGetWeaponInvItem

This commit is contained in:
Ryan Dwyer
2020-02-06 17:20:14 +10:00
parent dc5d14ea21
commit 2148f2495c
4 changed files with 26 additions and 36 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ void func0f11179c(struct invitem *item);
u32 func0f1118cc(void);
struct invitem *currentPlayerGetUnusedInvItem(void);
void currentPlayerSetAllGuns(bool enable);
void *func0f1119d0(s32 weaponnum);
struct invitem *currentPlayerGetWeaponInvItem(s32 weaponnum);
bool currentPlayerHasWeapon(s32 weaponnum);
void *func0f111a4c(s32 weapon1, s32 weapon2);
bool func0f111ab0(s32 weapon1, s32 weapon2);
+2 -2
View File
@@ -2506,7 +2506,7 @@ struct player {
/*0x1858*/ u32 unk1858;
/*0x185c*/ u32 flags;
/*0x1860*/ u32 unk1860;
/*0x1864*/ u32 unk1864;
/*0x1864*/ struct invitem *weapons; // circular linked list
/*0x1868*/ struct invitem *equipment;
/*0x186c*/ s32 equipmaxitems;
/*0x1870*/ u32 equipallguns;
@@ -5085,7 +5085,7 @@ struct invitem {
struct invitem_type3 type3;
};
/*0x0c*/ u32 unk0c;
/*0x0c*/ struct invitem *next;
/*0x10*/ u32 unk10;
};