mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-06-09 12:35:46 -04:00
Decompile handGetWeaponFunction
This commit is contained in:
@@ -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
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user