ZoneCode: Add commands for clipMap

This commit is contained in:
Jan
2019-12-18 15:31:10 +01:00
parent be17ae6a48
commit 4d611f9770
2 changed files with 62 additions and 7 deletions

View File

@ -427,6 +427,38 @@ set count elements elementCount;
use clipMap_t;
set string name;
set name name;
set block pInfo XFILE_BLOCK_TEMP;
set reusable pInfo;
set count staticModelList numStaticModels;
set count nodes numNodes;
set count leafs numLeafs;
set count verts vertCount;
set count triIndices triCount;
set count triEdgeIsWalkable ((3 * triCount + 31) / 32) * 4;
set count partitions partitionCount;
set count aabbTrees aabbTreeCount;
set count cmodels numSubModels;
set count visibility numClusters * clusterBytes;
set reusable box_brush;
set count dynEntDefList[0] dynEntCount[0];
set count dynEntDefList[1] dynEntCount[1];
set block dynEntPoseList XFILE_BLOCK_RUNTIME_VIRTUAL;
set count dynEntPoseList[0] dynEntCount[0];
set count dynEntPoseList[1] dynEntCount[1];
set block dynEntClientList XFILE_BLOCK_RUNTIME_VIRTUAL;
set count dynEntClientList[0] dynEntCount[0];
set count dynEntClientList[1] dynEntCount[1];
set block dynEntServerList XFILE_BLOCK_RUNTIME_VIRTUAL;
set count dynEntServerList[0] dynEntCount[2];
set count dynEntServerList[1] dynEntCount[3];
set block dynEntCollList XFILE_BLOCK_RUNTIME_VIRTUAL;
set count dynEntCollList[0] dynEntCount[0];
set count dynEntCollList[1] dynEntCount[1];
set count dynEntCollList[2] dynEntCount[2];
set count dynEntCollList[3] dynEntCount[3];
set count constraints num_constraints;
set block ropes XFILE_BLOCK_RUNTIME_VIRTUAL;
set count ropes max_ropes;
// ClipInfo
use ClipInfo;
@ -467,7 +499,18 @@ set reusable sides;
set reusable verts;
// cmodel_t
set reusable cmodel_t::info;
use cmodel_t;
set reusable info;
set block info XFILE_BLOCK_TEMP;
// cNode_t
set reusable cNode_t::plane;
// DynEntityDef
use DynEntityDef;
set reusable destroyPieces;
set scriptstring targetname;
set scriptstring target;
// =========================================
// ComWorld
@ -1283,9 +1326,12 @@ set reusable info;
set count cmodels numSubModels;
set count models numSubModels;
// cmodel_t2
set reusable cmodel_t2::info;
// MapTriggers: See MapEnts
// ClipInfo: See clipMap_t
// cmodel_t: See clipMap_t
// GfxBrushModel: See GfxWorld
// =========================================