diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-05-11 20:07:12 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-05-11 20:07:12 +0200 |
commit | 0aa7f13c32ea1991f4663f5eff1c37478fdf736f (patch) | |
tree | a994ac3a72f9b65dfe6648d3086d4415fe2b1234 /src/animation | |
parent | little fix for cam (diff) | |
parent | remove aps from premake (diff) | |
download | re3-0aa7f13c32ea1991f4663f5eff1c37478fdf736f.tar re3-0aa7f13c32ea1991f4663f5eff1c37478fdf736f.tar.gz re3-0aa7f13c32ea1991f4663f5eff1c37478fdf736f.tar.bz2 re3-0aa7f13c32ea1991f4663f5eff1c37478fdf736f.tar.lz re3-0aa7f13c32ea1991f4663f5eff1c37478fdf736f.tar.xz re3-0aa7f13c32ea1991f4663f5eff1c37478fdf736f.tar.zst re3-0aa7f13c32ea1991f4663f5eff1c37478fdf736f.zip |
Diffstat (limited to 'src/animation')
-rw-r--r-- | src/animation/AnimBlendClumpData.h | 2 | ||||
-rw-r--r-- | src/animation/AnimBlendHierarchy.h | 3 | ||||
-rw-r--r-- | src/animation/AnimBlendNode.h | 4 | ||||
-rw-r--r-- | src/animation/AnimBlendSequence.h | 2 |
4 files changed, 7 insertions, 4 deletions
diff --git a/src/animation/AnimBlendClumpData.h b/src/animation/AnimBlendClumpData.h index 10652d4a..b953ee88 100644 --- a/src/animation/AnimBlendClumpData.h +++ b/src/animation/AnimBlendClumpData.h @@ -27,7 +27,7 @@ struct AnimBlendFrameData #endif }; #ifndef PED_SKIN -static_assert(sizeof(AnimBlendFrameData) == 0x14, "AnimBlendFrameData: error"); +VALIDATE_SIZE(AnimBlendFrameData, 0x14); #endif diff --git a/src/animation/AnimBlendHierarchy.h b/src/animation/AnimBlendHierarchy.h index 018160ac..45c9217e 100644 --- a/src/animation/AnimBlendHierarchy.h +++ b/src/animation/AnimBlendHierarchy.h @@ -26,4 +26,5 @@ public: void Uncompress(void); void RemoveUncompressedData(void); }; -static_assert(sizeof(CAnimBlendHierarchy) == 0x28, "CAnimBlendHierarchy: error"); + +VALIDATE_SIZE(CAnimBlendHierarchy, 0x28);
\ No newline at end of file diff --git a/src/animation/AnimBlendNode.h b/src/animation/AnimBlendNode.h index 38610ff3..9446e1ae 100644 --- a/src/animation/AnimBlendNode.h +++ b/src/animation/AnimBlendNode.h @@ -28,4 +28,6 @@ public: void GetCurrentTranslation(CVector &trans, float weight); void GetEndTranslation(CVector &trans, float weight); }; -static_assert(sizeof(CAnimBlendNode) == 0x1C, "CAnimBlendNode: error"); + + +VALIDATE_SIZE(CAnimBlendNode, 0x1C); diff --git a/src/animation/AnimBlendSequence.h b/src/animation/AnimBlendSequence.h index 3d467078..6d8c98aa 100644 --- a/src/animation/AnimBlendSequence.h +++ b/src/animation/AnimBlendSequence.h @@ -56,5 +56,5 @@ public: #endif }; #ifndef PED_SKIN -static_assert(sizeof(CAnimBlendSequence) == 0x2C, "CAnimBlendSequence: error"); +VALIDATE_SIZE(CAnimBlendSequence, 0x2C); #endif |