mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-17 10:39:22 +00:00
defined out asserts.
This commit is contained in:
parent
d9a3533438
commit
af6e132b37
48 changed files with 156 additions and 6 deletions
|
@ -70,4 +70,6 @@ public:
|
|||
uint16 GetNumRefs() const { return m_refCount; }
|
||||
};
|
||||
|
||||
#ifdef CHECK_STRUCT_SIZES
|
||||
static_assert(sizeof(CBaseModelInfo) == 0x30, "CBaseModelInfo: error");
|
||||
#endif
|
||||
|
|
|
@ -50,4 +50,7 @@ public:
|
|||
static RwFrame *FillFrameArrayCB(RwFrame *frame, void *data);
|
||||
static RwFrame *GetFrameFromId(RpClump *clump, int32 id);
|
||||
};
|
||||
|
||||
#ifdef CHECK_STRUCT_SIZES
|
||||
static_assert(sizeof(CClumpModelInfo) == 0x34, "CClumpModelInfo: error");
|
||||
#endif
|
||||
|
|
|
@ -49,4 +49,7 @@ public:
|
|||
void SetRelatedModel(CSimpleModelInfo *m){
|
||||
m_atomics[2] = (RpAtomic*)m; }
|
||||
};
|
||||
|
||||
#ifdef CHECK_STRUCT_SIZES
|
||||
static_assert(sizeof(CSimpleModelInfo) == 0x4C, "CSimpleModelInfo: error");
|
||||
#endif
|
||||
|
|
|
@ -17,4 +17,7 @@ public:
|
|||
void SetOtherTimeModel(int32 other) { m_otherTimeModelID = other; }
|
||||
CTimeModelInfo *FindOtherTimeModel(void);
|
||||
};
|
||||
|
||||
#ifdef CHECK_STRUCT_SIZES
|
||||
static_assert(sizeof(CTimeModelInfo) == 0x58, "CTimeModelInfo: error");
|
||||
#endif
|
|
@ -123,4 +123,7 @@ public:
|
|||
static int GetMaximumNumberOfPassengersFromNumberOfDoors(int id);
|
||||
static void SetComponentsToUse(int8 c1, int8 c2) { ms_compsToUse[0] = c1; ms_compsToUse[1] = c2; }
|
||||
};
|
||||
|
||||
#ifdef CHECK_STRUCT_SIZES
|
||||
static_assert(sizeof(CVehicleModelInfo) == 0x1F8, "CVehicleModelInfo: error");
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue