Fix T5 command and alignment errors

This commit is contained in:
Jan 2021-05-13 18:53:38 +02:00
parent 8bd225afca
commit 224da79cf4
3 changed files with 5 additions and 4 deletions

View File

@ -1129,7 +1129,7 @@ namespace T5
int sequence; int sequence;
}; };
struct SndIndexEntry struct type_align(4) SndIndexEntry
{ {
uint16_t value; uint16_t value;
uint16_t next; uint16_t next;
@ -1284,7 +1284,7 @@ namespace T5
int partitionIndex; int partitionIndex;
}; };
struct CollisionAabbTree struct type_align(16) CollisionAabbTree
{ {
float origin[3]; float origin[3];
uint16_t materialIndex; uint16_t materialIndex;

View File

@ -49,10 +49,10 @@ set count vertsBlend vertCount[0]
+ 5 * vertCount[2] + 5 * vertCount[2]
+ 7 * vertCount[3]; + 7 * vertCount[3];
set reusable tensionData; set reusable tensionData;
set count tensionData vertCount[0] set count tensionData 12 * (vertCount[0]
+ vertCount[1] + vertCount[1]
+ vertCount[2] + vertCount[2]
+ vertCount[3]; + vertCount[3]);
// XRigidVertList // XRigidVertList
set reusable XRigidVertList::collisionTree; set reusable XRigidVertList::collisionTree;

View File

@ -47,6 +47,7 @@ set count constraints num_constraints;
set block ropes XFILE_BLOCK_RUNTIME; set block ropes XFILE_BLOCK_RUNTIME;
set count ropes max_ropes; set count ropes max_ropes;
reorder: reorder:
...
leafs leafs
leafbrushes leafbrushes
leafbrushNodes leafbrushNodes