mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-06-20 15:31:10 -04:00
Decompile currentPlayerGiveUnlimitedAmmo
This commit is contained in:
@@ -34,7 +34,7 @@ extern u32 var800702ec;
|
||||
extern u32 var80070314;
|
||||
extern u32 var80070318;
|
||||
extern u32 var80070360;
|
||||
extern u32 var80070368;
|
||||
extern struct ammotype g_AmmoTypes[33];
|
||||
extern u32 var80070500;
|
||||
extern u32 var8007050c;
|
||||
extern u32 var80070518;
|
||||
|
||||
@@ -156,7 +156,7 @@ s32 ammoGetQuantity(u32 type);
|
||||
s32 currentPlayerGetAmmoCount(s8 arg0);
|
||||
s32 ammotypeGetMaxCapacity(u32 ammotype);
|
||||
bool ammotypeAllowsUnlimitedAmmo(u32 ammotype);
|
||||
u32 func0f0a9980(void);
|
||||
void currentPlayerGiveUnlimitedAmmo(bool force);
|
||||
u32 weaponGetAmmoType(u32 weaponnum, u32 func);
|
||||
u32 currentPlayerGetAmmoQuantityForWeapon(u32 weaponnum, u32 func);
|
||||
void currentPlayerGiveAmmoForWeapon(u32 weaponnum, u32 func, u32 quantity);
|
||||
|
||||
@@ -5780,4 +5780,10 @@ struct menudata {
|
||||
/*0x66f*/ u8 unk66f;
|
||||
};
|
||||
|
||||
struct ammotype {
|
||||
u32 capacity;
|
||||
u32 unk04;
|
||||
f32 unk08;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user