mirror of
https://github.com/halpz/re3.git
synced 2025-07-04 01:30:46 +00:00
defined out asserts.
This commit is contained in:
@ -119,4 +119,7 @@ public:
|
||||
#endif
|
||||
|
||||
};
|
||||
static_assert(sizeof(CAutoPilot) == 0x70, "CAutoPilot: error");
|
||||
|
||||
#ifdef CHECK_STRUCT_SIZES
|
||||
static_assert(sizeof(CAutoPilot) == 0x70, "CAutoPilot: error");
|
||||
#endif
|
@ -172,7 +172,9 @@ class CGarage
|
||||
friend class CCamera;
|
||||
};
|
||||
|
||||
#ifdef CHECK_STRUCT_SIZES
|
||||
static_assert(sizeof(CGarage) == 140, "CGarage");
|
||||
#endif
|
||||
|
||||
class CGarages
|
||||
{
|
||||
|
@ -41,7 +41,10 @@ struct CPedPathNode
|
||||
CPedPathNode* prev;
|
||||
CPedPathNode* next;
|
||||
};
|
||||
|
||||
#ifdef CHECK_STRUCT_SIZES
|
||||
static_assert(sizeof(CPedPathNode) == 0x10, "CPedPathNode: error");
|
||||
#endif
|
||||
|
||||
class CPedPath {
|
||||
public:
|
||||
@ -221,7 +224,11 @@ public:
|
||||
|
||||
void DisplayPathData(void);
|
||||
};
|
||||
|
||||
|
||||
#ifdef CHECK_STRUCT_SIZES
|
||||
static_assert(sizeof(CPathFind) == 0x49bf4, "CPathFind: error");
|
||||
#endif
|
||||
|
||||
extern CPathFind ThePaths;
|
||||
|
||||
|
@ -32,7 +32,9 @@ public:
|
||||
~CPhone() { }
|
||||
};
|
||||
|
||||
#ifdef CHECK_STRUCT_SIZES
|
||||
static_assert(sizeof(CPhone) == 0x34, "CPhone: error");
|
||||
#endif
|
||||
|
||||
class CPhoneInfo {
|
||||
public:
|
||||
|
@ -47,7 +47,9 @@ private:
|
||||
void Remove();
|
||||
};
|
||||
|
||||
#ifdef CHECK_STRUCT_SIZES
|
||||
static_assert(sizeof(CPickup) == 0x1C, "CPickup: error");
|
||||
#endif
|
||||
|
||||
struct tPickupMessage
|
||||
{
|
||||
|
@ -108,7 +108,10 @@ class CReplay
|
||||
CMatrix camera_pos;
|
||||
CVector player_pos;
|
||||
};
|
||||
|
||||
#ifdef CHECK_STRUCT_SIZES
|
||||
static_assert(sizeof(tGeneralPacket) == 88, "tGeneralPacket: error");
|
||||
#endif
|
||||
|
||||
struct tClockPacket
|
||||
{
|
||||
|
Reference in New Issue
Block a user