mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-04-21 00:25:44 +00:00
chore: update xmodel structs
This commit is contained in:
parent
c2be18e3d6
commit
237dc83cfc
@ -22,6 +22,8 @@ namespace T6
|
|||||||
|
|
||||||
typedef tdef_align(128) float float_align128;
|
typedef tdef_align(128) float float_align128;
|
||||||
|
|
||||||
|
typedef uint16_t ScriptString;
|
||||||
|
|
||||||
struct dvar_t;
|
struct dvar_t;
|
||||||
struct MenuCell;
|
struct MenuCell;
|
||||||
struct cplane_s;
|
struct cplane_s;
|
||||||
@ -591,14 +593,22 @@ namespace T6
|
|||||||
int partBits[5];
|
int partBits[5];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
enum XModelLodRampType : unsigned char
|
||||||
|
{
|
||||||
|
XMODEL_LOD_RAMP_RIGID = 0x0,
|
||||||
|
XMODEL_LOD_RAMP_SKINNED = 0x1,
|
||||||
|
|
||||||
|
XMODEL_LOD_RAMP_COUNT
|
||||||
|
};
|
||||||
|
|
||||||
struct XModel
|
struct XModel
|
||||||
{
|
{
|
||||||
const char* name;
|
const char* name;
|
||||||
unsigned char numBones;
|
unsigned char numBones;
|
||||||
unsigned char numRootBones;
|
unsigned char numRootBones;
|
||||||
unsigned char numsurfs;
|
unsigned char numsurfs;
|
||||||
char lodRampType;
|
XModelLodRampType lodRampType;
|
||||||
uint16_t* boneNames;
|
ScriptString* boneNames;
|
||||||
unsigned char* parentList;
|
unsigned char* parentList;
|
||||||
uint16_t (*quats)[4];
|
uint16_t (*quats)[4];
|
||||||
float (*trans)[4];
|
float (*trans)[4];
|
||||||
@ -618,7 +628,7 @@ namespace T6
|
|||||||
uint16_t collLod;
|
uint16_t collLod;
|
||||||
float* himipInvSqRadii;
|
float* himipInvSqRadii;
|
||||||
int memUsage;
|
int memUsage;
|
||||||
int flags;
|
unsigned int flags;
|
||||||
bool bad;
|
bool bad;
|
||||||
PhysPreset* physPreset;
|
PhysPreset* physPreset;
|
||||||
unsigned char numCollmaps;
|
unsigned char numCollmaps;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user