Add missing IW5 commands

This commit is contained in:
Jan 2021-07-23 23:07:15 +02:00
parent c88987f7dc
commit 29f72cde7a
3 changed files with 23 additions and 3 deletions

View File

@ -1158,7 +1158,7 @@ namespace IW5
int partitionIndex; int partitionIndex;
}; };
struct CollisionAabbTree struct type_align(16) CollisionAabbTree
{ {
float midPoint[3]; float midPoint[3];
unsigned short materialIndex; unsigned short materialIndex;
@ -1694,7 +1694,7 @@ namespace IW5
unsigned char endVertIndex; unsigned char endVertIndex;
}; };
union FxGlassGeometryData union type_align(4) FxGlassGeometryData
{ {
FxGlassVertex vert; FxGlassVertex vert;
FxGlassHoleHeader hole; FxGlassHoleHeader hole;

View File

@ -11,4 +11,13 @@ set count entityString numEntityChars;
use MapTriggers; use MapTriggers;
set count models count; set count models count;
set count hulls hullCount; set count hulls hullCount;
set count slabs slabCount; set count slabs slabCount;
// ClientTriggers
use ClientTriggers;
set count triggerString triggerStringLength;
set count triggerStringOffsets trigger::count;
set count triggerType trigger::count;
set count origins trigger::count;
set count scriptDelay trigger::count;
set count audioTriggers trigger::count;

View File

@ -30,6 +30,12 @@ set count dynEntClientList[1] dynEntCount[1];
set block dynEntCollList XFILE_BLOCK_RUNTIME; set block dynEntCollList XFILE_BLOCK_RUNTIME;
set count dynEntCollList[0] dynEntCount[0]; set count dynEntCollList[0] dynEntCount[0];
set count dynEntCollList[1] dynEntCount[1]; set count dynEntCollList[1] dynEntCount[1];
reorder:
...
cmodels
smodelNodes
mapEnts
stages;
// ClipInfo // ClipInfo
use ClipInfo; use ClipInfo;
@ -70,6 +76,11 @@ set count data::leaf::brushes leafBrushCount;
// CollisionPartition // CollisionPartition
set reusable CollisionPartition::borders; set reusable CollisionPartition::borders;
// cmodel_t
use cmodel_t;
set block info XFILE_BLOCK_TEMP;
set reusable info;
// cbrush_t // cbrush_t
use cbrush_t; use cbrush_t;
set reusable sides; set reusable sides;