summaryrefslogtreecommitdiffstats
path: root/src/peds/Ped.h
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2019-10-30 00:37:05 +0100
committereray orçunus <erayorcunus@gmail.com>2019-10-30 00:41:47 +0100
commitad69a319cbc57b20eed0c81580e09a62f31da6a1 (patch)
tree7d1a2993ed12f88391437044acf2c6808d361af2 /src/peds/Ped.h
parentCRadar::Initialise() + fixes (diff)
downloadre3-ad69a319cbc57b20eed0c81580e09a62f31da6a1.tar
re3-ad69a319cbc57b20eed0c81580e09a62f31da6a1.tar.gz
re3-ad69a319cbc57b20eed0c81580e09a62f31da6a1.tar.bz2
re3-ad69a319cbc57b20eed0c81580e09a62f31da6a1.tar.lz
re3-ad69a319cbc57b20eed0c81580e09a62f31da6a1.tar.xz
re3-ad69a319cbc57b20eed0c81580e09a62f31da6a1.tar.zst
re3-ad69a319cbc57b20eed0c81580e09a62f31da6a1.zip
Diffstat (limited to 'src/peds/Ped.h')
-rw-r--r--src/peds/Ped.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/src/peds/Ped.h b/src/peds/Ped.h
index b8d2f5dd..7e049464 100644
--- a/src/peds/Ped.h
+++ b/src/peds/Ped.h
@@ -58,6 +58,15 @@ enum PedRouteType
PEDROUTE_GO_TO_START_WHEN_DONE
};
+enum FightMoveHitLevel
+{
+ HITLEVEL_NULL,
+ HITLEVEL_GROUND,
+ HITLEVEL_LOW,
+ HITLEVEL_MEDIUM,
+ HITLEVEL_HIGH
+};
+
struct FightMove
{
AnimationId animId;
@@ -65,7 +74,7 @@ struct FightMove
float endFireTime;
float comboFollowOnTime;
float strikeRadius;
- uint8 hitLevel;
+ uint8 hitLevel; // FightMoveHitLevel
uint8 damage;
uint8 flags;
};
@@ -99,7 +108,8 @@ enum PedFightMoves
FIGHTMOVE_HITBIGSTEP,
FIGHTMOVE_HITONFLOOR,
FIGHTMOVE_HITBEHIND,
- FIGHTMOVE_IDLE2NORM
+ FIGHTMOVE_IDLE2NORM,
+ NUM_FIGHTMOVES
};
enum ePedPieceTypes
@@ -681,6 +691,7 @@ public:
void ScanForInterestingStuff(void);
void WarpPedIntoCar(CVehicle*);
void SetCarJack(CVehicle*);
+ void WarpPedToNearLeaderOffScreen(void);
// Static methods
static CVector GetLocalPositionToOpenCarDoor(CVehicle *veh, uint32 component, float offset);