mirror of
https://github.com/halpz/re3.git
synced 2025-07-22 21:29:43 +00:00
defined out asserts.
This commit is contained in:
@ -89,4 +89,7 @@ public:
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
#ifdef CHECK_STRUCT_SIZES
|
||||
static_assert(sizeof(C2dEffect) == 0x34, "C2dEffect: error");
|
||||
#endif
|
@ -38,7 +38,10 @@ struct CRegisteredCorona
|
||||
|
||||
void Update(void);
|
||||
};
|
||||
|
||||
#ifdef CHECK_STRUCT_SIZES
|
||||
static_assert(sizeof(CRegisteredCorona) == 0x80, "CRegisteredCorona: error");
|
||||
#endif
|
||||
|
||||
class CCoronas
|
||||
{
|
||||
|
@ -21,7 +21,9 @@ public:
|
||||
void Render(void);
|
||||
};
|
||||
|
||||
#ifdef CHECK_STRUCT_SIZES
|
||||
VALIDATE_SIZE(CFallingGlassPane, 0x70);
|
||||
#endif
|
||||
|
||||
enum
|
||||
{
|
||||
|
@ -91,4 +91,6 @@ public:
|
||||
static void AddYardieDoorSmoke(CVector const &vecPos, CMatrix const &matMatrix);
|
||||
};
|
||||
|
||||
VALIDATE_SIZE(CParticle, 0x68);
|
||||
#ifdef CHECK_STRUCT_SIZES
|
||||
VALIDATE_SIZE(CParticle, 0x68);
|
||||
#endif
|
@ -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;
|
@ -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,7 +124,9 @@ public:
|
||||
CPermanentShadow()
|
||||
{ }
|
||||
};
|
||||
#ifdef CHECK_STRUCT_SIZES
|
||||
VALIDATE_SIZE(CPermanentShadow, 0x38);
|
||||
#endif
|
||||
|
||||
class CPtrList;
|
||||
class CAutomobile;
|
||||
|
Reference in New Issue
Block a user