mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-07-01 00:57:56 -05:00
chore: adjust game structs to have custom alignment when they are
platform independent
This commit is contained in:
@ -296,7 +296,7 @@ namespace IW3
|
||||
uint16_t maxs[3];
|
||||
};
|
||||
|
||||
struct type_align32(16) XSurfaceCollisionNode
|
||||
struct type_align(16) XSurfaceCollisionNode
|
||||
{
|
||||
XSurfaceCollisionAabb aabb;
|
||||
uint16_t childBeginIndex;
|
||||
@ -344,7 +344,7 @@ namespace IW3
|
||||
char array[4];
|
||||
};
|
||||
|
||||
struct type_align32(16) GfxPackedVertex
|
||||
struct type_align(16) GfxPackedVertex
|
||||
{
|
||||
float xyz[3];
|
||||
float binormalSign;
|
||||
@ -633,7 +633,7 @@ namespace IW3
|
||||
unsigned int loadBits[2];
|
||||
};
|
||||
|
||||
struct type_align32(16) MaterialConstantDef
|
||||
struct type_align(16) MaterialConstantDef
|
||||
{
|
||||
unsigned int nameHash;
|
||||
char name[12];
|
||||
@ -1775,7 +1775,7 @@ namespace IW3
|
||||
pathnode_tree_info_t u;
|
||||
};
|
||||
|
||||
struct type_align32(16) pathbasenode_t
|
||||
struct type_align(16) pathbasenode_t
|
||||
{
|
||||
float vOrigin[3];
|
||||
unsigned int type;
|
||||
@ -2044,14 +2044,14 @@ namespace IW3
|
||||
GfxImage* secondary;
|
||||
};
|
||||
|
||||
struct type_align32(4) GfxLightGridEntry
|
||||
struct type_align(4) GfxLightGridEntry
|
||||
{
|
||||
uint16_t colorsIndex;
|
||||
char primaryLightIndex;
|
||||
char needsTrace;
|
||||
};
|
||||
|
||||
struct type_align32(4) GfxLightGridColors
|
||||
struct type_align(4) GfxLightGridColors
|
||||
{
|
||||
char rgb[56][3];
|
||||
};
|
||||
@ -2137,7 +2137,7 @@ namespace IW3
|
||||
uint16_t surfId;
|
||||
};
|
||||
|
||||
struct type_align32(4) GfxSceneDynBrush
|
||||
struct type_align(4) GfxSceneDynBrush
|
||||
{
|
||||
BModelDrawInfo info;
|
||||
uint16_t dynEntId;
|
||||
|
Reference in New Issue
Block a user