mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-07-02 03:20:15 -04:00
Decompile aibotScoreWeapon
This commit is contained in:
+1
-1
@@ -528,7 +528,7 @@ extern struct mppreset g_MpPresets[NUM_MPPRESETS];
|
||||
extern u32 g_TeamColours[];
|
||||
extern u16 var80087ce4[];
|
||||
extern u8 g_NumMpSimulantChrs;
|
||||
extern u32 var80087eb0;
|
||||
extern struct aibotweaponpreference g_AibotWeaponPreferences[];
|
||||
extern u32 var80087eb4;
|
||||
extern struct challenge g_MpChallenges[NUM_CHALLENGES];
|
||||
extern u8 g_FrIsValidWeapon;
|
||||
|
||||
@@ -18,7 +18,7 @@ bool aibotGiveProp(struct chrdata *chr, struct prop *prop);
|
||||
u32 func0f198068(void);
|
||||
bool mpHasShield(void);
|
||||
s32 mpGetWeaponIndexByWeaponNum(s32 weaponnum);
|
||||
void func0f198338(struct chrdata *chr, s32 weaponnum, s32 arg2, s32 arg3, s32 arg4, s32 *arg5, s32 *arg6, s32 arg7, s32 arg8);
|
||||
void aibotScoreWeapon(struct chrdata *chr, s32 weaponnum, s32 funcnum, s32 arg3, bool arg4, s32 *dst1, s32 *dst2, bool arg7, bool arg8);
|
||||
u32 func0f198db4(void);
|
||||
u32 func0f198df8(void);
|
||||
s32 func0f198e38(s32 weaponnum, s32 funcnum);
|
||||
|
||||
@@ -129,7 +129,7 @@ struct g_vars {
|
||||
/*000480*/ u16 unk000480;
|
||||
/*000482*/ u16 unk000482;
|
||||
/*000484*/ s32 mphilltime;
|
||||
/*000488*/ u32 unk000488;
|
||||
/*000488*/ s32 totalkills;
|
||||
/*00048c*/ u32 unk00048c;
|
||||
|
||||
// 1 when entering game setup
|
||||
|
||||
+18
-1
@@ -503,7 +503,7 @@ struct aibot {
|
||||
/*0x210*/ u32 unk210;
|
||||
/*0x214*/ f32 killsbygunfunc[6][2];
|
||||
/*0x244*/ f32 suicidesbygunfunc[6][2];
|
||||
/*0x274*/ u32 unk274[6][2];
|
||||
/*0x274*/ s32 unk274[6][2];
|
||||
/*0x2a4*/ u32 unk2a4;
|
||||
/*0x2a8*/ u32 unk2a8[6];
|
||||
/*0x2c0*/ u32 unk2c0;
|
||||
@@ -6957,4 +6957,21 @@ struct portalvertices {
|
||||
struct coord vertices[1];
|
||||
};
|
||||
|
||||
struct aibotweaponpreference {
|
||||
u8 unk00;
|
||||
u8 unk01;
|
||||
u8 unk02;
|
||||
u8 unk03;
|
||||
u16 unk04_00 : 1;
|
||||
u16 unk04_01 : 1;
|
||||
u16 unk04_02 : 2;
|
||||
u16 unk04_04 : 4;
|
||||
u16 unk04_08 : 4;
|
||||
u16 unk06;
|
||||
u16 unk08;
|
||||
u16 unk0a;
|
||||
u16 unk0c;
|
||||
u16 unk0e;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user