mirror of
https://github.com/halpz/re3.git
synced 2025-07-22 00:09:45 +00:00
defined out asserts.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user