Decompile chrTickAttackWalk

This commit is contained in:
Ryan Dwyer
2021-05-23 23:22:18 +10:00
parent b86a598fe6
commit fe0f8de728
3 changed files with 134 additions and 567 deletions
+2 -2
View File
@@ -159,7 +159,7 @@ void chrTickAttack(struct chrdata *chr);
void chrTickAttackRoll(struct chrdata *chr);
void propPrintDangerous(void);
void chrTickThrowGrenade(struct chrdata *chr);
s32 func0f043f2c(struct chrdata *chr, struct coord *runpos, s32 arg2, f32 *arg3);
s32 func0f043f2c(struct chrdata *chr, struct coord *runpos, s32 arg2, f32 *turnspeed);
void chrTickAttackWalk(struct chrdata *chr);
bool func0f0445c4(struct coord *arg0, struct coord *arg1, struct coord *arg2, f32 arg3);
bool func0f0446e0(struct coord *prevpos, struct coord *curpos, struct coord *targetpos, f32 arg3);
@@ -277,7 +277,7 @@ void func0f03e5b0(struct chrdata *chr, f32 arg1);
void chrResetAimEndProperties(struct chrdata *chr);
void chrSetFiring(struct chrdata *chr, s32 hand, bool firing);
void chrStopFiring(struct chrdata *chr);
void func0f03f988(struct chrdata *chr, s32 hand, s32 arg2);
void func0f03f988(struct chrdata *chr, s32 hand, bool arg2);
void func0f0429d8(struct chrdata *chr, f32 arg1, f32 arg2);
void propUnsetDangerous(struct prop *prop);
void propSetDangerous(struct prop *prop);
+11 -14
View File
@@ -1097,22 +1097,19 @@ struct act_attack {
};
struct act_attackwalk {
/*0x2c*/ u32 unk02c;
/*0x30*/ u32 unk030;
/*0x34*/ u32 unk034;
/*0x38*/ u32 unk038;
/*0x2c*/ s32 unk02c;
/*0x30*/ s32 frame60count;
/*0x34*/ s32 frame60max;
/*0x38*/ bool facedtarget;
/*0x3c*/ struct attackanimconfig *animcfg;
/*0x40*/ u32 unk040;
/*0x44*/ u32 unk044;
/*0x48*/ u8 unk048;
/*0x49*/ u8 unk049;
/*0x4a*/ u8 unk04a;
/*0x4b*/ u8 unk04b;
/*0x4c*/ u8 unk04c;
/*0x4d*/ u8 unk04d;
/*0x40*/ s32 nextshot60;
/*0x44*/ s32 nextgun;
/*0x48*/ s8 firegun[2];
/*0x4a*/ s8 everytick[2];
/*0x4c*/ s8 singleshot[2];
/*0x4e*/ u8 flip;
/*0x50*/ u32 unk050;
/*0x54*/ f32 unk054;
/*0x50*/ s32 dorecoil;
/*0x54*/ f32 turnspeed;
};
struct act_sidestep {