get rid of all PED_SKIN defines

This commit is contained in:
aap
2020-12-18 17:27:18 +01:00
parent 75a9976cbc
commit c17ccc50ab
12 changed files with 7 additions and 47 deletions

View File

@ -23,6 +23,4 @@ public:
void EnterVacantNearbyCars(void);
bool IsOnStealWishList(int32);
};
#ifndef PED_SKIN
VALIDATE_SIZE(CCivilianPed, 0x53C);
#endif
//VALIDATE_SIZE(CCivilianPed, 0x53C);

View File

@ -48,6 +48,4 @@ public:
void ProcessStingerCop(void);
};
#ifndef PED_SKIN
VALIDATE_SIZE(CCopPed, 0x558);
#endif
VALIDATE_SIZE(CCopPed, 0x62C);

View File

@ -36,6 +36,4 @@ public:
void FiremanAI(void);
void MedicAI(void);
};
#ifndef PED_SKIN
VALIDATE_SIZE(CEmergencyPed, 0x554);
#endif
//VALIDATE_SIZE(CEmergencyPed, 0x554);

View File

@ -264,9 +264,7 @@ CPed::CPed(uint32 pedType) : m_pedIK(this)
bVehExitWillBeInstant = false;
bHasAlreadyBeenRecorded = false;
bFallenDown = false;
#ifdef PED_SKIN
bDontAcceptIKLookAts = false;
#endif
bReachedAttractorHeadingTarget = false;
bTurnedAroundOnAttractor = false;
#ifdef KANGAROO_CHEAT
@ -365,9 +363,7 @@ CPed::CPed(uint32 pedType) : m_pedIK(this)
m_vehicleInAccident = nil;
m_attractor = nil;
m_positionInQueue = -1;
#ifdef PED_SKIN
m_pWeaponModel = nil;
#endif
m_delayedSoundID = -1;
m_delayedSoundTimer = 0;
CPopulation::UpdatePedCount((ePedType)m_nPedType, false);
@ -4797,11 +4793,7 @@ CPed::PreRender(void)
CTimeCycle::m_fShadowFrontX[CTimeCycle::m_CurrentStoredValue], CTimeCycle::m_fShadowFrontY[CTimeCycle::m_CurrentStoredValue],
CTimeCycle::m_fShadowSideX[CTimeCycle::m_CurrentStoredValue], CTimeCycle::m_fShadowSideY[CTimeCycle::m_CurrentStoredValue]);
#ifdef PED_SKIN
if(IsClumpSkinned(GetClump())){
UpdateRpHAnim();
}
#endif
UpdateRpHAnim();
bool bIsWindModifierTurnedOn = false;
float fAnyDirectionShift = 1.0f;

View File

@ -108,6 +108,4 @@ public:
static const uint32 nSaveStructSize;
};
#ifndef PED_SKIN
VALIDATE_SIZE(CPlayerPed, 0x5F0);
#endif
//VALIDATE_SIZE(CPlayerPed, 0x5F0);