Decompile currentPlayerGiveUnlimitedAmmo

This commit is contained in:
Ryan Dwyer
2020-03-29 12:35:14 +10:00
parent 501a5c2bd0
commit 88fbb080f1
6 changed files with 72 additions and 155 deletions
+1 -1
View File
@@ -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;
+1 -1
View File
@@ -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);
+6
View File
@@ -5780,4 +5780,10 @@ struct menudata {
/*0x66f*/ u8 unk66f;
};
struct ammotype {
u32 capacity;
u32 unk04;
f32 unk08;
};
#endif