mirror of
https://github.com/halpz/re3.git
synced 2025-06-29 13:26:19 +00:00
Merge branch 'master' into miami
# Conflicts: # src/animation/AnimBlendAssociation.h # src/animation/AnimBlendClumpData.h # src/animation/AnimManager.h # src/animation/FrameUpdate.cpp # src/control/AutoPilot.h # src/control/PathFind.h # src/core/PlayerInfo.h # src/entities/Building.h # src/entities/Dummy.h # src/entities/Entity.h # src/entities/Physical.h # src/entities/Treadable.h # src/modelinfo/BaseModelInfo.h # src/modelinfo/ClumpModelInfo.cpp # src/modelinfo/ClumpModelInfo.h # src/modelinfo/PedModelInfo.h # src/modelinfo/SimpleModelInfo.h # src/modelinfo/TimeModelInfo.h # src/modelinfo/VehicleModelInfo.h # src/objects/CutsceneHead.h # src/objects/CutsceneObject.h # src/objects/DummyObject.h # src/objects/Object.h # src/peds/DummyPed.h # src/peds/PedIK.cpp # src/rw/VisibilityPlugins.cpp # src/vehicles/Automobile.h # src/vehicles/Boat.h # src/vehicles/Heli.h # src/vehicles/Plane.h # src/vehicles/Train.h # src/vehicles/Vehicle.h
This commit is contained in:
@ -12,5 +12,5 @@ public:
|
||||
void ProcessControl(void);
|
||||
};
|
||||
#ifndef PED_SKIN
|
||||
static_assert(sizeof(CCivilianPed) == 0x53C, "CCivilianPed: error");
|
||||
VALIDATE_SIZE(CCivilianPed, 0x53C);
|
||||
#endif
|
||||
|
@ -38,5 +38,5 @@ public:
|
||||
};
|
||||
|
||||
#ifndef PED_SKIN
|
||||
static_assert(sizeof(CCopPed) == 0x558, "CCopPed: error");
|
||||
VALIDATE_SIZE(CCopPed, 0x558);
|
||||
#endif
|
||||
|
@ -37,5 +37,5 @@ public:
|
||||
void MedicAI(void);
|
||||
};
|
||||
#ifndef PED_SKIN
|
||||
static_assert(sizeof(CEmergencyPed) == 0x554, "CEmergencyPed: error");
|
||||
VALIDATE_SIZE(CEmergencyPed, 0x554);
|
||||
#endif
|
||||
|
@ -10,7 +10,7 @@ struct CGangInfo
|
||||
CGangInfo();
|
||||
};
|
||||
|
||||
static_assert(sizeof(CGangInfo) == 0x10, "CGangInfo: error");
|
||||
VALIDATE_SIZE(CGangInfo, 0x10);
|
||||
|
||||
enum {
|
||||
GANG_MAFIA = 0,
|
||||
|
@ -82,7 +82,7 @@ struct FightMove
|
||||
uint8 damage;
|
||||
uint8 flags;
|
||||
};
|
||||
static_assert(sizeof(FightMove) == 0x18, "FightMove: error");
|
||||
VALIDATE_SIZE(FightMove, 0x18);
|
||||
|
||||
// TODO: This is eFightState on mobile.
|
||||
enum PedFightMoves
|
||||
@ -899,16 +899,5 @@ public:
|
||||
void FinishFuckUCB(CAnimBlendAssociation *assoc, void *arg);
|
||||
|
||||
#ifndef PED_SKIN
|
||||
static_assert(offsetof(CPed, m_nPedState) == 0x224, "CPed: error");
|
||||
static_assert(offsetof(CPed, m_pCurSurface) == 0x2FC, "CPed: error");
|
||||
static_assert(offsetof(CPed, m_pMyVehicle) == 0x310, "CPed: error");
|
||||
static_assert(offsetof(CPed, m_nPedType) == 0x32C, "CPed: error");
|
||||
static_assert(offsetof(CPed, m_pCollidingEntity) == 0x34C, "CPed: error");
|
||||
static_assert(offsetof(CPed, m_weapons) == 0x35C, "CPed: error");
|
||||
static_assert(offsetof(CPed, m_currentWeapon) == 0x498, "CPed: error");
|
||||
static_assert(offsetof(CPed, m_lookTimer) == 0x4CC, "CPed: error");
|
||||
static_assert(offsetof(CPed, m_bodyPartBleeding) == 0x4F2, "CPed: error");
|
||||
static_assert(offsetof(CPed, m_pedInObjective) == 0x16C, "CPed: error");
|
||||
static_assert(offsetof(CPed, m_pEventEntity) == 0x19C, "CPed: error");
|
||||
static_assert(sizeof(CPed) == 0x53C, "CPed: error");
|
||||
VALIDATE_SIZE(CPed, 0x53C);
|
||||
#endif
|
||||
|
@ -64,4 +64,5 @@ public:
|
||||
bool LookAtPosition(CVector const& pos);
|
||||
bool RestoreLookAt(void);
|
||||
};
|
||||
static_assert(sizeof(CPedIK) == 0x28, "CPedIK: error");
|
||||
|
||||
VALIDATE_SIZE(CPedIK, 0x28);
|
||||
|
@ -81,4 +81,5 @@ public:
|
||||
static void LoadPedStats(void);
|
||||
static ePedStats GetPedStatType(char *name);
|
||||
};
|
||||
static_assert(sizeof(CPedStats) == 0x34, "CPedStats: error");
|
||||
|
||||
VALIDATE_SIZE(CPedStats, 0x34);
|
||||
|
@ -91,4 +91,4 @@ public:
|
||||
static bool IsThreat(int type, int threat) { return ms_apPedType[type]->m_threats & threat; }
|
||||
};
|
||||
|
||||
static_assert(sizeof(CPedType) == 0x20, "CPedType: error");
|
||||
VALIDATE_SIZE(CPedType, 0x20);
|
||||
|
@ -85,5 +85,5 @@ public:
|
||||
};
|
||||
|
||||
#ifndef PED_SKIN
|
||||
static_assert(sizeof(CPlayerPed) == 0x5F0, "CPlayerPed: error");
|
||||
VALIDATE_SIZE(CPlayerPed, 0x5F0);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user