mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-07-31 23:58:38 -04:00
Decompile chrTickAttack
This commit is contained in:
@@ -47,7 +47,7 @@ void chrAttackRollChooseAnimation(struct chrdata *chr);
|
||||
void chrAttackRoll(struct chrdata *chr, bool toleft);
|
||||
void chrStartAnim(struct chrdata *chr, s32 animnum, f32 startframe, f32 endframe, u8 flags, s32 arg5, f32 speed);
|
||||
void func0f031254(struct chrdata *chr);
|
||||
void chrAttack(struct chrdata *chr, struct attackanimgroup **arg1, bool flip, bool *firing, u32 attackflags, u32 entityid, u32 arg6);
|
||||
void chrAttack(struct chrdata *chr, struct attackanimgroup **animgroups, bool flip, bool *firing, u32 attackflags, s32 entityid, bool standing);
|
||||
void chrAttackAmount(struct chrdata *chr, u32 attackflags, u32 entityid, u32 maxshots);
|
||||
void chrBeginDeath(struct chrdata *chr, struct coord *dir, f32 relangle, s32 ibh, struct shorthand *hand, bool knockout, s32 aplayernum);
|
||||
void chrBeginArgh(struct chrdata *chr, f32 angle, s32 ibh);
|
||||
@@ -139,7 +139,7 @@ f32 chrGetInverseTheta(struct chrdata *chr);
|
||||
f32 chrGetAimAngle(struct chrdata *chr);
|
||||
f32 func0f03e754(struct chrdata *chr);
|
||||
void func0f03e788(struct chrdata *chr, s32 arg1, f32 arg2, f32 arg3, f32 arg4);
|
||||
void func0f03e9f4(struct chrdata *chr, struct attackanimconfig *animcfg, s32 arg2, s32 arg3, f32 arg4);
|
||||
bool func0f03e9f4(struct chrdata *chr, struct attackanimconfig *animcfg, s32 arg2, s32 arg3, f32 arg4);
|
||||
u32 func0f03f778(void);
|
||||
f32 chrGetAimLimitAngle(f32 sqdist);
|
||||
void chrCalculateHit(struct chrdata *chr, bool *angleokptr, bool *hit, struct shorthand *hand);
|
||||
@@ -150,7 +150,7 @@ u32 func0f0404d4(void);
|
||||
u32 func0f041a74(void);
|
||||
u32 func0f041c44(void);
|
||||
void chrAttackAmountUpdateAnimation(struct chrdata *chr);
|
||||
u32 func0f041e48(void);
|
||||
void func0f041e48(struct chrdata *chr);
|
||||
void chrTickAttackAmount(struct chrdata *chr);
|
||||
void robotSetMuzzleFlash(struct chrdata *chr, bool right, bool enabled);
|
||||
void robotAttack(struct chrdata *chr);
|
||||
|
||||
+7
-7
@@ -1083,17 +1083,17 @@ struct act_attack {
|
||||
/*0x35*/ s8 onehanded;
|
||||
/*0x36*/ s8 dorecoil;
|
||||
/*0x37*/ s8 dooneburst;
|
||||
/*0x38*/ u8 firegun[2]; // whether this gun is going to attempt to fire in this anim
|
||||
/*0x38*/ s8 firegun[2]; // whether this gun is going to attempt to fire in this anim
|
||||
/*0x3a*/ u8 everytick[2]; // whether gun's fire rate is high enough to fire on every tick
|
||||
/*0x3c*/ u8 singleshot[2];
|
||||
/*0x3e*/ s8 flip;
|
||||
/*0x40*/ u32 unk040;
|
||||
/*0x44*/ u32 unk044;
|
||||
/*0x48*/ u32 unk048;
|
||||
/*0x40*/ s32 pausecount;
|
||||
/*0x44*/ s32 lastfire60;
|
||||
/*0x48*/ s32 lastontarget60;
|
||||
/*0x4c*/ u32 flags;
|
||||
/*0x50*/ u32 entityid;
|
||||
/*0x54*/ s32 unk054;
|
||||
/*0x58*/ u32 unk058;
|
||||
/*0x50*/ s32 entityid;
|
||||
/*0x54*/ s32 standing;
|
||||
/*0x58*/ s32 reaim;
|
||||
};
|
||||
|
||||
struct act_attackwalk {
|
||||
|
||||
Reference in New Issue
Block a user