mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-12 22:20:32 +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
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue