mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-06-17 23:00:55 -04:00
Decompile aibotTickInventory
This commit is contained in:
@@ -41,7 +41,7 @@ void mpAibotApplyDefend(struct chrdata *chr, struct coord *pos, s16 *room, f32 a
|
||||
void mpAibotApplyHold(struct chrdata *chr, struct coord *pos, s16 *room, f32 arg3);
|
||||
void mpAibotApplyScenarioCommand(struct chrdata *chr, u32 arg1);
|
||||
bool mpIsChrFollowedByChr(struct chrdata *leader, struct chrdata *follower);
|
||||
s32 func0f193530(struct chrdata *chr, f32 arg1);
|
||||
s32 func0f193530(struct chrdata *chr, f32 range);
|
||||
bool func0f194670(struct chrdata *chr);
|
||||
s32 func0f194694(struct chrdata *chr);
|
||||
s32 func0f1946b4(struct chrdata *chr);
|
||||
|
||||
@@ -23,7 +23,7 @@ void func0f198db4(struct chrdata *chr, s32 weaponnum, s32 funcnum, s32 arg3, boo
|
||||
void func0f198df8(struct chrdata *chr, s32 weaponnum, s32 funcnum, s32 arg3, bool arg4, s32 *dst1, s32 *dst2);
|
||||
s32 func0f198e38(s32 weaponnum, s32 funcnum);
|
||||
bool func0f198e78(struct chrdata *chr, s32 weaponnum, s32 funcnum);
|
||||
u32 func0f198eec(void);
|
||||
void aibotTickInventory(struct chrdata *chr);
|
||||
bool aibotSwitchToWeapon(struct chrdata *chr, s32 weaponnum, s32 funcnum);
|
||||
void func0f19978c(struct chrdata *chr, s32 weaponnum, u8 arg2);
|
||||
void func0f199964(struct chrdata *chr, u32 weaponnum);
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
s32 weaponGetAmmoTypeByFunction(s32 weaponnum, u32 funcnum);
|
||||
s32 weaponGetClipCapacityByFunction(s32 weaponnum, u32 funcnum);
|
||||
void aibotReloadWeapon(struct chrdata *chr, s32 handnum, bool withsound);
|
||||
s32 func0f199be4(struct aibot *aibot, s32 weaponnum, s32 funcnum, bool include_equipped);
|
||||
s32 aibotGetAmmoQty(struct aibot *aibot, s32 ammotype, bool include_equipped);
|
||||
s32 aibotGetAmmoQuantityByWeapon(struct aibot *aibot, s32 weaponnum, s32 funcnum, bool include_equipped);
|
||||
s32 aibotGetAmmoQuantityByType(struct aibot *aibot, s32 ammotype, bool include_equipped);
|
||||
s32 aibotTryRemoveAmmoFromReserve(struct aibot *aibot, s32 weaponnum, s32 funcnum, s32 qty);
|
||||
void aibotGiveAmmoByWeapon(struct aibot *aibot, s32 weaponnum, s32 funcnum, s32 qty);
|
||||
void aibotGiveAmmoByType(struct aibot *aibot, u32 ammotype, s32 quantity);
|
||||
|
||||
+8
-8
@@ -456,7 +456,7 @@ struct aibot {
|
||||
/*0x0d4*/ s32 followprotectpropnum;
|
||||
/*0x0d8*/ s32 unk0d8;
|
||||
/*0x0dc*/ u32 unk0dc;
|
||||
/*0x0e0*/ u16 unk0e0[2];
|
||||
/*0x0e0*/ s16 unk0e0[2];
|
||||
/*0x0e4*/ f32 unk0e4[2];
|
||||
/*0x0ec*/ u32 unk0ec;
|
||||
/*0x0f0*/ u32 unk0f0;
|
||||
@@ -476,7 +476,7 @@ struct aibot {
|
||||
/*0x128*/ u32 unk128;
|
||||
/*0x12c*/ u32 unk12c;
|
||||
/*0x130*/ s8 unk130[12];
|
||||
/*0x13c*/ f32 unk13c[12];
|
||||
/*0x13c*/ f32 playerdistances[12];
|
||||
/*0x16c*/ u8 unk16c[12];
|
||||
/*0x178*/ s32 unk178[12];
|
||||
/*0x1a8*/ s16 unk1a8[12];
|
||||
@@ -499,14 +499,14 @@ struct aibot {
|
||||
/*0x200*/ u32 unk200;
|
||||
/*0x204*/ u32 unk204;
|
||||
/*0x208*/ u32 unk208;
|
||||
/*0x20c*/ u32 unk20c;
|
||||
/*0x210*/ u32 unk210;
|
||||
/*0x20c*/ s32 randttl60;
|
||||
/*0x210*/ u32 rand;
|
||||
/*0x214*/ f32 killsbygunfunc[6][2];
|
||||
/*0x244*/ f32 suicidesbygunfunc[6][2];
|
||||
/*0x274*/ s32 unk274[6][2];
|
||||
/*0x2a4*/ u32 unk2a4;
|
||||
/*0x2a8*/ u32 unk2a8[6];
|
||||
/*0x2c0*/ u32 unk2c0;
|
||||
/*0x274*/ s32 equipdurations60[6][2];
|
||||
/*0x2a4*/ s32 unk2a4;
|
||||
/*0x2a8*/ s32 unk2a8[6];
|
||||
/*0x2c0*/ s32 dampensuicidesttl60;
|
||||
|
||||
/**
|
||||
* Some kind of cloak counter? Ticks up while cloaked. Over 1 causes RCP120
|
||||
|
||||
Reference in New Issue
Block a user