2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-05-15 14:31:43 +00:00

chore: make xquat and xquat2 structs to improve handling from zcg

This commit is contained in:
Jan Laupetin
2025-06-19 21:07:11 +02:00
committed by Jan
parent 80558af9a1
commit 2230efbd27
5 changed files with 38 additions and 14 deletions
+10 -4
View File
@@ -379,7 +379,10 @@ namespace IW5
uint16_t _2[1];
};
typedef tdef_align32(4) short XQuat2[2];
struct type_align(4) XQuat2
{
int16_t value[2];
};
struct type_align32(4) XAnimDeltaPartQuatDataFrames2
{
@@ -390,7 +393,7 @@ namespace IW5
union XAnimDeltaPartQuatData2
{
XAnimDeltaPartQuatDataFrames2 frames;
short frame0[2];
XQuat2 frame0;
};
struct XAnimDeltaPartQuat2
@@ -405,7 +408,10 @@ namespace IW5
uint16_t _2[1];
};
typedef tdef_align32(4) short XQuat[4];
struct type_align(4) XQuat
{
int16_t value[4];
};
struct XAnimDeltaPartQuatDataFrames
{
@@ -416,7 +422,7 @@ namespace IW5
union XAnimDeltaPartQuatData
{
XAnimDeltaPartQuatDataFrames frames;
short frame0[4];
XQuat frame0;
};
struct XAnimDeltaPartQuat