mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-12 12:40:33 +00:00
Fixed typos and made all assert functions optional
This commit is contained in:
parent
af6e132b37
commit
c798e1bacd
73 changed files with 110 additions and 184 deletions
|
@ -17,6 +17,5 @@ public:
|
|||
virtual bool GetIsATreadable(void) { return false; }
|
||||
};
|
||||
|
||||
#ifdef CHECK_STRUCT_SIZES
|
||||
static_assert(sizeof(CBuilding) == 0x64, "CBuilding: error");
|
||||
#endif
|
||||
VALIDATE_SIZE(CBuilding, 0x64);
|
||||
|
||||
|
|
|
@ -16,6 +16,5 @@ public:
|
|||
static void operator delete(void*, size_t);
|
||||
};
|
||||
|
||||
#ifdef CHECK_STRUCT_SIZES
|
||||
static_assert(sizeof(CDummy) == 0x68, "CDummy: error");
|
||||
#endif
|
||||
VALIDATE_SIZE(CDummy, 0x68);
|
||||
|
||||
|
|
|
@ -173,6 +173,4 @@ public:
|
|||
static void AddSteamsFromGround(CPtrList& list);
|
||||
};
|
||||
|
||||
#ifdef CHECK_STRUCT_SIZES
|
||||
static_assert(sizeof(CEntity) == 0x64, "CEntity: error");
|
||||
#endif
|
||||
VALIDATE_SIZE(CEntity, 0x64);
|
||||
|
|
|
@ -161,6 +161,4 @@ public:
|
|||
bool CheckCollision_SimpleCar(void);
|
||||
};
|
||||
|
||||
#ifdef CHECK_STRUCT_SIZES
|
||||
static_assert(sizeof(CPhysical) == 0x128, "CPhysical: error");
|
||||
#endif
|
||||
VALIDATE_SIZE(CPhysical, 0x128);
|
||||
|
|
|
@ -13,6 +13,5 @@ public:
|
|||
bool GetIsATreadable(void) { return true; }
|
||||
};
|
||||
|
||||
#ifdef CHECK_STRUCT_SIZES
|
||||
static_assert(sizeof(CTreadable) == 0x94, "CTreadable: error");
|
||||
#endif
|
||||
VALIDATE_SIZE(CTreadable, 0x94);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue