1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-12-23 06:50:00 +00:00

Fix duplicate code for PedNode

Signed-off-by: eray orçunus <erayorcunus@gmail.com>
This commit is contained in:
eray orçunus 2019-06-14 17:14:22 +03:00
parent ed69be36cc
commit 8db50cea6c
2 changed files with 2 additions and 19 deletions

View file

@ -81,22 +81,6 @@ enum {
PEDMOVE_SPRINT, 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 CVehicle;
class CPed : public CPhysical class CPed : public CPhysical
@ -180,7 +164,7 @@ public:
uint8 stuff10[60]; uint8 stuff10[60];
int32 m_pEventEntity; int32 m_pEventEntity;
int32 m_fAngleToEvent; int32 m_fAngleToEvent;
AnimBlendFrameData *m_pFrames[PED_FRAME_MAX]; AnimBlendFrameData *m_pFrames[PED_NODE_MAX];
int32 m_animGroup; int32 m_animGroup;
int32 m_pVehicleAnim; int32 m_pVehicleAnim;
CVector2D m_vecAnimMoveDelta; CVector2D m_vecAnimMoveDelta;

View file

@ -15,8 +15,7 @@ enum PedNode {
PED_FOOTL, PED_FOOTL,
PED_FOOTR, PED_FOOTR,
PED_LOWERLEGR, PED_LOWERLEGR,
// This is not valid apparently PED_NODE_MAX// Not valid: PED_LOWERLEGL
PED_LOWERLEGL,
}; };
class CPedModelInfo : public CClumpModelInfo class CPedModelInfo : public CClumpModelInfo