mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-11 07:18:11 -05:00
Add IW3 xmodel dumping
This commit is contained in:
@ -134,6 +134,7 @@ namespace IW3
|
||||
typedef char cbrushedge_t;
|
||||
typedef float vec2_t[2];
|
||||
typedef float vec3_t[3];
|
||||
typedef float vec4_t[4];
|
||||
typedef tdef_align(128) unsigned int raw_uint128;
|
||||
|
||||
struct XModelPiece
|
||||
@ -276,6 +277,12 @@ namespace IW3
|
||||
XAnimDeltaPart* deltaPart;
|
||||
};
|
||||
|
||||
struct DObjSkelMat
|
||||
{
|
||||
float axis[3][4];
|
||||
float origin[4];
|
||||
};
|
||||
|
||||
struct DObjAnimMat
|
||||
{
|
||||
float quat[4];
|
||||
@ -492,8 +499,8 @@ namespace IW3
|
||||
float radius;
|
||||
float mins[3];
|
||||
float maxs[3];
|
||||
int16_t numLods;
|
||||
int16_t collLod;
|
||||
uint16_t numLods;
|
||||
uint16_t collLod;
|
||||
XModelStreamInfo streamInfo;
|
||||
int memUsage;
|
||||
char flags;
|
||||
@ -593,10 +600,10 @@ namespace IW3
|
||||
{
|
||||
MaterialInfo info;
|
||||
char stateBitsEntry[34];
|
||||
char textureCount;
|
||||
char constantCount;
|
||||
char stateBitsCount;
|
||||
char stateFlags;
|
||||
unsigned char textureCount;
|
||||
unsigned char constantCount;
|
||||
unsigned char stateBitsCount;
|
||||
unsigned char stateFlags;
|
||||
char cameraRegion;
|
||||
MaterialTechniqueSet* techniqueSet;
|
||||
MaterialTextureDef* textureTable;
|
||||
|
Reference in New Issue
Block a user