summaryrefslogtreecommitdiffstats
path: root/src/entities/Ped.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-06-16 23:12:14 +0200
committeraap <aap@papnet.eu>2019-06-16 23:12:14 +0200
commit93223b2baca75e53b88ca5d5a7ac7a2412368657 (patch)
tree8ea5583b630f800507037b83a7cbf03b3afde66c /src/entities/Ped.h
parentMerge pull request #16 from erorcun/master (diff)
downloadre3-93223b2baca75e53b88ca5d5a7ac7a2412368657.tar
re3-93223b2baca75e53b88ca5d5a7ac7a2412368657.tar.gz
re3-93223b2baca75e53b88ca5d5a7ac7a2412368657.tar.bz2
re3-93223b2baca75e53b88ca5d5a7ac7a2412368657.tar.lz
re3-93223b2baca75e53b88ca5d5a7ac7a2412368657.tar.xz
re3-93223b2baca75e53b88ca5d5a7ac7a2412368657.tar.zst
re3-93223b2baca75e53b88ca5d5a7ac7a2412368657.zip
Diffstat (limited to 'src/entities/Ped.h')
-rw-r--r--src/entities/Ped.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/entities/Ped.h b/src/entities/Ped.h
index 2143fa93..6a2f8ef1 100644
--- a/src/entities/Ped.h
+++ b/src/entities/Ped.h
@@ -2,12 +2,12 @@
#include "Physical.h"
#include "Weapon.h"
-#include "PathFind.h"
#include "PedIK.h"
#include "AnimManager.h"
#include "AnimBlendClumpData.h"
-#include "PedStat.h"
-#include "DMAudio.h"
+
+struct PedStat;
+struct CPathNode;
enum {
PED_MAX_WEAPONS = 13
@@ -234,25 +234,26 @@ public:
static void *operator new(size_t);
static void operator delete(void*, size_t);
+ // TODO: enum!
bool IsPlayer(void) { return m_nPedType == 0 || m_nPedType== 1 || m_nPedType == 2 || m_nPedType == 3; }
bool UseGroundColModel(void);
void AddWeaponModel(int id);
void AimGun();
void KillPedWithCar(CVehicle *veh, float impulse);
- void Say(eSound audio);
+ void Say(uint16 audio);
void SetLookFlag(CPed *to, bool set);
void SetLookFlag(float angle, bool set);
void SetLookTimer(int time);
void SetDie(AnimationId anim, float arg1, float arg2);
void ApplyHeadShot(eWeaponType weaponType, CVector pos, bool evenOnPlayer);
- void RemoveBodyPart(PedNode nodeId, char arg4);
- void SpawnFlyingComponent(int, signed char);
+ void RemoveBodyPart(PedNode nodeId, int8 unknown);
+ void SpawnFlyingComponent(int, int8 unknown);
bool OurPedCanSeeThisOne(CEntity* who);
static RwObject *SetPedAtomicVisibilityCB(RwObject *object, void *data);
static RwFrame *RecurseFrameChildrenVisibilityCB(RwFrame *frame, void *data);
CWeapon *GetWeapon(void) { return &m_weapons[m_currentWeapon]; }
- RwFrame* GetNodeFrame(int nodeId) { return m_pFrames[nodeId]->frame; }
+ RwFrame *GetNodeFrame(int nodeId) { return m_pFrames[nodeId]->frame; }
static Bool &bNastyLimbsCheat;
static Bool &bPedCheat2;