[clipMap_t] some attempts to generate triggers

This commit is contained in:
TheApadayo
2017-06-07 14:15:19 -04:00
parent 445c7825c0
commit 9997367ded
2 changed files with 45 additions and 9 deletions

View File

@ -2580,13 +2580,25 @@ namespace Game
unsigned __int16 *brushes;
};
struct cLeafBrushNodeChildren_t
{
float dist;
float range;
unsigned __int16 childOffset[2];
};
union cLeafBrushNodeData_t
{
cLeafBrushNodeLeaf_t leaf;
cLeafBrushNodeChildren_t children;
};
struct cLeafBrushNode_t
{
char axis;
__int16 leafBrushCount;
int contents;
cLeafBrushNodeLeaf_t data;
char pad[8];
cLeafBrushNodeData_t data;
};
struct cmodel_t