mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-07-30 15:53:34 -04:00
Decompile currentPlayerTickInventory
This commit is contained in:
@@ -21,7 +21,7 @@ u32 func0f098c4c(void);
|
||||
u32 func0f098ca0(void);
|
||||
u32 func0f098df8(void);
|
||||
u32 func0f098f8c(void);
|
||||
u32 func0f099008(void);
|
||||
u32 func0f099008(u32 hand);
|
||||
u32 func0f0990b0(void);
|
||||
u32 func0f099188(void);
|
||||
u32 func0f0991e4(void);
|
||||
@@ -47,11 +47,11 @@ u32 func0f09c01c(void);
|
||||
u32 func0f09cb44(void);
|
||||
u32 func0f09cb5c(void);
|
||||
u32 func0f09cd18(void);
|
||||
u32 func0f09cdc4(void);
|
||||
u32 func0f09ce8c(void);
|
||||
void func0f09cdc4(u32 hand);
|
||||
void func0f09ce8c(void);
|
||||
u32 func0f09ceac(void);
|
||||
f32 func0f09cf58(u32 arg0);
|
||||
u32 func0f09cf88(void);
|
||||
void func0f09cf88(void);
|
||||
u32 func0f09d140(void);
|
||||
u32 func0f09d550(void);
|
||||
u32 func0f09d8dc(void);
|
||||
@@ -88,7 +88,7 @@ u32 func0f0a12b0(void);
|
||||
u32 func0f0a1318(void);
|
||||
u32 func0f0a134c(void);
|
||||
u32 func0f0a1528(void);
|
||||
u32 currentPlayerEquipWeaponInCutscene(s32 arg0);
|
||||
void currentPlayerEquipWeaponInCutscene(u32 weaponnum);
|
||||
u32 getCurrentPlayerWeaponId(u32 arg0);
|
||||
u32 func0f0a1a10(void);
|
||||
u32 func0f0a1a68(void);
|
||||
@@ -139,11 +139,11 @@ u32 func0f0a7d5c(void);
|
||||
u32 func0f0a7d98(void);
|
||||
u32 func0f0a8404(void);
|
||||
u32 func0f0a84c8(void);
|
||||
u32 func0f0a8910(void);
|
||||
void func0f0a8910(u32 hand, bool firing);
|
||||
u32 currentPlayerConsiderToggleGunFunction(s32 usedowntime, bool firing, s32 arg2);
|
||||
void func0f0a8c50(void);
|
||||
bool currentPlayerIsUsingSecondaryFunction(void);
|
||||
u32 func0f0a8d34(void);
|
||||
void currentPlayerTickInventory(bool triggeron);
|
||||
void playersSetPassiveMode(bool enable);
|
||||
void currentPlayerSetAimType(u32 aimtype);
|
||||
void func0f0a93e0(struct coord *coord);
|
||||
@@ -153,7 +153,7 @@ void func0f0a94d0(u32 operation, struct coord *a, struct coord *b);
|
||||
void func0f0a95ec(u32 arg0, bool enable);
|
||||
void currentPlayerGiveAmmo(s32 ammotype, s32 quantity);
|
||||
s32 ammoGetQuantity(u32 type);
|
||||
s32 currentPlayerGetAmmoCount(s8 arg0);
|
||||
s32 currentPlayerGetAmmoCount(s32 ammotype);
|
||||
u32 ammotypeGetMaxCapacity(u32 ammotype);
|
||||
bool ammotypeAllowsUnlimitedAmmo(u32 ammotype);
|
||||
void currentPlayerGiveUnlimitedAmmo(bool force);
|
||||
|
||||
@@ -75,7 +75,7 @@ u32 func0f068c04(void);
|
||||
u32 func0f068fc8(void);
|
||||
void func0f069144(struct prop *prop, u8 *nextcol, u16 floorcol);
|
||||
u32 func0f069630(void);
|
||||
u32 func0f069710(void);
|
||||
void func0f069710(u8 *gunshadecol, u8 *nextcol);
|
||||
u32 func0f069750(void);
|
||||
u32 func0f069850(void);
|
||||
u32 func0f069b4c(void);
|
||||
|
||||
+13
-11
@@ -1184,7 +1184,10 @@ struct hand {
|
||||
/*0x063a*/ u8 unk063a;
|
||||
/*0x063b*/ u8 weaponfunc; // 0 or 1
|
||||
/*0x063c*/ u8 unk063c;
|
||||
/*0x0640*/ u32 unk0640;
|
||||
/*0x063d*/ u8 unk063d;
|
||||
/*0x063e*/ u8 unk063e;
|
||||
/*0x063f*/ u8 unk063f;
|
||||
/*0x0640*/ s8 unk0640;
|
||||
/*0x0644*/ u32 unk0644;
|
||||
/*0x0648*/ u32 unk0648;
|
||||
/*0x064c*/ u32 unk064c;
|
||||
@@ -1317,8 +1320,7 @@ struct hand {
|
||||
/*0x0850*/ u32 unk0850;
|
||||
/*0x0854*/ u32 unk0854;
|
||||
/*0x0858*/ u32 unk0858[2];
|
||||
/*0x0860*/ u32 unk0860;
|
||||
/*0x0864*/ u32 unk0864;
|
||||
/*0x0860*/ u32 unk0860[2];
|
||||
/*0x0868*/ u32 unk0868;
|
||||
/*0x086c*/ u32 unk086c;
|
||||
/*0x0870*/ u32 unk0870;
|
||||
@@ -1996,7 +1998,7 @@ struct player {
|
||||
/*0x0638*/ struct hand hands[2];
|
||||
/*0x1580*/ s8 unk1580;
|
||||
/*0x1581*/ u8 unk1581;
|
||||
/*0x1582*/ u8 unk1582;
|
||||
/*0x1582*/ s8 unk1582;
|
||||
/*0x1583*/ u8 unk1583_00 : 1;
|
||||
/*0x1583*/ u8 unk1583_01 : 1;
|
||||
/*0x1583*/ u8 invertgunfunc : 1;
|
||||
@@ -2036,13 +2038,13 @@ struct player {
|
||||
/*0x15f4*/ u32 unk15f4;
|
||||
/*0x15f8*/ u32 unk15f8;
|
||||
/*0x15fc*/ u32 unk15fc;
|
||||
/*0x1600*/ u32 unk1600;
|
||||
/*0x1604*/ u32 unk1604;
|
||||
/*0x1608*/ u32 unk1608;
|
||||
/*0x160c*/ u32 unk160c;
|
||||
/*0x1610*/ u32 unk1610;
|
||||
/*0x1614*/ u32 unk1614;
|
||||
/*0x1618*/ u16 resetshadecol;
|
||||
/*0x1600*/ u32 doautoselect;
|
||||
/*0x1604*/ u32 playertriggeron;
|
||||
/*0x1608*/ u32 playertriggerprev;
|
||||
/*0x160c*/ s32 playertrigtime240;
|
||||
/*0x1610*/ u32 curguntofire; // 0 or 1, for dual wielding
|
||||
/*0x1614*/ u8 gunshadecol[4];
|
||||
/*0x1618*/ s16 resetshadecol;
|
||||
/*0x161a*/ u16 floorcol;
|
||||
/*0x161c*/ u16 floorflags;
|
||||
/*0x161e*/ u8 floortype;
|
||||
|
||||
Reference in New Issue
Block a user