mirror of
https://github.com/halpz/re3.git
synced 2025-07-16 15:28:11 +00:00
Fixed typos and made all assert functions optional
This commit is contained in:
@ -85,6 +85,4 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
#ifdef CHECK_STRUCT_SIZES
|
||||
static_assert(sizeof(CAnimBlendAssociation) == 0x40, "CAnimBlendAssociation: error");
|
||||
#endif
|
||||
VALIDATE_SIZE(CAnimBlendAssociation, 0x40);
|
||||
|
@ -26,7 +26,7 @@ struct AnimBlendFrameData
|
||||
#endif
|
||||
};
|
||||
#ifndef PED_SKIN
|
||||
static_assert(sizeof(AnimBlendFrameData) == 0x14, "AnimBlendFrameData: error");
|
||||
VALIDATE_SIZE(AnimBlendFrameData, 0x14);
|
||||
#endif
|
||||
|
||||
|
||||
@ -51,5 +51,5 @@ public:
|
||||
void ForAllFrames(void (*cb)(AnimBlendFrameData*, void*), void *arg);
|
||||
};
|
||||
#ifndef PED_SKIN
|
||||
static_assert(sizeof(CAnimBlendClumpData) == 0x14, "CAnimBlendClumpData: error");
|
||||
VALIDATE_SIZE(CAnimBlendClumpData, 0x14);
|
||||
#endif
|
||||
|
@ -25,6 +25,4 @@ public:
|
||||
void RemoveUncompressedData(void);
|
||||
};
|
||||
|
||||
#ifdef CHECK_STRUCT_SIZES
|
||||
static_assert(sizeof(CAnimBlendHierarchy) == 0x28, "CAnimBlendHierarchy: error");
|
||||
#endif
|
||||
VALIDATE_SIZE(CAnimBlendHierarchy, 0x28);
|
@ -27,6 +27,5 @@ public:
|
||||
void GetEndTranslation(CVector &trans, float weight);
|
||||
};
|
||||
|
||||
#ifdef CHECK_STRUCT_SIZES
|
||||
static_assert(sizeof(CAnimBlendNode) == 0x1C, "CAnimBlendNode: error");
|
||||
#endif
|
||||
|
||||
VALIDATE_SIZE(CAnimBlendNode, 0x1C);
|
||||
|
@ -51,5 +51,5 @@ public:
|
||||
#endif
|
||||
};
|
||||
#ifndef PED_SKIN
|
||||
static_assert(sizeof(CAnimBlendSequence) == 0x2C, "CAnimBlendSequence: error");
|
||||
VALIDATE_SIZE(CAnimBlendSequence, 0x2C);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user