diff options
author | eray orçunus <erayorcunus@gmail.com> | 2019-06-14 16:14:22 +0200 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2019-06-14 16:14:22 +0200 |
commit | 8db50cea6c5e7d93d7e7fe102ca465a615ab86de (patch) | |
tree | 1c3b70fd337a419936fb98821f9d39e415e6b64a /src | |
parent | Some CPed functions (diff) | |
download | re3-8db50cea6c5e7d93d7e7fe102ca465a615ab86de.tar re3-8db50cea6c5e7d93d7e7fe102ca465a615ab86de.tar.gz re3-8db50cea6c5e7d93d7e7fe102ca465a615ab86de.tar.bz2 re3-8db50cea6c5e7d93d7e7fe102ca465a615ab86de.tar.lz re3-8db50cea6c5e7d93d7e7fe102ca465a615ab86de.tar.xz re3-8db50cea6c5e7d93d7e7fe102ca465a615ab86de.tar.zst re3-8db50cea6c5e7d93d7e7fe102ca465a615ab86de.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/entities/Ped.h | 18 | ||||
-rw-r--r-- | src/modelinfo/PedModelInfo.h | 3 |
2 files changed, 2 insertions, 19 deletions
diff --git a/src/entities/Ped.h b/src/entities/Ped.h index 4a616e22..b7db77dc 100644 --- a/src/entities/Ped.h +++ b/src/entities/Ped.h @@ -81,22 +81,6 @@ enum { PEDMOVE_SPRINT, }; -enum PedNode { - PED_WAIST = 0, - PED_TORSO, // Smid on PS2/PC, Storso on mobile/xbox. We follow mobile/xbox (makes kicking on ground look better) - PED_HEAD, - PED_UPPERARML, - PED_UPPERARMR, - PED_HANDL, - PED_HANDR, - PED_UPPERLEGL, - PED_UPPERLEGR, - PED_FOOTL, - PED_FOOTR, - PED_NODE_11, - PED_NODE_MAX -}; - class CVehicle; class CPed : public CPhysical @@ -180,7 +164,7 @@ public: uint8 stuff10[60]; int32 m_pEventEntity; int32 m_fAngleToEvent; - AnimBlendFrameData *m_pFrames[PED_FRAME_MAX]; + AnimBlendFrameData *m_pFrames[PED_NODE_MAX]; int32 m_animGroup; int32 m_pVehicleAnim; CVector2D m_vecAnimMoveDelta; diff --git a/src/modelinfo/PedModelInfo.h b/src/modelinfo/PedModelInfo.h index e917b6b2..95d49090 100644 --- a/src/modelinfo/PedModelInfo.h +++ b/src/modelinfo/PedModelInfo.h @@ -15,8 +15,7 @@ enum PedNode { PED_FOOTL, PED_FOOTR, PED_LOWERLEGR, - // This is not valid apparently - PED_LOWERLEGL, + PED_NODE_MAX// Not valid: PED_LOWERLEGL }; class CPedModelInfo : public CClumpModelInfo |