mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-04-21 00:25:44 +00:00
Make xmodel counts unsigned for iw3
This commit is contained in:
parent
248fef3d3c
commit
12c2629061
@ -472,9 +472,9 @@ namespace IW3
|
|||||||
struct XModel
|
struct XModel
|
||||||
{
|
{
|
||||||
const char* name;
|
const char* name;
|
||||||
char numBones;
|
unsigned char numBones;
|
||||||
char numRootBones;
|
unsigned char numRootBones;
|
||||||
char numsurfs;
|
unsigned char numsurfs;
|
||||||
char lodRampType;
|
char lodRampType;
|
||||||
uint16_t* boneNames;
|
uint16_t* boneNames;
|
||||||
char* parentList;
|
char* parentList;
|
||||||
@ -994,8 +994,8 @@ namespace IW3
|
|||||||
|
|
||||||
struct CollisionPartition
|
struct CollisionPartition
|
||||||
{
|
{
|
||||||
char triCount;
|
unsigned char triCount;
|
||||||
char borderCount;
|
unsigned char borderCount;
|
||||||
int firstTri;
|
int firstTri;
|
||||||
CollisionBorder* borders;
|
CollisionBorder* borders;
|
||||||
};
|
};
|
||||||
@ -1023,7 +1023,7 @@ namespace IW3
|
|||||||
cLeaf_t leaf;
|
cLeaf_t leaf;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct cbrush_t
|
struct type_align(16) cbrush_t
|
||||||
{
|
{
|
||||||
float mins[3];
|
float mins[3];
|
||||||
int contents;
|
int contents;
|
||||||
@ -1129,13 +1129,13 @@ namespace IW3
|
|||||||
unsigned int numSubModels;
|
unsigned int numSubModels;
|
||||||
cmodel_t* cmodels;
|
cmodel_t* cmodels;
|
||||||
uint16_t numBrushes;
|
uint16_t numBrushes;
|
||||||
cbrush_array_t* brushes;
|
cbrush_t* brushes;
|
||||||
int numClusters;
|
int numClusters;
|
||||||
int clusterBytes;
|
int clusterBytes;
|
||||||
char* visibility;
|
char* visibility;
|
||||||
int vised;
|
int vised;
|
||||||
MapEnts* mapEnts;
|
MapEnts* mapEnts;
|
||||||
cbrush_array_t* box_brush;
|
cbrush_t* box_brush;
|
||||||
cmodel_t box_model;
|
cmodel_t box_model;
|
||||||
uint16_t dynEntCount[2];
|
uint16_t dynEntCount[2];
|
||||||
DynEntityDef* dynEntDefList[2];
|
DynEntityDef* dynEntDefList[2];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user