Attempt to decompile aibotGiveAmmo

This commit is contained in:
Ryan Dwyer
2020-03-12 18:28:30 +10:00
parent 51e037ca80
commit 845c8cd59d
8 changed files with 49 additions and 26 deletions
+1 -1
View File
@@ -154,7 +154,7 @@ void func0f0a95ec(u32 arg0, u32 arg1);
void currentPlayerGiveAmmo(s32 ammotype, s32 quantity);
s32 ammoGetQuantity(u32 type);
s32 currentPlayerGetAmmoCount(s8 arg0);
u32 func0f0a98f4(void);
s32 ammotypeGetMaxCapacity(u32 ammotype);
bool ammotypeAllowsUnlimitedAmmo(u32 ammotype);
u32 func0f0a9980(void);
s32 weaponGetAmmoType(s32 weaponnum, u32 func);
+1 -1
View File
@@ -10,7 +10,7 @@ u32 func0f199be4(void);
u32 func0f199cb8(void);
u32 func0f199d70(void);
void func0f199e3c(struct aibot *aibot, u32 weaponnum, bool proxy, u32 qty);
void aibotGiveAmmo(struct aibot *aibot, u32 ammotype, u32 qty);
void aibotGiveAmmo(struct aibot *aibot, u32 ammotype, s32 quantity);
u32 func0f199f84(void);
bool func0f19a29c(u32 value, bool fallback);
u32 func0f19a2dc(u32 value);
+3 -3
View File
@@ -137,8 +137,8 @@ struct animdata {
/*0x20*/ struct anim *anim;
};
struct aibot_01c {
u32 unk00[33];
struct aibotammotype {
s32 quantities[33];
};
struct aibot {
@@ -150,7 +150,7 @@ struct aibot {
/*0x010*/ struct prop *prop;
/*0x014*/ u32 unk014;
/*0x018*/ u32 unk018;
/*0x01c*/ struct aibot_01c *unk01c;
/*0x01c*/ struct aibotammotype *ammotypes;
/*0x020*/ u32 unk020;
/*0x024*/ u32 unk024;
/*0x028*/ u32 unk028;