mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-12-24 00:31:48 +01:00
Fix duplicate code for PedNode
Signed-off-by: eray orçunus <erayorcunus@gmail.com>
This commit is contained in:
parent
ed69be36cc
commit
8db50cea6c
@ -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;
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user