diff options
author | bigbossbro08 <bigbossbro08@gmail.com> | 2020-05-10 15:54:37 +0200 |
---|---|---|
committer | bigbossbro08 <bigbossbro08@gmail.com> | 2020-05-10 15:54:37 +0200 |
commit | af6e132b37e8b7e89e4c0c7a52e5bb81e4b1b9a8 (patch) | |
tree | 76d91c02ec3701babef050228de8a40fe2306dcd /src/animation | |
parent | Small unification (diff) | |
download | re3-af6e132b37e8b7e89e4c0c7a52e5bb81e4b1b9a8.tar re3-af6e132b37e8b7e89e4c0c7a52e5bb81e4b1b9a8.tar.gz re3-af6e132b37e8b7e89e4c0c7a52e5bb81e4b1b9a8.tar.bz2 re3-af6e132b37e8b7e89e4c0c7a52e5bb81e4b1b9a8.tar.lz re3-af6e132b37e8b7e89e4c0c7a52e5bb81e4b1b9a8.tar.xz re3-af6e132b37e8b7e89e4c0c7a52e5bb81e4b1b9a8.tar.zst re3-af6e132b37e8b7e89e4c0c7a52e5bb81e4b1b9a8.zip |
Diffstat (limited to '')
-rw-r--r-- | src/animation/AnimBlendAssociation.h | 3 | ||||
-rw-r--r-- | src/animation/AnimBlendHierarchy.h | 3 | ||||
-rw-r--r-- | src/animation/AnimBlendNode.h | 3 |
3 files changed, 9 insertions, 0 deletions
diff --git a/src/animation/AnimBlendAssociation.h b/src/animation/AnimBlendAssociation.h index dd4c7a34..4f3be016 100644 --- a/src/animation/AnimBlendAssociation.h +++ b/src/animation/AnimBlendAssociation.h @@ -84,4 +84,7 @@ public: return (CAnimBlendAssociation*)((uint8*)l - offsetof(CAnimBlendAssociation, link)); } }; + +#ifdef CHECK_STRUCT_SIZES static_assert(sizeof(CAnimBlendAssociation) == 0x40, "CAnimBlendAssociation: error"); +#endif
\ No newline at end of file diff --git a/src/animation/AnimBlendHierarchy.h b/src/animation/AnimBlendHierarchy.h index 917e1585..1bf687cc 100644 --- a/src/animation/AnimBlendHierarchy.h +++ b/src/animation/AnimBlendHierarchy.h @@ -24,4 +24,7 @@ public: void Uncompress(void); void RemoveUncompressedData(void); }; + +#ifdef CHECK_STRUCT_SIZES static_assert(sizeof(CAnimBlendHierarchy) == 0x28, "CAnimBlendHierarchy: error"); +#endif
\ No newline at end of file diff --git a/src/animation/AnimBlendNode.h b/src/animation/AnimBlendNode.h index 361a4134..46f2fee4 100644 --- a/src/animation/AnimBlendNode.h +++ b/src/animation/AnimBlendNode.h @@ -26,4 +26,7 @@ public: void GetCurrentTranslation(CVector &trans, float weight); void GetEndTranslation(CVector &trans, float weight); }; + +#ifdef CHECK_STRUCT_SIZES static_assert(sizeof(CAnimBlendNode) == 0x1C, "CAnimBlendNode: error"); +#endif
\ No newline at end of file |