mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-08-17 12:59:41 -04:00
Rename entitytype to attackflags
This commit is contained in:
@@ -20,8 +20,8 @@ bool weaponIsOneHanded(struct prop *prop);
|
||||
f32 chrGetRangedSpeed(struct chrdata *chr, f32 min, f32 max);
|
||||
s32 chrGetPercentageOfSlowness(struct chrdata *chr, s32 percentage);
|
||||
f32 chrGetRangedArghSpeed(struct chrdata *chr, f32 min, f32 max);
|
||||
f32 chrGetRelativeAttackAngle(struct chrdata *chr, s32 entitytype, s32 entityid);
|
||||
f32 chrGetDistanceToEntity(struct chrdata *chr, u32 entitytype, s32 entityid);
|
||||
f32 chrGetRelativeAttackAngle(struct chrdata *chr, u32 attackflags, s32 entityid);
|
||||
f32 chrGetDistanceToEntity(struct chrdata *chr, u32 attackflags, s32 entityid);
|
||||
void func0f02e3dc(struct coord *a, struct coord *b, struct coord *c, struct coord *d, struct coord *dst);
|
||||
void func0f02e4f8(struct coord *arg0, struct coord *arg1, struct coord *dst);
|
||||
f32 func0f02e550(struct prop *prop, f32 arg1, f32 arg2, u32 arg3, f32 ymax, f32 ymin);
|
||||
@@ -38,17 +38,17 @@ void chrSurrenderChooseAnimation(struct chrdata *chr);
|
||||
void chrSidestepChooseAnimation(struct chrdata *chr);
|
||||
void chrJumpOutChooseAnimation(struct chrdata *chr);
|
||||
void chrRunPosChooseAnimation(struct chrdata *chr);
|
||||
void chrAttackStand(struct chrdata *chr, s32 entitytype, s32 entityid);
|
||||
void chrAttackLie(struct chrdata *chr, s32 entitytype, s32 entityid);
|
||||
void chrAttackKneel(struct chrdata *chr, s32 entitytype, s32 entityid);
|
||||
void chrAttackStand(struct chrdata *chr, u32 attackflags, s32 entityid);
|
||||
void chrAttackLie(struct chrdata *chr, u32 attackflags, s32 entityid);
|
||||
void chrAttackKneel(struct chrdata *chr, u32 attackflags, s32 entityid);
|
||||
void chrAttackWalkChooseAnimation(struct chrdata *chr);
|
||||
void chrAttackWalk(struct chrdata *chr, u32 speed);
|
||||
void chrAttackRollChooseAnimation(struct chrdata *chr);
|
||||
void chrAttackRoll(struct chrdata *chr, bool direction);
|
||||
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 entitytype, u32 entityid, u32 arg6);
|
||||
void chrAttackAmount(struct chrdata *chr, u32 entitytype, u32 entityid, u32 maxshots);
|
||||
void chrAttack(struct chrdata *chr, struct attackanimgroup **arg1, bool flip, bool *firing, u32 attackflags, u32 entityid, u32 arg6);
|
||||
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);
|
||||
void chrReactToDamage(struct chrdata *chr, struct coord *pos, f32 angle, s32 ibh, struct shorthand *hand, s32 playernum);
|
||||
@@ -94,7 +94,7 @@ void chrGoPosChooseAnimation(struct chrdata *chr);
|
||||
bool chrGoToPos(struct chrdata *chr, struct coord *pos, s16 *rooms, u32 flags);
|
||||
void chrPatrolChooseAnimation(struct chrdata *chr);
|
||||
void chrStartPatrol(struct chrdata *chr, struct path *path);
|
||||
bool chrCanSeeEntity(struct chrdata *chr, struct coord *pos, s16 *rooms, bool arg3, u32 entitytype, u32 entityid);
|
||||
bool chrCanSeeEntity(struct chrdata *chr, struct coord *pos, s16 *rooms, bool arg3, u32 attackflags, u32 entityid);
|
||||
bool chrCanSeeAttackTarget(struct chrdata *chr, struct coord *pos, s16 *rooms, bool arg3);
|
||||
bool chrCanSeeChr(struct chrdata *chr, struct chrdata *target, s16 *room);
|
||||
bool chrHasLineOfSightToPos(struct chrdata *viewerchr, struct coord *pos, s16 *rooms);
|
||||
@@ -247,11 +247,11 @@ bool chrCanSeeTarget(struct chrdata *chr);
|
||||
void chrRecordLastSeeTargetTime(struct chrdata *chr);
|
||||
void chrRecordLastHearTargetTime(struct chrdata *chr);
|
||||
bool chrIsDead(struct chrdata *chr);
|
||||
bool chrTryAttackStand(struct chrdata *chr, s32 entitytype, s32 entityid);
|
||||
bool chrTryAttackKneel(struct chrdata *chr, s32 entitytype, s32 entityid);
|
||||
bool chrTryAttackLie(struct chrdata *chr, s32 entitytype, s32 entityid);
|
||||
bool chrTryModifyAttack(struct chrdata *chr, u32 entitytype, s32 entityid);
|
||||
bool chrFaceEntity(struct chrdata *chr, u32 entitytype, u32 entityid);
|
||||
bool chrTryAttackStand(struct chrdata *chr, u32 attackflags, s32 entityid);
|
||||
bool chrTryAttackKneel(struct chrdata *chr, u32 attackflags, s32 entityid);
|
||||
bool chrTryAttackLie(struct chrdata *chr, u32 attackflags, s32 entityid);
|
||||
bool chrTryModifyAttack(struct chrdata *chr, u32 attackflags, s32 entityid);
|
||||
bool chrFaceEntity(struct chrdata *chr, u32 attackflags, u32 entityid);
|
||||
bool chrSetPath(struct chrdata *chr, u32 path_id);
|
||||
bool chrTryStartPatrol(struct chrdata *chr);
|
||||
bool chrTrySurrender(struct chrdata *chr);
|
||||
@@ -266,7 +266,7 @@ bool chrTrySurprisedLookAround(struct chrdata *chr);
|
||||
bool chrTryKneel(struct chrdata *chr);
|
||||
bool chrTryStartAnim(struct chrdata *chr, s32 animfnum, f32 startframe, f32 endframe, u8 flags, s32 arg5, f32 speed);
|
||||
bool chrTryStartAlarm(struct chrdata *chr, s32 pad_id);
|
||||
s32 chrConsiderGrenadeThrow(struct chrdata *chr, u32 entitytype, u32 entityid);
|
||||
s32 chrConsiderGrenadeThrow(struct chrdata *chr, u32 attackflags, u32 entityid);
|
||||
void chrTickKneel(struct chrdata *chr);
|
||||
void chrFadeCorpse(struct chrdata *chr);
|
||||
void chrEnableReap(struct chrdata *chr);
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
s32 chraiGetListIdByList(u8 *ailist, bool *is_global);
|
||||
u32 chraiGoToLabel(u8 *ailist, u32 aioffset, u8 label);
|
||||
void chraiExecute(void *entity, s32 entity_type);
|
||||
void chraiExecute(void *entity, s32 proptype);
|
||||
u32 chraiGetCommandLength(u8 *ailist, u32 aioffset);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user