Decompile handGetWeaponFunction

This commit is contained in:
Ryan Dwyer
2020-05-05 22:21:04 +10:00
parent cc2b9e9ffd
commit 8d0f6c348c
14 changed files with 73 additions and 82 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ s32 func0f0b09f4(s32 arg0, s32 playernum);
struct weapon *weaponFindById(s32 itemid);
struct weaponfunc *weaponGetFunctionById(s32 weapon_id, s32 which);
u32 func0f0b103c(void);
u32 func0f0b107c(void);
struct weaponfunc *handGetWeaponFunction(struct hand *hand);
struct weaponfunc *weaponGetFunction(u8 *arg0, s32 which);
struct weaponfunc *currentPlayerGetWeaponFunction(u32 hand);
u32 func0f0b11bc(void);
+3 -3
View File
@@ -1161,8 +1161,8 @@ struct player1630 {
s16 unk0a;
};
// Suspected weapon data per hand
struct player638 {
// Weapon data per hand
struct hand {
/*0x0638*/ u8 weaponnum;
/*0x0639*/ u8 unk0639;
/*0x063a*/ u8 unk063a;
@@ -1976,7 +1976,7 @@ struct player {
/*0x0632*/ s16 viewy; // 220 regardless of res
/*0x0634*/ s16 viewleft; // 0
/*0x0636*/ s16 viewtop; // 0
/*0x0638*/ struct player638 unk0638[2];
/*0x0638*/ struct hand hands[2];
/*0x1580*/ s8 unk1580;
/*0x1581*/ u8 unk1581;
/*0x1582*/ u8 unk1582;