summaryrefslogtreecommitdiffstats
path: root/src/peds/Ped.h
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-06-05 22:13:31 +0200
committereray orçunus <erayorcunus@gmail.com>2020-06-05 22:13:34 +0200
commitf045ce438696d2425b7a3058f12ee04098fb1597 (patch)
tree7e4d3faf3099e138aa408113624b6c4346497572 /src/peds/Ped.h
parentfix (diff)
downloadre3-f045ce438696d2425b7a3058f12ee04098fb1597.tar
re3-f045ce438696d2425b7a3058f12ee04098fb1597.tar.gz
re3-f045ce438696d2425b7a3058f12ee04098fb1597.tar.bz2
re3-f045ce438696d2425b7a3058f12ee04098fb1597.tar.lz
re3-f045ce438696d2425b7a3058f12ee04098fb1597.tar.xz
re3-f045ce438696d2425b7a3058f12ee04098fb1597.tar.zst
re3-f045ce438696d2425b7a3058f12ee04098fb1597.zip
Diffstat (limited to '')
-rw-r--r--src/peds/Ped.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/peds/Ped.h b/src/peds/Ped.h
index 0d7ff972..d4f338e8 100644
--- a/src/peds/Ped.h
+++ b/src/peds/Ped.h
@@ -9,6 +9,7 @@
#include "Physical.h"
#include "Weapon.h"
#include "WeaponInfo.h"
+#include "AnimationId.h"
#define FEET_OFFSET 1.04f
#define CHECK_NEARBY_THINGS_MAX_DIST 15.0f
@@ -251,7 +252,8 @@ enum {
enum PedLineUpPhase {
LINE_UP_TO_CAR_START,
LINE_UP_TO_CAR_END,
- LINE_UP_TO_CAR_2 // Buggy. Used for cops arresting you from passenger door
+ LINE_UP_TO_CAR_2, // Buggy. Used for cops arresting you from passenger door
+ LINE_UP_TO_CAR_FALL
};
enum PedOnGroundState {
@@ -655,7 +657,7 @@ public:
void SetLookFlag(CEntity *target, bool keepTryingToLook);
void SetLookFlag(float direction, bool keepTryingToLook);
void SetLookTimer(int time);
- void SetDie(AnimationId anim, float arg1, float arg2);
+ void SetDie(AnimationId anim = ANIM_KO_SHOT_FRONT1, float arg1 = 4.0f, float arg2 = 0.0f);
void SetDead(void);
void ApplyHeadShot(eWeaponType weaponType, CVector pos, bool evenOnPlayer);
void RemoveBodyPart(PedNode nodeId, int8 direction);