mirror of
https://github.com/halpz/re3.git
synced 2025-07-20 09:29:46 +00:00
Fixed typos and made all assert functions optional
This commit is contained in:
@ -24,5 +24,5 @@ public:
|
||||
void PlayAnimation(const char *animName);
|
||||
};
|
||||
#ifndef PED_SKIN
|
||||
static_assert(sizeof(CCutsceneHead) == 0x19C, "CCutsceneHead: error");
|
||||
VALIDATE_SIZE(CCutsceneHead, 0x19C);
|
||||
#endif
|
||||
|
@ -29,5 +29,5 @@ public:
|
||||
void RemoveLighting(bool reset);
|
||||
};
|
||||
#ifndef PED_SKIN
|
||||
static_assert(sizeof(CCutsceneObject) == 0x198, "CCutsceneObject: error");
|
||||
VALIDATE_SIZE(CCutsceneObject, 0x198);
|
||||
#endif
|
||||
|
@ -11,6 +11,4 @@ public:
|
||||
CDummyObject(CObject *obj);
|
||||
};
|
||||
|
||||
#ifdef CHECK_STRUCT_SIZES
|
||||
static_assert(sizeof(CDummyObject) == 0x68, "CDummyObject: error");
|
||||
#endif
|
||||
VALIDATE_SIZE(CDummyObject, 0x68);
|
||||
|
@ -98,6 +98,4 @@ public:
|
||||
static void DeleteAllTempObjectsInArea(CVector point, float fRadius);
|
||||
};
|
||||
|
||||
#ifdef CHECK_STRUCT_SIZES
|
||||
static_assert(sizeof(CObject) == 0x198, "CObject: error");
|
||||
#endif
|
||||
VALIDATE_SIZE(CObject, 0x198);
|
||||
|
@ -16,7 +16,7 @@ public:
|
||||
uint8 m_nSpecialCollisionResponseCases;
|
||||
bool m_bCameraToAvoidThisObject;
|
||||
};
|
||||
static_assert(sizeof(CObjectInfo) == 0x20, "CObjectInfo: error");
|
||||
VALIDATE_SIZE(CObjectInfo, 0x20);
|
||||
|
||||
class CObjectData
|
||||
{
|
||||
|
Reference in New Issue
Block a user