Decompile func0f197600

This commit is contained in:
Ryan Dwyer
2021-02-23 17:50:20 +10:00
parent 46d30ff2ec
commit e0b9a3bbd0
5 changed files with 152 additions and 386 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ u32 func0f1921f8(void);
void func0f192628(struct chrdata *chr, struct prop *arg1);
u32 func0f19277c(void);
bool func0f19294c(struct chrdata *chr, struct chrdata *chr2);
u32 func0f192a48(void);
bool func0f192a48(struct chrdata *chr);
u32 func0f192a74(void);
u32 func0f192d64(void);
u32 func0f192dc0(void);
+2 -2
View File
@@ -4,7 +4,7 @@
#include "data.h"
#include "types.h"
u32 func0f197600(void);
void func0f197600(struct chrdata *chr);
void mpAibotApplyCommand(struct chrdata *chr, u32 command);
void aibotClearInventory(struct chrdata *chr);
struct invitem *aibotGetFreeInvSlot(struct chrdata *chr);
@@ -21,7 +21,7 @@ s32 mpGetWeaponIndexByWeaponNum(s32 weaponnum);
u32 func0f198338(void);
u32 func0f198db4(void);
u32 func0f198df8(void);
u32 func0f198e38(void);
s32 func0f198e38(s32 weaponnum, s32 funcnum);
u32 func0f198e78(void);
u32 func0f198eec(void);
bool aibotSwitchToWeapon(struct chrdata *chr, s32 weaponnum, s32 funcnum);
+3 -3
View File
@@ -367,7 +367,7 @@ struct aibot {
/*0x000*/ u8 unk000;
/*0x002*/ s16 aibotnum;
/*0x004*/ struct mpsim *simulant;
/*0x008*/ s16 unk008;
/*0x008*/ s16 attackingplayernum;
/*0x00a*/ s16 followingplayernum;
/*0x00c*/ s16 dangerouspropnum; // index into g_DangerousProps
/*0x010*/ struct prop *prop;
@@ -403,7 +403,7 @@ struct aibot {
/*0x04f*/ u8 unk04f_05 : 1;
/*0x04f*/ u8 unk04f_06 : 1;
/*0x04f*/ u8 unk04f_07 : 1;
/*0x050*/ u32 unk050;
/*0x050*/ struct prop *unk050;
/*0x054*/ u32 unk054;
/*0x058*/ u8 unk058; // related to fireslots
/*0x059*/ u8 unk059;
@@ -452,7 +452,7 @@ struct aibot {
/*0x0c0*/ s32 attackpropnum;
/*0x0c4*/ u32 unk0c4[2];
/*0x0cc*/ u32 unk0cc; // Timer? Related to weapon switching
/*0x0d0*/ u32 unk0d0;
/*0x0d0*/ s32 unk0d0;
/*0x0d4*/ s32 followprotectpropnum;
/*0x0d8*/ s32 unk0d8;
/*0x0dc*/ u32 unk0dc;