mirror of
https://github.com/halpz/re3.git
synced 2025-07-22 21:29:43 +00:00
Fixed typos and made all assert functions optional
This commit is contained in:
@ -90,6 +90,4 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
#ifdef CHECK_STRUCT_SIZES
|
||||
static_assert(sizeof(C2dEffect) == 0x34, "C2dEffect: error");
|
||||
#endif
|
||||
VALIDATE_SIZE(C2dEffect, 0x34);
|
||||
|
@ -39,9 +39,7 @@ struct CRegisteredCorona
|
||||
void Update(void);
|
||||
};
|
||||
|
||||
#ifdef CHECK_STRUCT_SIZES
|
||||
static_assert(sizeof(CRegisteredCorona) == 0x80, "CRegisteredCorona: error");
|
||||
#endif
|
||||
VALIDATE_SIZE(CRegisteredCorona, 0x80);
|
||||
|
||||
class CCoronas
|
||||
{
|
||||
|
@ -21,9 +21,7 @@ public:
|
||||
void Render(void);
|
||||
};
|
||||
|
||||
#ifdef CHECK_STRUCT_SIZES
|
||||
VALIDATE_SIZE(CFallingGlassPane, 0x70);
|
||||
#endif
|
||||
|
||||
enum
|
||||
{
|
||||
|
@ -91,6 +91,4 @@ public:
|
||||
static void AddYardieDoorSmoke(CVector const &vecPos, CMatrix const &matMatrix);
|
||||
};
|
||||
|
||||
#ifdef CHECK_STRUCT_SIZES
|
||||
VALIDATE_SIZE(CParticle, 0x68);
|
||||
#endif
|
@ -13,7 +13,7 @@ public:
|
||||
int8 fogType;
|
||||
bool castExtraShadows;
|
||||
};
|
||||
static_assert(sizeof(CRegisteredPointLight) == 0x2C, "CRegisteredPointLight: error");
|
||||
VALIDATE_SIZE(CRegisteredPointLight, 0x2C);
|
||||
|
||||
class CPointLights
|
||||
{
|
||||
|
@ -124,9 +124,8 @@ public:
|
||||
CPermanentShadow()
|
||||
{ }
|
||||
};
|
||||
#ifdef CHECK_STRUCT_SIZES
|
||||
|
||||
VALIDATE_SIZE(CPermanentShadow, 0x38);
|
||||
#endif
|
||||
|
||||
class CPtrList;
|
||||
class CAutomobile;
|
||||
|
@ -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