mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-11 07:18:11 -05:00
ZoneCode: Add commands for clipMap
This commit is contained in:
@ -860,8 +860,8 @@ struct clipMap_t
|
||||
unsigned int vertCount;
|
||||
vec3_t *verts;
|
||||
int triCount;
|
||||
unsigned __int16 *triIndices;
|
||||
char *triEdgeIsWalkable;
|
||||
unsigned __int16 (*triIndices)[3];
|
||||
char *triEdgeIsWalkable; // Saved as 1 bit per edge rounded up to the next 4 bytes
|
||||
int partitionCount;
|
||||
CollisionPartition *partitions;
|
||||
int aabbTreeCount;
|
||||
@ -2274,6 +2274,15 @@ struct MemoryBlock
|
||||
char *data;
|
||||
};
|
||||
|
||||
struct cmodel_t2
|
||||
{
|
||||
vec3_t mins;
|
||||
vec3_t maxs;
|
||||
float radius;
|
||||
ClipInfo *info;
|
||||
cLeaf_s leaf;
|
||||
};
|
||||
|
||||
struct AddonMapEnts
|
||||
{
|
||||
const char *name;
|
||||
@ -2282,7 +2291,7 @@ struct AddonMapEnts
|
||||
MapTriggers trigger;
|
||||
ClipInfo *info;
|
||||
unsigned int numSubModels;
|
||||
cmodel_t *cmodels;
|
||||
cmodel_t2 *cmodels;
|
||||
GfxBrushModel *models;
|
||||
};
|
||||
|
||||
@ -2703,7 +2712,7 @@ struct cLeafBrushNode_s
|
||||
cLeafBrushNodeData_t data;
|
||||
};
|
||||
|
||||
struct __declspec(align(8)) cbrush_t
|
||||
struct __declspec(align(16)) cbrush_t
|
||||
{
|
||||
vec3_t mins;
|
||||
int contents;
|
||||
@ -2758,7 +2767,7 @@ union CollisionAabbTreeIndex
|
||||
int partitionIndex;
|
||||
};
|
||||
|
||||
struct CollisionAabbTree
|
||||
struct __declspec(align(16)) CollisionAabbTree
|
||||
{
|
||||
vec3_t origin;
|
||||
unsigned __int16 materialIndex;
|
||||
|
Reference in New Issue
Block a user