mirror of
https://github.com/halpz/re3.git
synced 2025-07-22 21:29:43 +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:
@ -89,4 +89,5 @@ public:
|
||||
}
|
||||
}
|
||||
};
|
||||
static_assert(sizeof(C2dEffect) == 0x34, "C2dEffect: error");
|
||||
|
||||
VALIDATE_SIZE(C2dEffect, 0x34);
|
||||
|
@ -38,7 +38,8 @@ struct CRegisteredCorona
|
||||
|
||||
void Update(void);
|
||||
};
|
||||
static_assert(sizeof(CRegisteredCorona) == 0x80, "CRegisteredCorona: error");
|
||||
|
||||
VALIDATE_SIZE(CRegisteredCorona, 0x80);
|
||||
|
||||
class CCoronas
|
||||
{
|
||||
|
@ -91,4 +91,4 @@ public:
|
||||
static void AddYardieDoorSmoke(CVector const &vecPos, CMatrix const &matMatrix);
|
||||
};
|
||||
|
||||
VALIDATE_SIZE(CParticle, 0x68);
|
||||
VALIDATE_SIZE(CParticle, 0x68);
|
||||
|
@ -64,8 +64,10 @@ struct tParticleSystemData
|
||||
RwRaster **m_ppRaster;
|
||||
CParticle *m_pParticles;
|
||||
};
|
||||
VALIDATE_SIZE(tParticleSystemData, 0x88);
|
||||
|
||||
#ifdef CHECK_STRUCT_SIZES
|
||||
VALIDATE_SIZE(tParticleSystemData, 0x88);
|
||||
#endif
|
||||
|
||||
class cParticleSystemMgr
|
||||
{
|
||||
@ -125,6 +127,8 @@ public:
|
||||
void RangeCheck(tParticleSystemData *pData) { }
|
||||
};
|
||||
|
||||
#ifdef CHECK_STRUCT_SIZES
|
||||
VALIDATE_SIZE(cParticleSystemMgr, 0x2420);
|
||||
#endif
|
||||
|
||||
extern cParticleSystemMgr mod_ParticleSystemManager;
|
@ -13,7 +13,7 @@ public:
|
||||
int8 fogType;
|
||||
bool castExtraShadows;
|
||||
};
|
||||
static_assert(sizeof(CRegisteredPointLight) == 0x2C, "CRegisteredPointLight: error");
|
||||
VALIDATE_SIZE(CRegisteredPointLight, 0x2C);
|
||||
|
||||
class CPointLights
|
||||
{
|
||||
|
@ -51,7 +51,10 @@ public:
|
||||
CStoredShadow()
|
||||
{ }
|
||||
};
|
||||
|
||||
#ifdef CHECK_STRUCT_SIZES
|
||||
VALIDATE_SIZE(CStoredShadow, 0x30);
|
||||
#endif
|
||||
|
||||
class CPolyBunch
|
||||
{
|
||||
@ -65,7 +68,10 @@ public:
|
||||
CPolyBunch()
|
||||
{ }
|
||||
};
|
||||
|
||||
#ifdef CHECK_STRUCT_SIZES
|
||||
VALIDATE_SIZE(CPolyBunch, 0x6C);
|
||||
#endif
|
||||
|
||||
class CStaticShadow
|
||||
{
|
||||
@ -93,7 +99,10 @@ public:
|
||||
|
||||
void Free();
|
||||
};
|
||||
|
||||
#ifdef CHECK_STRUCT_SIZES
|
||||
VALIDATE_SIZE(CStaticShadow, 0x40);
|
||||
#endif
|
||||
|
||||
class CPermanentShadow
|
||||
{
|
||||
@ -115,6 +124,7 @@ public:
|
||||
CPermanentShadow()
|
||||
{ }
|
||||
};
|
||||
|
||||
VALIDATE_SIZE(CPermanentShadow, 0x38);
|
||||
|
||||
class CPtrList;
|
||||
|
@ -25,7 +25,7 @@ public:
|
||||
void PushPeds(void);
|
||||
};
|
||||
|
||||
static_assert(sizeof(CWaterCannon) == 412, "CWaterCannon: error");
|
||||
VALIDATE_SIZE(CWaterCannon, 412);
|
||||
|
||||
class CWaterCannons
|
||||
{
|
||||
|
Reference in New Issue
Block a user