Separate command files to a single command file per asset and include them in the main command file

This commit is contained in:
Jan 2021-02-11 11:51:36 +01:00
parent 751cb2cd6e
commit e99e66cec5
86 changed files with 2647 additions and 2648 deletions

View File

@ -174,7 +174,7 @@ function ZoneCode:project()
files { files {
path.join(folder, "ZoneCode/**.gen"), path.join(folder, "ZoneCode/**.gen"),
path.join(folder, "ZoneCode/**.h"), path.join(folder, "ZoneCode/**.h"),
path.join(folder, "ZoneCode/**_Commands.txt") path.join(folder, "ZoneCode/**.txt")
} }
vpaths { vpaths {

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,7 @@
// =========================================
// AddonMapEnts
// =========================================
use AddonMapEnts;
set string name;
set name name;
set count entityString numEntityChars;

View File

@ -0,0 +1,10 @@
// =========================================
// ComWorld
// =========================================
use ComWorld;
set string name;
set name name;
set count primaryLights primaryLightCount;
// ComPrimaryLight
set string ComPrimaryLight::defName;

View File

@ -0,0 +1,8 @@
// =========================================
// Font_s
// =========================================
use Font_s;
set string fontName;
set name fontName;
set reusable glyphs;
set count glyphs glyphCount;

View File

@ -0,0 +1,49 @@
// =========================================
// FxEffectDef
// =========================================
use FxEffectDef;
set string name;
set name name;
set count elemDefs elemDefCountEmission + elemDefCountLooping + elemDefCountOneShot;
// FxElemDef
use FxElemDef;
set count velSamples velIntervalCount + 1;
set count visSamples visStateIntervalCount + 1;
// FxElemDefVisuals
use FxElemDefVisuals;
set condition markArray FxElemDef::elemType == FX_ELEM_TYPE_DECAL;
set count markArray FxElemDef::visualCount;
set condition array FxElemDef::visualCount > 1;
set count array FxElemDef::visualCount;
// FxElemVisuals
use FxElemVisuals;
set condition anonymous never;
set condition model FxElemDef::elemType == FX_ELEM_TYPE_MODEL;
set condition effectDef FxElemDef::elemType == FX_ELEM_TYPE_RUNNER;
set condition soundName FxElemDef::elemType == FX_ELEM_TYPE_SOUND;
set string soundName;
set condition material FxElemDef::elemType == FX_ELEM_TYPE_SPRITE_BILLBOARD
|| FxElemDef::elemType == FX_ELEM_TYPE_SPRITE_ORIENTED
|| FxElemDef::elemType == FX_ELEM_TYPE_TAIL
|| FxElemDef::elemType == FX_ELEM_TYPE_TRAIL
|| FxElemDef::elemType == FX_ELEM_TYPE_CLOUD
|| FxElemDef::elemType == FX_ELEM_TYPE_SPARK_CLOUD
|| FxElemDef::elemType == FX_ELEM_TYPE_SPARK_FOUNTAIN;
// FxEffectDefRef
use FxEffectDefRef;
set condition handle never;
set string name;
// FxElemExtendedDefPtr
use FxElemExtendedDefPtr;
set condition trailDef FxElemDef::elemType == FX_ELEM_TYPE_TRAIL;
set condition sparkFountainDef FxElemDef::elemType == FX_ELEM_TYPE_SPARK_FOUNTAIN;
// FxTrailDef
use FxTrailDef;
set count verts vertCount;
set count inds indCount;

View File

@ -0,0 +1,7 @@
// =========================================
// FxImpactTable
// =========================================
use FxImpactTable;
set string name;
set name name;
set count table 15;

View File

@ -0,0 +1,37 @@
// =========================================
// FxWorld
// =========================================
use FxWorld;
set string name;
set name name;
// FxGlassSystem
use FxGlassSystem;
set count defs defCount;
set block piecePlaces XFILE_BLOCK_RUNTIME;
set count piecePlaces pieceLimit;
set block pieceStates XFILE_BLOCK_RUNTIME;
set count pieceStates pieceLimit;
set block pieceDynamics XFILE_BLOCK_RUNTIME;
set count pieceDynamics pieceLimit;
set block geoData XFILE_BLOCK_RUNTIME;
set count geoData geoDataLimit;
set block isInUse XFILE_BLOCK_RUNTIME;
set count isInUse pieceWordCount;
set block cellBits XFILE_BLOCK_RUNTIME;
set count cellBits pieceWordCount * cellCount;
set block visData XFILE_BLOCK_RUNTIME;
set count visData (pieceLimit + 15) / 16 * 16;
set block linkOrg XFILE_BLOCK_RUNTIME;
set count linkOrg pieceLimit;
set block halfThickness XFILE_BLOCK_RUNTIME;
set count halfThickness (pieceLimit + 3) / 4 * 4;
set count lightingHandles initPieceCount;
set count initPieceStates initPieceCount;
set count initGeoData initGeoDataCount;
// FxGlassDef
reorder FxGlassDef:
physPreset
material
materialShattered;

View File

@ -0,0 +1,6 @@
// =========================================
// GameWorldMp
// =========================================
use GameWorldMp;
set string name;
set name name;

View File

@ -0,0 +1,66 @@
// =========================================
// GameWorldSp
// =========================================
use GameWorldSp;
set string name;
set name name;
// PathData
use PathData;
set count nodes nodeCount;
set block basenodes XFILE_BLOCK_RUNTIME;
set count basenodes nodeCount;
set count chainNodeForNode nodeCount;
set count nodeForChainNode nodeCount;
set count pathVis visBytes;
set count nodeTree nodeTreeCount;
// pathnode_t
set condition pathnode_t::transient never;
// pathnode_constant_t
use pathnode_constant_t;
set scriptstring targetname;
set scriptstring script_linkName;
set scriptstring script_noteworthy;
set scriptstring target;
set scriptstring animscript;
set count Links totalLinkCount;
// pathnode_dynamic_t
set condition pathnode_dynamic_t::pOwner never;
// pathnode_tree_t
use pathnode_tree_t;
set condition u::child axis >= 0;
set reusable u::child;
// pathnode_tree_nodes_t
set count pathnode_tree_nodes_t::nodes nodeCount;
// VehicleTrack
use VehicleTrack;
set reusable segments;
set count segments segmentCount;
// VehicleTrackSegment
use VehicleTrackSegment;
set string targetName;
set count sectors sectorCount;
set reusable nextBranches;
set count nextBranches nextBranchesCount;
set reusable prevBranches;
set count prevBranches prevBranchesCount;
// VehicleTrackSector
set count VehicleTrackSector::obstacles obstacleCount;
// G_GlassData
use G_GlassData;
set count glassPieces pieceCount;
set count glassNames glassNameCount;
// G_GlassName
use G_GlassName;
set string nameStr;
set count pieceIndices pieceCount;

View File

@ -0,0 +1,21 @@
// =========================================
// GfxImage
// =========================================
use GfxImage;
set action OnImageLoaded(GfxImage);
set string name;
set name name;
reorder:
name
texture;
// GfxTexture
use GfxTexture;
set reusable loadDef;
set block loadDef XFILE_BLOCK_TEMP;
set condition texture never;
// GfxImageLoadDef
use GfxImageLoadDef;
set action LoadImageData(GfxImageLoadDef, GfxImage);
set arraysize data resourceSize;

View File

@ -0,0 +1,6 @@
// =========================================
// GfxLightDef
// =========================================
use GfxLightDef;
set string name;
set name name;

View File

@ -0,0 +1,127 @@
// =========================================
// GfxWorld
// =========================================
use GfxWorld;
set string name;
set name name;
set string baseName;
set count skies skyCount;
set count aabbTreeCounts dpvsPlanes::cellCount;
set count aabbTrees dpvsPlanes::cellCount;
set count cells dpvsPlanes::cellCount;
set count models modelCount;
set count materialMemory materialMemoryCount;
set block cellCasterBits XFILE_BLOCK_RUNTIME;
set count cellCasterBits dpvsPlanes::cellCount * ((dpvsPlanes::cellCount + 31) / 32);
set block cellHasSunLitSurfsBits XFILE_BLOCK_RUNTIME;
set count cellHasSunLitSurfsBits (dpvsPlanes::cellCount + 31) / 32;
set block sceneDynModel XFILE_BLOCK_RUNTIME;
set count sceneDynModel dpvsDyn::dynEntClientCount[0];
set block sceneDynBrush XFILE_BLOCK_RUNTIME;
set count sceneDynBrush dpvsDyn::dynEntClientCount[1];
set block primaryLightEntityShadowVis XFILE_BLOCK_RUNTIME;
set count primaryLightEntityShadowVis (primaryLightCount - lastSunPrimaryLightIndex - 1) * 0x2000;
set block primaryLightDynEntShadowVis XFILE_BLOCK_RUNTIME;
set count primaryLightDynEntShadowVis[0] dpvsDyn::dynEntClientCount[0] * (primaryLightCount - lastSunPrimaryLightIndex - 1);
set count primaryLightDynEntShadowVis[1] dpvsDyn::dynEntClientCount[1] * (primaryLightCount - lastSunPrimaryLightIndex - 1);
set block nonSunPrimaryLightForModelDynEnt XFILE_BLOCK_RUNTIME;
set count nonSunPrimaryLightForModelDynEnt dpvsDyn::dynEntClientCount[0];
set count shadowGeom primaryLightCount;
set count lightRegion primaryLightCount;
set count heroOnlyLights heroOnlyLightCount;
// GfxSky
set count GfxSky::skyStartSurfs skySurfCount;
// GfxWorldDpvsPlanes
use GfxWorldDpvsPlanes;
set reusable planes;
set count planes GfxWorld::planeCount;
set count nodes GfxWorld::nodeCount;
set block sceneEntCellBits XFILE_BLOCK_RUNTIME;
set count sceneEntCellBits cellCount * 0x200;
// GfxCellTree
// Extremly dirty hack caused by IW doing an extremly dirty hack in their code as well.
// No idea why they decided to separate the count from the pointer that uses the count.
// Thank you Treyarch for doing better in your games at least.
set count GfxCellTree::aabbTree GfxWorld::aabbTreeCounts[GfxCellTree - GfxWorld::aabbTrees];
// GfxAabbTree
use GfxAabbTree;
set reusable smodelIndexes;
set count smodelIndexes smodelIndexCount;
// GfxCell
use GfxCell;
set count portals portalCount;
set count reflectionProbes reflectionProbeCount;
// GfxPortal
use GfxPortal;
set condition writable never;
set count vertices vertexCount;
// GfxWorldDraw
use GfxWorldDraw;
set count reflectionProbes reflectionProbeCount;
set count reflectionProbeOrigins reflectionProbeCount;
set block reflectionProbeTextures XFILE_BLOCK_RUNTIME;
set count reflectionProbeTextures reflectionProbeCount;
set count lightmaps lightmapCount;
set block lightmapPrimaryTextures XFILE_BLOCK_RUNTIME;
set count lightmapPrimaryTextures lightmapCount;
set block lightmapSecondaryTextures XFILE_BLOCK_RUNTIME;
set count lightmapSecondaryTextures lightmapCount;
set count vd::vertices vertexCount;
set condition vd::worldVb never;
set count vld::data vertexLayerDataSize;
set condition vld::layerVb never;
set count indices indexCount;
// GfxLightGrid
use GfxLightGrid;
set count rowDataStart maxs[rowAxis] - mins[rowAxis] + 1;
set count rawRowData rawRowDataSize;
set count entries entryCount;
set count colors colorCount;
// GfxShadowGeometry
use GfxShadowGeometry;
set count sortedSurfIndex surfaceCount;
set count smodelIndex smodelCount;
// GfxLightRegion
set count GfxLightRegion::hulls hullCount;
// GfxLightRegionHull
set count GfxLightRegionHull::axis axisCount;
// GfxWorldDpvsStatic
use GfxWorldDpvsStatic;
set block smodelVisData XFILE_BLOCK_RUNTIME;
set count smodelVisData smodelCount;
set block surfaceVisData XFILE_BLOCK_RUNTIME;
set count surfaceVisData staticSurfaceCount;
set count sortedSurfIndex staticSurfaceCount + staticSurfaceCountNoDecal;
set count smodelInsts smodelCount;
set count surfaces GfxWorld::surfaceCount;
set count surfacesBounds GfxWorld::surfaceCount;
set count smodelDrawInsts smodelCount;
set block surfaceMaterials XFILE_BLOCK_RUNTIME;
set count surfaceMaterials GfxWorld::surfaceCount;
set block surfaceCastsSunShadow XFILE_BLOCK_RUNTIME;
set count surfaceCastsSunShadow surfaceVisDataCount;
// GfxWorldDpvsDynamic
use GfxWorldDpvsDynamic;
set block dynEntCellBits XFILE_BLOCK_RUNTIME;
set count dynEntCellBits[0] dynEntClientWordCount[0] * GfxWorld::dpvsPlanes::cellCount;
set count dynEntCellBits[1] dynEntClientWordCount[1] * GfxWorld::dpvsPlanes::cellCount;
set block dynEntVisData XFILE_BLOCK_RUNTIME;
set count dynEntVisData[0][0] 32 * dynEntClientWordCount[0];
set count dynEntVisData[1][0] 32 * dynEntClientWordCount[1];
set count dynEntVisData[0][1] 32 * dynEntClientWordCount[0];
set count dynEntVisData[1][1] 32 * dynEntClientWordCount[1];
set count dynEntVisData[0][2] 32 * dynEntClientWordCount[0];
set count dynEntVisData[1][2] 32 * dynEntClientWordCount[1];

View File

@ -0,0 +1,12 @@
// =========================================
// LeaderboardDef
// =========================================
use LeaderboardDef;
set string name;
set name name;
set count columns columnCount;
// LbColumnDef
use LbColumnDef;
set string name;
set string statName;

View File

@ -0,0 +1,15 @@
// =========================================
// LoadedSound
// =========================================
use LoadedSound;
set string name;
set name name;
// MssSound
use MssSound;
set block data XFILE_BLOCK_TEMP;
set reusable data;
set count data info::data_len;
set condition info::data_ptr never;
set condition info::initial_ptr never;
set action SetSoundData(MssSound);

View File

@ -0,0 +1,7 @@
// =========================================
// LocalizeEntry
// =========================================
use LocalizeEntry;
set string name;
set name name;
set string value;

View File

@ -0,0 +1,17 @@
// =========================================
// MapEnts
// =========================================
use MapEnts;
set string name;
set name name;
set count entityString numEntityChars;
set count stages stageCount;
// MapTriggers
use MapTriggers;
set count models count;
set count hulls hullCount;
set count slabs slabCount;
// Stage
set string Stage::name;

View File

@ -0,0 +1,22 @@
// =========================================
// Material
// =========================================
use Material;
set string info::name;
set name info::name;
set reusable textureTable;
set count textureTable textureCount;
set reusable constantTable;
set count constantTable constantCount;
set reusable stateBitsTable;
set count stateBitsTable stateBitsCount;
// MaterialTextureDef
use MaterialTextureDef;
set condition u::water semantic == TS_WATER_MAP;
set reusable u::water;
// water_t
use water_t;
set count H0 N * M;
set count wTerm N * M;

View File

@ -0,0 +1,12 @@
// =========================================
// MaterialPixelShader
// =========================================
use MaterialPixelShader;
set string name;
set name name;
// GfxPixelShaderLoadDef
set count GfxPixelShaderLoadDef::program programSize;
// MaterialPixelShaderProgram
set condition MaterialPixelShaderProgram::ps never;

View File

@ -0,0 +1,26 @@
// =========================================
// MaterialTechniqueSet
// =========================================
use MaterialTechniqueSet;
set string name;
set name name;
set condition remappedTechniqueSet never;
set reusable techniques;
// MaterialTechnique
use MaterialTechnique;
set string name;
set arraysize passArray passCount;
reorder:
passArray
name;
// MaterialPass
use MaterialPass;
set count args perPrimArgCount + perObjArgCount + stableArgCount;
// MaterialShaderArgument
use MaterialShaderArgument;
set condition u::literalConst type == MTL_ARG_LITERAL_VERTEX_CONST
|| type == MTL_ARG_LITERAL_PIXEL_CONST;
set reusable u::literalConst;

View File

@ -0,0 +1,9 @@
// =========================================
// MaterialVertexDeclaration
// =========================================
use MaterialVertexDeclaration;
set string name;
set name name;
// MaterialVertexStreamRouting
set condition MaterialVertexStreamRouting::decl never;

View File

@ -0,0 +1,12 @@
// =========================================
// MaterialVertexShader
// =========================================
use MaterialVertexShader;
set string name;
set name name;
// GfxVertexShaderLoadDef
set count GfxVertexShaderLoadDef::program programSize;
// MaterialVertexShaderProgram
set condition MaterialVertexShaderProgram::vs never;

View File

@ -0,0 +1,7 @@
// =========================================
// MenuList
// =========================================
use MenuList;
set string name;
set name name;
set count menus menuCount;

View File

@ -0,0 +1,26 @@
// =========================================
// PhysCollmap
// =========================================
use PhysCollmap;
set string name;
set name name;
set count geoms count;
// PhysGeomInfo
use PhysGeomInfo;
set count brushWrapper 1;
// BrushWrapper
use BrushWrapper;
set reusable planes;
set count planes brush::numsides;
// cbrushWrapper_t
use cbrushWrapper_t;
set count sides numsides;
set count baseAdjacentSide BrushWrapper::totalEdgeCount;
// cbrushside_t
use cbrushside_t;
set reusable plane;
set count plane 1;

View File

@ -0,0 +1,7 @@
// =========================================
// PhysPreset
// =========================================
use PhysPreset;
set string name;
set name name;
set string sndAliasPrefix;

View File

@ -0,0 +1,9 @@
// =========================================
// RawFile
// =========================================
use RawFile;
set string name;
set name name;
set condition data::compressedBuffer compressedLen > 0;
set count data::compressedBuffer compressedLen;
set count data::buffer len + 1;

View File

@ -0,0 +1,6 @@
// =========================================
// SndCurve
// =========================================
use SndCurve;
set string filename;
set name filename;

View File

@ -0,0 +1,10 @@
// =========================================
// StringTable
// =========================================
use StringTable;
set string name;
set name name;
set count values columnCount * rowCount;
// StringTableCell
set string StringTableCell::string;

View File

@ -0,0 +1,26 @@
// =========================================
// StructuredDataDefSet
// =========================================
use StructuredDataDefSet;
set string name;
set name name;
set count defs defCount;
// StructuredDataDef
use StructuredDataDef;
set count enums enumCount;
set count structs structCount;
set count indexedArrays indexedArrayCount;
set count enumedArrays enumedArrayCount;
// StructuredDataEnum
set count StructuredDataEnum::entries entryCount;
// StructuredDataEnumEntry
set string StructuredDataEnumEntry::string;
// StructuredDataStruct
set count StructuredDataStruct::properties propertyCount;
// StructuredDataStructProperty
set string StructuredDataStructProperty::name;

View File

@ -0,0 +1,6 @@
// =========================================
// TracerDef
// =========================================
use TracerDef;
set string name;
set name name;

View File

@ -0,0 +1,15 @@
// =========================================
// VehicleDef
// =========================================
use VehicleDef;
set string name;
set name name;
set string useHintString;
set string turretWeaponName;
set scriptstring trophyTags;
set string surfaceSndPrefix;
// VehiclePhysDef
use VehiclePhysDef;
set string physPresetName;
set string accelGraphName;

View File

@ -0,0 +1,83 @@
// =========================================
// WeaponCompleteDef
// =========================================
use WeaponCompleteDef;
set string szInternalName;
set name szInternalName;
set reusable weapDef;
set string szDisplayName;
set reusable hideTags;
set scriptstring hideTags;
set count hideTags 32;
set string szXAnims;
set reusable szXAnims;
set count szXAnims 37;
set string szAltWeaponName;
set reusable accuracyGraphKnots;
set count accuracyGraphKnots[0] accuracyGraphKnotCount[0];
set count accuracyGraphKnots[1] accuracyGraphKnotCount[1];
// WeaponDef
use WeaponDef;
set string szOverlayName;
set reusable gunXModel;
set count gunXModel 16;
set reusable szXAnimsRightHanded;
set string szXAnimsRightHanded;
set count szXAnimsRightHanded 37;
set reusable szXAnimsLeftHanded;
set string szXAnimsLeftHanded;
set count szXAnimsLeftHanded 37;
set string szModeName;
set reusable notetrackSoundMapKeys;
set scriptstring notetrackSoundMapKeys;
set count notetrackSoundMapKeys 16;
set reusable notetrackSoundMapValues;
set scriptstring notetrackSoundMapValues;
set count notetrackSoundMapValues 16;
set reusable notetrackRumbleMapKeys;
set scriptstring notetrackRumbleMapKeys;
set count notetrackRumbleMapKeys 16;
set reusable notetrackRumbleMapValues;
set scriptstring notetrackRumbleMapValues;
set count notetrackRumbleMapValues 16;
set reusable bounceSound;
set count bounceSound 31;
set reusable worldModel;
set count worldModel 16;
set string szAmmoName;
set string szClipName;
set string szSharedAmmoCapName;
set reusable parallelBounce;
set count parallelBounce 31;
set reusable perpendicularBounce;
set count perpendicularBounce 31;
set string accuracyGraphName0;
set string accuracyGraphName1;
set reusable originalAccuracyGraphKnots0;
set reusable originalAccuracyGraphKnots1;
set count originalAccuracyGraphKnots0 WeaponCompleteDef::accuracyGraphKnotCount[0];
set count originalAccuracyGraphKnots1 WeaponCompleteDef::accuracyGraphKnotCount[1];
set string szUseHintString;
set string dropHintString;
set string szScript;
set reusable locationDamageMultipliers;
set count locationDamageMultipliers 20;
set string fireRumble;
set string meleeImpactRumble;
set string turretBarrelSpinRumble;
reorder:
...
accuracyGraphName0
originalAccuracyGraphKnots0
accuracyGraphName1
originalAccuracyGraphKnots1;
// SndAliasCustom
use SndAliasCustom;
set count name 1;
set reusable name;
set condition sound never;
// snd_alias_list_name
set string snd_alias_list_name::soundName;

View File

@ -0,0 +1,82 @@
// =========================================
// XAnimParts
// =========================================
use XAnimParts;
set string name;
set name name;
set scriptstring names;
set count names boneCount[9];
set count notify notifyCount;
set count deltaPart 1;
set count dataByte dataByteCount;
set count dataShort dataShortCount;
set count dataInt dataIntCount;
set count randomDataShort randomDataShortCount;
set count randomDataByte randomDataByteCount;
set count randomDataInt randomDataIntCount;
set count indices::_1 indexCount;
set count indices::_2 indexCount;
set condition indices::_1 numframes < 256;
set condition indices::data never;
reorder:
name
names
notify
deltaPart
dataByte
dataShort
dataInt
randomDataShort
randomDataByte
randomDataInt
indices;
// XAnimNotifyInfo
set scriptstring XAnimNotifyInfo::name;
// XAnimDeltaPart
use XAnimDeltaPart;
set count trans 1;
set count quat2 1;
set count quat 1;
// XAnimPartTrans
use XAnimPartTrans;
set condition u::frames size > 0;
set condition u::frames::indices::_1 XAnimParts::numframes < 256;
set arraysize u::frames::indices::_1 size + 1;
set arraysize u::frames::indices::_2 size + 1;
set condition u::frames::frames::_1 smallTrans;
set count u::frames::frames::_1 size + 1;
set count u::frames::frames::_2 size + 1;
// XAnimPartTransFrames
reorder XAnimPartTransFrames:
indices
frames;
// XAnimDeltaPartQuat2
use XAnimDeltaPartQuat2;
set condition u::frames size > 0;
set condition u::frames::indices::_1 XAnimParts::numframes < 256;
set arraysize u::frames::indices::_1 size + 1;
set arraysize u::frames::indices::_2 size + 1;
set count u::frames::frames size + 1;
// XAnimDeltaPartQuatDataFrames2
reorder XAnimDeltaPartQuatDataFrames2:
indices
frames;
// XAnimDeltaPartQuat
use XAnimDeltaPartQuat;
set condition u::frames size > 0;
set condition u::frames::indices::_1 XAnimParts::numframes < 256;
set arraysize u::frames::indices::_1 size + 1;
set arraysize u::frames::indices::_2 size + 1;
set count u::frames::frames size + 1;
// XAnimDeltaPartQuatDataFrames
reorder XAnimDeltaPartQuatDataFrames:
indices
frames;

View File

@ -0,0 +1,70 @@
// =========================================
// XModel
// =========================================
use XModel;
set string name;
set name name;
set scriptstring boneNames;
set reusable boneNames;
set count boneNames numBones;
set reusable parentList;
set count parentList numBones - numRootBones;
set reusable quats;
set count quats numBones - numRootBones;
set reusable trans;
set count trans numBones - numRootBones;
set reusable partClassification;
set count partClassification numBones;
set reusable baseMat;
set count baseMat numBones;
set count materialHandles numsurfs;
set count collSurfs numCollSurfs;
set count boneInfo numBones;
// XModelLodInfo
use XModelLodInfo;
set block modelSurfs XFILE_BLOCK_TEMP;
set reusable modelSurfs;
set condition surfs never;
// XModelSurfs
use XModelSurfs;
set block XFILE_BLOCK_VIRTUAL;
set string name;
set count surfs XModelLodInfo::numsurfs; // No this is not a mistake. This is how the game does it.
// XSurface
use XSurface;
set reusable verts0;
set block verts0 XFILE_BLOCK_VERTEX;
set count verts0 vertCount;
set reusable vertList;
set count vertList vertListCount;
set reusable triIndices;
set block triIndices XFILE_BLOCK_INDEX;
set count triIndices triCount;
reorder:
zoneHandle
vertInfo
verts0
vertList
triIndices;
// XSurfaceVertexInfo
use XSurfaceVertexInfo;
set reusable vertsBlend;
set count vertsBlend vertCount[0]
+ 3 * vertCount[1]
+ 5 * vertCount[2]
+ 7 * vertCount[3];
// XRigidVertList
set reusable XRigidVertList::collisionTree;
// XSurfaceCollisionTree
use XSurfaceCollisionTree;
set count nodes nodeCount;
set count leafs leafCount;
// XModelCollSurf_s
set count XModelCollSurf_s::collTris numCollTris;

View File

@ -0,0 +1,70 @@
// =========================================
// clipMap_t
// =========================================
use clipMap_t;
set string name;
set name name;
set reusable planes;
set count planes planeCount;
set count staticModelList numStaticModels;
set count materials numMaterials;
set count brushsides numBrushSides;
set count brushEdges numBrushEdges;
set count nodes numNodes;
set count leafs numLeafs;
set count leafbrushNodes leafbrushNodesCount;
set count leafbrushes numLeafBrushes;
set count leafsurfaces numLeafSurfaces;
set count verts vertCount;
set count triIndices 3 * triCount;
set count triEdgeIsWalkable ((3 * triCount + 31) / 32) * 4;
set count borders borderCount;
set count partitions partitionCount;
set count aabbTrees aabbTreeCount;
set count cmodels numSubModels;
set count brushes numBrushes;
set count brushBounds numBrushes;
set count brushContents numBrushes;
set count smodelNodes smodelNodeCount;
set count dynEntDefList[0] dynEntCount[0];
set count dynEntDefList[1] dynEntCount[1];
set block dynEntPoseList XFILE_BLOCK_RUNTIME;
set count dynEntPoseList[0] dynEntCount[0];
set count dynEntPoseList[1] dynEntCount[1];
set block dynEntClientList XFILE_BLOCK_RUNTIME;
set count dynEntClientList[0] dynEntCount[0];
set count dynEntClientList[1] dynEntCount[1];
set block dynEntCollList XFILE_BLOCK_RUNTIME;
set count dynEntCollList[0] dynEntCount[0];
set count dynEntCollList[1] dynEntCount[1];
reorder:
...
leafs
leafbrushes
leafbrushNodes;
reorder:
...
brushContents
smodelNodes
mapEnts;
// ClipMaterial
set string ClipMaterial::name;
// cNode_t
set reusable cNode_t::plane;
// cLeafBrushNode_s
use cLeafBrushNode_s;
set condition data::leaf leafBrushCount > 0;
set reusable data::leaf::brushes;
set count data::leaf::brushes leafBrushCount;
// CollisionPartition
use CollisionPartition;
set reusable borders;
// cbrush_t
use cbrush_t;
set reusable sides;
set reusable baseAdjacentSide;

View File

@ -0,0 +1,149 @@
// =========================================
// menuDef_t
// =========================================
use menuDef_t;
set string window::name;
set name window::name;
set string font;
set reusable visibleExp;
set string allowedBinding;
set string soundName;
set reusable rectXExp;
set reusable rectYExp;
set reusable rectWExp;
set reusable rectHExp;
set reusable openSoundExp;
set reusable closeSoundExp;
set count items itemCount;
set reusable expressionData;
reorder:
expressionData
window
font
onOpen
onClose
onCloseRequest
onESC
onKey
visibleExp
allowedBinding
soundName
rectXExp
rectYExp
rectWExp
rectHExp
openSoundExp
closeSoundExp
items;
// windowDef_t
use windowDef_t;
set string name;
set string group;
// MenuEventHandlerSet
set count MenuEventHandlerSet::eventHandlers eventHandlerCount;
// MenuEventHandler
use MenuEventHandler;
set string eventData::unconditionalScript;
set condition eventData::unconditionalScript eventType == EVENT_UNCONDITIONAL;
set condition eventData::conditionalScript eventType == EVENT_IF;
set condition eventData::elseScript eventType == EVENT_ELSE;
set condition eventData::setLocalVarData eventType == EVENT_SET_LOCAL_VAR_BOOL
|| eventType == EVENT_SET_LOCAL_VAR_INT
|| eventType == EVENT_SET_LOCAL_VAR_FLOAT
|| eventType == EVENT_SET_LOCAL_VAR_STRING;
// ConditionalScript
use ConditionalScript;
set reusable eventExpression;
reorder:
eventExpression
eventHandlerSet;
// SetLocalVarData
use SetLocalVarData;
set string localVarName;
set reusable expression;
// Statement_s
use Statement_s;
set count entries numEntries;
set reusable supportingData;
set condition lastResult never;
// expressionEntry
set condition expressionEntry::data::operand type == EET_OPERAND;
// Operand
use Operand;
set reusable internals::function;
set condition internals::intVal dataType == VAL_INT;
set condition internals::floatVal dataType == VAL_FLOAT;
set condition internals::stringVal dataType == VAL_STRING;
set condition internals::function dataType == VAL_FUNCTION;
// ExpressionString
set string ExpressionString::string;
// itemDef_s
use itemDef_s;
set string text;
set condition parent never;
set string dvar;
set string dvarTest;
set string enableDvar;
set string localVar;
set count floatExpressions floatExpressionCount;
set reusable visibleExp;
set reusable disabledExp;
set reusable textExp;
set reusable materialExp;
// itemDefData_t
use itemDefData_t;
set string enumDvarName;
set condition data never;
set condition listBox itemDef_s::type == 6;
set condition editField itemDef_s::type == 0
|| itemDef_s::type == 4
|| itemDef_s::type == 9
|| itemDef_s::type == 10
|| itemDef_s::type == 11
|| itemDef_s::type == 14
|| itemDef_s::type == 16
|| itemDef_s::type == 17
|| itemDef_s::type == 18
|| itemDef_s::type == 22
|| itemDef_s::type == 23;
set condition multi itemDef_s::type == 12;
set condition enumDvarName itemDef_s::type == 13;
set condition ticker itemDef_s::type == 20;
set condition scroll itemDef_s::type == 21;
// multiDef_s
use multiDef_s;
set string dvarList;
set string dvarStr;
// ItemFloatExpression
set reusable ItemFloatExpression::expression;
// UIFunctionList
use UIFunctionList;
set count functions totalFunctions;
set reusable functions; // This statement makes both the array of pointers and the pointers in the array reusable. only the second one is correct however this shouldn't be a problem with vanilla fastfiles.
// StaticDvarList
set count StaticDvarList::staticDvars numStaticDvars;
// StaticDvar
use StaticDvar;
set condition dvar never;
set string dvarName;
// StringList
use StringList;
set count strings totalStrings;
set string strings;

View File

@ -0,0 +1,29 @@
// =========================================
// snd_alias_list_t
// =========================================
use snd_alias_list_t;
set string aliasName;
set name aliasName;
set reusable head;
set count head count;
// snd_alias_t
use snd_alias_t;
set string aliasName;
set string subtitle;
set string secondaryAliasName;
set string chainAliasName;
set string mixerGroup;
set reusable soundFile;
set reusable speakerMap;
// SoundFile
set condition SoundFile::u::loadSnd type == SAT_LOADED;
// SpeakerMap
set string SpeakerMap::name;
// StreamedSound
use StreamedSound;
set string dir;
set string name;

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,18 @@
// =========================================
// AddonMapEnts
// =========================================
use AddonMapEnts;
set string name;
set name name;
set count entityString numEntityChars;
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
// GfxBrushModel: See GfxWorld

View File

@ -0,0 +1,10 @@
// =========================================
// ComWorld
// =========================================
use ComWorld;
set string name;
set name name;
set count primaryLights primaryLightCount;
// ComPrimaryLight
set string ComPrimaryLight::defName;

View File

@ -0,0 +1,20 @@
// =========================================
// DestructibleDef
// =========================================
use DestructibleDef;
set string name;
set name name;
set count pieces numPieces;
// DestructiblePiece
use DestructiblePiece;
set string damageSound;
set string burnSound;
set scriptstring enableLabel;
// DestructibleStage
use DestructibleStage;
set string breakSound;
set string breakNotify;
set string loopSound;
set scriptstring showBone;

View File

@ -0,0 +1,34 @@
// =========================================
// EmblemSet
// =========================================
use EmblemSet;
set count layers layerCount;
set count categories categoryCount;
set count iconTypes iconTypeCount;
set count bgCategories iconTypeCount;
set count icons iconTypeCount;
set count backgrounds backgroundCount;
set count backgroundLookup backgroundLookupCount;
// EmblemCategory
use EmblemCategory;
set string name;
set string description;
// EmblemIconType
use EmblemIconType;
set string name;
set string description;
// EmblemBGCategory
use EmblemBGCategory;
set string name;
set string description;
// EmblemIcon
use EmblemIcon;
set string description;
// EmblemBackground
use EmblemBackground;
set string description;

View File

@ -0,0 +1,13 @@
// =========================================
// FontIcon
// =========================================
use FontIcon;
set string name;
set name name;
set reusable fontIconEntry;
set count fontIconEntry numEntries;
set reusable fontIconAlias;
set count fontIconAlias numAliasEntries;
// FontIconName
set string FontIconName::string;

View File

@ -0,0 +1,10 @@
// =========================================
// Font_s
// =========================================
use Font_s;
set string fontName;
set name fontName;
set reusable glyphs;
set count glyphs glyphCount;
set reusable kerningPairs;
set count kerningPairs kerningPairsCount;

View File

@ -0,0 +1,6 @@
// =========================================
// FootstepFXTableDef
// =========================================
use FootstepFXTableDef;
set string name;
set name name;

View File

@ -0,0 +1,6 @@
// =========================================
// FootstepTableDef
// =========================================
use FootstepTableDef;
set string name;
set name name;

View File

@ -0,0 +1,53 @@
// =========================================
// FxEffectDef
// =========================================
use FxEffectDef;
set string name;
set name name;
set count elemDefs elemDefCountLooping + elemDefCountOneShot + elemDefCountEmission;
// FxElemDef
use FxElemDef;
set count velSamples velIntervalCount + 1;
set count visSamples visStateIntervalCount + 1;
// FxElemDefVisuals
use FxElemDefVisuals;
set condition markArray FxElemDef::elemType == FX_ELEM_TYPE_DECAL;
set count markArray FxElemDef::visualCount;
set condition array FxElemDef::visualCount > 1;
set count array FxElemDef::visualCount;
// FxElemVisuals
use FxElemVisuals;
set condition anonymous never;
set condition model FxElemDef::elemType == FX_ELEM_TYPE_MODEL;
set condition effectDef FxElemDef::elemType == FX_ELEM_TYPE_RUNNER;
set condition soundName FxElemDef::elemType == FX_ELEM_TYPE_SOUND;
set string soundName;
set condition lightDef FxElemDef::elemType == FX_ELEM_TYPE_SPOT_LIGHT;
set condition material FxElemDef::elemType == FX_ELEM_TYPE_SPRITE_BILLBOARD
|| FxElemDef::elemType == FX_ELEM_TYPE_SPRITE_ORIENTED
|| FxElemDef::elemType == FX_ELEM_TYPE_SPRITE_ROTATED
|| FxElemDef::elemType == FX_ELEM_TYPE_TAIL
|| FxElemDef::elemType == FX_ELEM_TYPE_LINE
|| FxElemDef::elemType == FX_ELEM_TYPE_TRAIL
|| FxElemDef::elemType == FX_ELEM_TYPE_CLOUD;
// FxEffectDefRef
use FxEffectDefRef;
set condition handle never;
set string name;
// FxElemExtendedDefPtr
use FxElemExtendedDefPtr;
set condition trailDef FxElemDef::elemType == FX_ELEM_TYPE_TRAIL;
set condition spotLightDef FxElemDef::elemType == FX_ELEM_TYPE_SPOT_LIGHT;
// FxTrailDef
use FxTrailDef;
set count verts vertCount;
set count inds indCount;
// FxElemSpawnSound
set string FxElemSpawnSound::spawnSound;

View File

@ -0,0 +1,7 @@
// =========================================
// FxImpactTable
// =========================================
use FxImpactTable;
set string name;
set name name;
set count table 21;

View File

@ -0,0 +1,6 @@
// =========================================
// GameWorldMp
// =========================================
use GameWorldMp;
set string name;
set name name;

View File

@ -0,0 +1,36 @@
// =========================================
// GameWorldSp
// =========================================
use GameWorldSp;
set string name;
set name name;
// PathData
use PathData;
set count nodes nodeCount + 128;
set block basenodes XFILE_BLOCK_RUNTIME_VIRTUAL;
set count basenodes nodeCount + 128;
set count pathVis visBytes;
set count smoothCache smoothBytes;
set count nodeTree nodeTreeCount;
// pathnode_t
set condition pathnode_t::transient never;
// pathnode_constant_t
use pathnode_constant_t;
set scriptstring targetname;
set scriptstring script_linkName;
set scriptstring script_noteworthy;
set scriptstring target;
set scriptstring animscript;
set count Links totalLinkCount;
// pathnode_tree_t
use pathnode_tree_t;
set condition u::s axis < 0;
set reusable u::child;
// pathnode_tree_nodes_t
use pathnode_tree_nodes_t;
set count nodes nodeCount;

View File

@ -0,0 +1,23 @@
// =========================================
// GfxImage
// =========================================
use GfxImage;
set action OnImageLoaded(GfxImage);
set string name;
set name name;
set condition pixels never;
reorder:
name
texture;
// GfxTexture
use GfxTexture;
set reusable loadDef;
set block loadDef XFILE_BLOCK_TEMP;
set condition basemap never;
set condition texture never;
// GfxImageLoadDef
use GfxImageLoadDef;
set action LoadImageData(GfxImageLoadDef, GfxImage);
set arraysize data resourceSize;

View File

@ -0,0 +1,6 @@
// =========================================
// GfxLightDef
// =========================================
use GfxLightDef;
set string name;
set name name;

View File

@ -0,0 +1,199 @@
// =========================================
// GfxWorld
// =========================================
use GfxWorld;
set string name;
set name name;
set string baseName;
set string skyBoxModel;
set reusable sunLight;
set count coronas coronaCount;
set count shadowMapVolumes shadowMapVolumeCount;
set count shadowMapVolumePlanes shadowMapVolumePlaneCount;
set count exposureVolumes exposureVolumeCount;
set count exposureVolumePlanes exposureVolumePlaneCount;
set count worldFogVolumes worldFogVolumeCount;
set count worldFogVolumePlanes worldFogVolumePlaneCount;
set count worldFogModifierVolumes worldFogModifierVolumeCount;
set count worldFogModifierVolumePlanes worldFogModifierVolumePlaneCount;
set count lutVolumes lutVolumeCount;
set count lutVolumePlanes lutVolumePlaneCount;
set count cells dpvsPlanes::cellCount;
set count models modelCount;
set count materialMemory materialMemoryCount;
set block cellCasterBits XFILE_BLOCK_RUNTIME_VIRTUAL;
set count cellCasterBits dpvsPlanes::cellCount * ((dpvsPlanes::cellCount + 31) / 32);
set block sceneDynModel XFILE_BLOCK_RUNTIME_VIRTUAL;
set count sceneDynModel dpvsDyn::dynEntClientCount[0];
set block sceneDynBrush XFILE_BLOCK_RUNTIME_VIRTUAL;
set count sceneDynBrush dpvsDyn::dynEntClientCount[1];
set block primaryLightEntityShadowVis XFILE_BLOCK_RUNTIME_VIRTUAL;
set count primaryLightEntityShadowVis (primaryLightCount - sunPrimaryLightIndex - 1) * 0x2000;
set block primaryLightDynEntShadowVis XFILE_BLOCK_RUNTIME_VIRTUAL;
set count primaryLightDynEntShadowVis[0] dpvsDyn::dynEntClientCount[0] * (primaryLightCount - sunPrimaryLightIndex - 1);
set count primaryLightDynEntShadowVis[1] dpvsDyn::dynEntClientCount[1] * (primaryLightCount - sunPrimaryLightIndex - 1);
set count siegeSkinInsts numSiegeSkinInsts;
set count shadowGeom primaryLightCount;
set count lightRegion primaryLightCount;
set count occluders numOccluders;
set count outdoorBounds numOutdoorBounds;
set count heroLights heroLightCount;
set count heroLightTree heroLightTreeCount;
// GfxWorldStreamInfo
use GfxWorldStreamInfo;
set count aabbTrees aabbTreeCount;
set count leafRefs leafRefCount;
// GfxWorldDpvsPlanes
use GfxWorldDpvsPlanes;
set reusable planes;
set count planes GfxWorld::planeCount;
set count nodes GfxWorld::nodeCount;
set block sceneEntCellBits XFILE_BLOCK_RUNTIME_VIRTUAL;
set count sceneEntCellBits cellCount * 0x200;
// GfxCell
use GfxCell;
set count aabbTree aabbTreeCount;
set count portals portalCount;
set count reflectionProbes reflectionProbeCount;
// GfxAabbTree
use GfxAabbTree;
set reusable smodelIndexes;
set count smodelIndexes smodelIndexCount;
// GfxPortal
use GfxPortal;
set condition writable never;
set reusable cell;
set count vertices vertexCount;
// GfxWorldDraw
use GfxWorldDraw;
set count reflectionProbes reflectionProbeCount;
set block reflectionProbeTextures XFILE_BLOCK_RUNTIME_VIRTUAL;
set count reflectionProbeTextures reflectionProbeCount;
set count lightmaps lightmapCount;
set block lightmapPrimaryTextures XFILE_BLOCK_RUNTIME_VIRTUAL;
set count lightmapPrimaryTextures lightmapCount;
set block lightmapSecondaryTextures XFILE_BLOCK_RUNTIME_VIRTUAL;
set count lightmapSecondaryTextures lightmapCount;
set count indices indexCount;
set condition indexBuffer never;
// GfxReflectionProbe
use GfxReflectionProbe;
set count probeVolumes probeVolumeCount;
// GfxWorldVertexData0
use GfxWorldVertexData0;
set count data GfxWorldDraw::vertexDataSize0;
set condition vb never;
// GfxWorldVertexData1
use GfxWorldVertexData1;
set count data GfxWorldDraw::vertexDataSize1;
set condition vb never;
// GfxLightGrid
use GfxLightGrid;
set count rowDataStart maxs[rowAxis] - mins[rowAxis] + 1;
set count rawRowData rawRowDataSize;
set count entries entryCount;
set count colors colorCount;
set count coeffs coeffCount;
set count skyGridVolumes skyGridVolumeCount;
// SSkinInstance
use SSkinInstance;
set reusable shaders;
set reusable model;
set reusable anim;
set count instVerts model::numVerts;
// SSkinShaders
use SSkinShaders;
set count pixelShaderAlign pixelShaderSize;
set count pixelShader pixelShaderSize;
set count vertexShader vertexShaderSize;
// SSkinModel
use SSkinModel;
set count verts numVerts;
set count tris numTris;
// SSkinAnim
use SSkinAnim;
set count data 4 * width * frames;
// GfxShadowGeometry
use GfxShadowGeometry;
set count sortedSurfIndex surfaceCount;
set count smodelIndex smodelCount;
// GfxLightRegion
use GfxLightRegion;
set count hulls hullCount;
// GfxLightRegionHull
use GfxLightRegionHull;
set count axis axisCount;
// GfxWorldDpvsStatic
use GfxWorldDpvsStatic;
set block smodelVisData XFILE_BLOCK_RUNTIME_VIRTUAL;
set count smodelVisData smodelVisDataCount;
set block surfaceVisData XFILE_BLOCK_RUNTIME_VIRTUAL;
set count surfaceVisData surfaceVisDataCount;
set block smodelVisDataCameraSaved XFILE_BLOCK_RUNTIME_VIRTUAL;
set count smodelVisDataCameraSaved smodelVisDataCount;
set block surfaceVisDataCameraSaved XFILE_BLOCK_RUNTIME_VIRTUAL;
set count surfaceVisDataCameraSaved surfaceVisDataCount;
set block surfaceCastsSunShadow XFILE_BLOCK_RUNTIME_VIRTUAL;
set count surfaceCastsSunShadow surfaceVisDataCount;
set block surfaceCastsShadow XFILE_BLOCK_RUNTIME_VIRTUAL;
set count surfaceCastsShadow surfaceVisDataCount;
set count smodelCastsShadow smodelVisDataCount;
set count sortedSurfIndex staticSurfaceCount;
set count smodelInsts smodelCount;
set count surfaces GfxWorld::surfaceCount;
set count smodelDrawInsts smodelCount;
set block surfaceMaterials XFILE_BLOCK_RUNTIME_VIRTUAL;
set count surfaceMaterials staticSurfaceCount;
reorder:
smodelVisData
surfaceVisData
smodelVisDataCameraSaved
surfaceVisDataCameraSaved
surfaceCastsSunShadow
surfaceCastsShadow
smodelCastsShadow
sortedSurfIndex
smodelInsts
surfaces
smodelDrawInsts
surfaceMaterials;
// GfxStaticModelLmapVertexInfo
use GfxStaticModelLmapVertexInfo;
set count lmapVertexColors numLmapVertexColors;
set condition lmapVertexColorsVB never;
// GfxWorldDpvsDynamic
use GfxWorldDpvsDynamic;
set block dynEntCellBits XFILE_BLOCK_RUNTIME_VIRTUAL;
set count dynEntCellBits[0] dynEntClientWordCount[0] * GfxWorld::dpvsPlanes::cellCount;
set count dynEntCellBits[1] dynEntClientWordCount[1] * GfxWorld::dpvsPlanes::cellCount;
set block dynEntVisData XFILE_BLOCK_RUNTIME_VIRTUAL;
set count dynEntVisData[0][0] 32 * dynEntClientWordCount[0];
set count dynEntVisData[1][0] 32 * dynEntClientWordCount[1];
set count dynEntVisData[0][1] 32 * dynEntClientWordCount[0];
set count dynEntVisData[1][1] 32 * dynEntClientWordCount[1];
set count dynEntVisData[0][2] 32 * dynEntClientWordCount[0];
set count dynEntVisData[1][2] 32 * dynEntClientWordCount[1];
// GfxWaterBuffer
use GfxWaterBuffer;
set count buffer bufferSize / 16;

View File

@ -0,0 +1,20 @@
// =========================================
// Glasses
// =========================================
use Glasses;
set string name;
set name name;
set count glasses numGlasses;
set condition workMemory never;
// Glass
use Glass;
set reusable glassDef;
set count outline numOutlineVerts;
// GlassDef
use GlassDef;
set string name;
set string crackSound;
set string shatterShound;
set string autoShatterShound;

View File

@ -0,0 +1,10 @@
// =========================================
// KeyValuePairs
// =========================================
use KeyValuePairs;
set string name;
set name name;
set count keyValuePairs numVariables;
// KeyValuePair
set string KeyValuePair::value;

View File

@ -0,0 +1,13 @@
// =========================================
// LeaderboardDef
// =========================================
use LeaderboardDef;
set string name;
set name name;
set count columns columnCount;
// LbColumnDef
use LbColumnDef;
set string name;
set string statName;
set string localization;

View File

@ -0,0 +1,7 @@
// =========================================
// LocalizeEntry
// =========================================
use LocalizeEntry;
set string value;
set string name;
set name name;

View File

@ -0,0 +1,16 @@
// =========================================
// MapEnts
// =========================================
use MapEnts;
set string name;
set name name;
set count entityString numEntityChars;
// MapTriggers
use MapTriggers;
set count models count;
set reusable models;
set count hulls hullCount;
set reusable hulls;
set count slabs slabCount;
set reusable slabs;

View File

@ -0,0 +1,18 @@
// =========================================
// Material
// =========================================
use Material;
set string info::name;
set name info::name;
set reusable textureTable;
set count textureTable textureCount;
set reusable constantTable;
set count constantTable constantCount;
set reusable stateBitsTable;
set count stateBitsTable stateBitsCount;
// GfxStateBits
use GfxStateBits;
set condition blendState never;
set condition depthStencilState never;
set condition rasterizerState never;

View File

@ -0,0 +1,54 @@
// =========================================
// MaterialTechniqueSet
// =========================================
use MaterialTechniqueSet;
set string name;
set name name;
set reusable techniques;
// MaterialTechnique
use MaterialTechnique;
set string name;
set arraysize passArray passCount;
reorder:
passArray
name;
// MaterialPass
use MaterialPass;
set count args perPrimArgCount + perObjArgCount + stableArgCount;
set reusable vertexShader;
set reusable vertexDecl;
set reusable pixelShader;
reorder:
vertexShader
vertexDecl
pixelShader
args;
// MaterialVertexStreamRouting
set condition MaterialVertexStreamRouting::decl never;
// MaterialVertexShader
set string MaterialVertexShader::name;
// MaterialVertexShaderProgram
set condition MaterialVertexShaderProgram::vs never;
// GfxVertexShaderLoadDef
set count GfxVertexShaderLoadDef::program programSize;
// MaterialPixelShader;
set string MaterialPixelShader::name;
// MaterialPixelShaderProgram
set condition MaterialPixelShaderProgram::ps never;
// GfxPixelShaderLoadDef
set count GfxPixelShaderLoadDef::program programSize;
// MaterialShaderArgument
use MaterialShaderArgument;
set condition u::literalConst type == MTL_ARG_LITERAL_VERTEX_CONST
|| type == MTL_ARG_LITERAL_PIXEL_CONST;
set reusable u::literalConst;

View File

@ -0,0 +1,6 @@
// =========================================
// MemoryBlock
// =========================================
use MemoryBlock;
set string name;
set name name;

View File

@ -0,0 +1,7 @@
// =========================================
// MenuList
// =========================================
use MenuList;
set string name;
set name name;
set count menus menuCount;

View File

@ -0,0 +1,13 @@
// =========================================
// PhysConstraints
// =========================================
use PhysConstraints;
set string name;
set name name;
use PhysConstraint;
set scriptstring targetname;
set scriptstring target_ent1;
set string target_bone1;
set scriptstring target_ent2;
set string target_bone2;

View File

@ -0,0 +1,7 @@
// =========================================
// PhysPreset
// =========================================
use PhysPreset;
set string name;
set name name;
set string sndAliasPrefix;

View File

@ -0,0 +1,7 @@
// =========================================
// Qdb
// =========================================
use Qdb;
set string name;
set name name;
set count buffer len + 1;

View File

@ -0,0 +1,7 @@
// =========================================
// RawFile
// =========================================
use RawFile;
set string name;
set name name;
set count buffer len + 1;

View File

@ -0,0 +1,7 @@
// =========================================
// ScriptParseTree
// =========================================
use ScriptParseTree;
set string name;
set name name;
set count buffer len + 1;

View File

@ -0,0 +1,6 @@
// =========================================
// SkinnedVertsDef
// =========================================
use SkinnedVertsDef;
set string name;
set name name;

View File

@ -0,0 +1,7 @@
// =========================================
// Slug
// =========================================
use Slug;
set string name;
set name name;
set count buffer len + 1;

View File

@ -0,0 +1,41 @@
// =========================================
// SndBank
// =========================================
use SndBank;
set string name;
set name name;
set count alias aliasCount;
set count aliasIndex aliasCount;
set count radverbs radverbCount;
set count ducks duckCount;
set count scriptIdLookups scriptIdLookupCount;
// SndAliasList
use SndAliasList;
set string name;
set reusable head;
set count head count;
// SndAlias
use SndAlias;
set string name;
set string subtitle;
set string secondaryname;
set string assetFileName;
// SndDuck
use SndDuck;
set count attenuation 32;
set count filter 32;
// SndRuntimeAssetBank
use SndRuntimeAssetBank;
set string zone;
set string language;
// SndLoadedAssets
use SndLoadedAssets;
set string zone;
set string language;
set count entries entryCount;
set count data dataSize;

View File

@ -0,0 +1,14 @@
// =========================================
// SndDriverGlobals
// =========================================
use SndDriverGlobals;
set string name;
set name name;
set count groups groupCount;
set count curves curveCount;
set count pans panCount;
set count duckGroups duckGroupCount;
set count contexts contextCount;
set count masters masterCount;
set count voiceDucks voiceDuckCount;
set count futzes futzCount;

View File

@ -0,0 +1,7 @@
// =========================================
// SndPatch
// =========================================
use SndPatch;
set string name;
set name name;
set count elements elementCount;

View File

@ -0,0 +1,11 @@
// =========================================
// StringTable
// =========================================
use StringTable;
set string name;
set name name;
set count values columnCount * rowCount;
set count cellIndex columnCount * rowCount;
// StringTableCell
set string StringTableCell::string;

View File

@ -0,0 +1,6 @@
// =========================================
// TracerDef
// =========================================
use TracerDef;
set string name;
set name name;

View File

@ -0,0 +1,51 @@
// =========================================
// VehicleDef
// =========================================
use VehicleDef;
set string name;
set name name;
set string turretWeapon;
set string gunnerWeapon;
set string sndNames;
set string sndMaterialNames;
set string futzName;
set string animSet;
set scriptstring extraWheelTags;
set scriptstring driverHideTag;
set scriptstring attachmentTags;
set scriptstring deathAttachmentTags;
set scriptstring deathFxTag;
set string deathFxSound;
set scriptstring lightFxTag;
set scriptstring friendlyLightFxTag;
set scriptstring enemyLightFxTag;
set string shootShock;
set string shootRumble;
set string rumbleType;
set string compassIcon;
set string gasButtonName;
set string reverseBrakeButtonName;
set string handBrakeButtonName;
set string attackButtonName;
set string attackSecondaryButtonName;
set string boostButtonName;
set string moveUpButtonName;
set string moveDownButtonName;
set string switchSeatButtonName;
set string steerGraphName;
set condition steerGraph never;
set string accelGraphName;
set condition accelGraph never;
set string csvInclude;
// VehicleParameter
use VehicleParameter;
set string m_name;
// VehicleDriveBySound
use VehicleDriveBySound;
set string name;
// VehicleEngineSound
use VehicleEngineSound;
set string name;

View File

@ -0,0 +1,7 @@
// =========================================
// WeaponAttachment
// =========================================
use WeaponAttachment;
set string szInternalName;
set name szInternalName;
set string szDisplayName;

View File

@ -0,0 +1,32 @@
// =========================================
// WeaponAttachmentUnique
// =========================================
use WeaponAttachmentUnique;
set string szInternalName;
set name szInternalName;
set string szAltWeaponName;
set string szDualWieldWeaponName;
set scriptstring hideTags;
set count hideTags 32;
set reusable hideTags;
set string viewModelTag;
set string worldModelTag;
set string szXAnims;
set count szXAnims 88;
set reusable szXAnims;
set count locationDamageMultipliers 21;
set reusable locationDamageMultipliers;
set string fireSound;
set string fireSoundPlayer;
set string fireLoopSound;
set string fireLoopSoundPlayer;
set string fireLoopEndSound;
set string fireLoopEndSoundPlayer;
set string fireStartSound;
set string fireStopSound;
set string fireStartSoundPlayer;
set string fireStopSoundPlayer;
set string fireLastSound;
set string fireLastSoundPlayer;
set string fireKillcamSound;
set string fireKillcamSoundPlayer;

View File

@ -0,0 +1,17 @@
// =========================================
// WeaponCamo
// =========================================
use WeaponCamo;
set string name;
set name name;
set count camoSets numCamoSets;
set count camoMaterials numCamoMaterials;
// WeaponCamoMaterialSet
use WeaponCamoMaterialSet;
set count materials numMaterials;
// WeaponCamoMaterial
use WeaponCamoMaterial;
set count baseMaterials numBaseMaterials;
set count camoMaterials numBaseMaterials;

View File

@ -0,0 +1,193 @@
// =========================================
// WeaponVariantDef
// =========================================
use WeaponVariantDef;
set string szInternalName;
set name szInternalName;
set reusable weapDef;
set string szDisplayName;
set string szAltWeaponName;
set string szAttachmentUnique;
set count attachments 63;
set reusable attachments;
set count attachmentUniques 95;
set reusable attachmentUniques;
set string szXAnims;
set count szXAnims 88;
set reusable szXAnims;
set scriptstring hideTags;
set count hideTags 32;
set reusable hideTags;
set count attachViewModel 8;
set reusable attachViewModel;
set count attachWorldModel 8;
set reusable attachWorldModel;
set string attachViewModelTag;
set count attachViewModelTag 8;
set reusable attachViewModelTag;
set string attachWorldModelTag;
set count attachWorldModelTag 8;
set reusable attachWorldModelTag;
set string szAmmoDisplayName;
set string szAmmoName;
set string szClipName;
// WeaponDef
use WeaponDef;
set string szOverlayName;
set count gunXModel 16;
set reusable gunXModel;
set string szModeName;
set scriptstring notetrackSoundMapKeys;
set count notetrackSoundMapKeys 20;
set reusable notetrackSoundMapKeys;
set scriptstring notetrackSoundMapValues;
set count notetrackSoundMapValues 20;
set reusable notetrackSoundMapValues;
set string parentWeaponName;
set string pickupSound;
set string pickupSoundPlayer;
set string ammoPickupSound;
set string ammoPickupSoundPlayer;
set string projectileSound;
set string pullbackSound;
set string pullbackSoundPlayer;
set string fireSound;
set string fireSoundPlayer;
set string fireLoopSound;
set string fireLoopSoundPlayer;
set string fireLoopEndSound;
set string fireLoopEndSoundPlayer;
set string fireStartSound;
set string fireStopSound;
set string fireKillcamSound;
set string fireStartSoundPlayer;
set string fireStopSoundPlayer;
set string fireKillcamSoundPlayer;
set string fireLastSound;
set string fireLastSoundPlayer;
set string emptyFireSound;
set string emptyFireSoundPlayer;
set string crackSound;
set string whizbySound;
set string meleeSwipeSound;
set string meleeSwipeSoundPlayer;
set string meleeHitSound;
set string meleeMissSound;
set string rechamberSound;
set string rechamberSoundPlayer;
set string reloadSound;
set string reloadSoundPlayer;
set string reloadEmptySound;
set string reloadEmptySoundPlayer;
set string reloadStartSound;
set string reloadStartSoundPlayer;
set string reloadEndSound;
set string reloadEndSoundPlayer;
set string rotateLoopSound;
set string rotateLoopSoundPlayer;
set string rotateStopSound;
set string rotateStopSoundPlayer;
set string deploySound;
set string deploySoundPlayer;
set string finishDeploySound;
set string finishDeploySoundPlayer;
set string breakdownSound;
set string breakdownSoundPlayer;
set string finishBreakdownSound;
set string finishBreakdownSoundPlayer;
set string detonateSound;
set string detonateSoundPlayer;
set string nightVisionWearSound;
set string nightVisionWearSoundPlayer;
set string nightVisionRemoveSound;
set string nightVisionRemoveSoundPlayer;
set string altSwitchSound;
set string altSwitchSoundPlayer;
set string raiseSound;
set string raiseSoundPlayer;
set string firstRaiseSound;
set string firstRaiseSoundPlayer;
set string adsRaiseSoundPlayer;
set string adsLowerSoundPlayer;
set string putawaySound;
set string putawaySoundPlayer;
set string overheatSound;
set string overheatSoundPlayer;
set string adsZoomSound;
set string shellCasing;
set string shellCasingPlayer;
set string bounceSound;
set count bounceSound 32;
set reusable bounceSound;
set string standMountedWeapdef;
set string crouchMountedWeapdef;
set string proneMountedWeapdef;
set count worldModel 16;
set reusable worldModel;
set string szSharedAmmoCapName;
set scriptstring explosionTag;
set string spinLoopSound;
set string spinLoopSoundPlayer;
set string startSpinSound;
set string startSpinSoundPlayer;
set string stopSpinSound;
set string stopSpinSoundPlayer;
set string stackSound;
set string szSpawnedGrenadeWeaponName;
set string szDualWieldWeaponName;
set string projExplosionSound;
set string projDudSound;
set string mortarShellSound;
set string tankShellSound;
set count parallelBounce 32;
set reusable parallelBounce;
set count perpendicularBounce 32;
set reusable perpendicularBounce;
set string projIgnitionSound;
set string accuracyGraphName0;
set string accuracyGraphName1;
set reusable accuracyGraphKnots0;
set reusable accuracyGraphKnots1;
set count accuracyGraphKnots0 accuracyGraphKnotCount[0];
set count accuracyGraphKnots1 accuracyGraphKnotCount[1];
set reusable originalAccuracyGraphKnots0;
set reusable originalAccuracyGraphKnots1;
set count originalAccuracyGraphKnots0 accuracyGraphKnotCount[0];
set count originalAccuracyGraphKnots1 accuracyGraphKnotCount[1];
set string szUseHintString;
set string dropHintString;
set string szScript;
set count locationDamageMultipliers 21;
set reusable locationDamageMultipliers;
set string fireRumble;
set string meleeImpactRumble;
set string reloadRumble;
set string explosionRumble;
set string flameTableFirstPerson;
set string flameTableThirdPerson;
set reusable flameTableFirstPersonPtr;
set reusable flameTableThirdPersonPtr;
set string throwBackType;
reorder:
...
accuracyGraphName0
accuracyGraphKnots0
originalAccuracyGraphKnots0
accuracyGraphName1
accuracyGraphKnots1
originalAccuracyGraphKnots1;
reorder:
...
killIcon
indicatorIcon;
// flameTable
use flameTable;
set string name;
set string flameOffLoopSound;
set string flameIgniteSound;
set string flameOnLoopSound;
set string flameCooldownSound;

View File

@ -0,0 +1,82 @@
// =========================================
// XAnimParts
// =========================================
use XAnimParts;
set string name;
set name name;
set scriptstring names;
set count names boneCount[9];
set count notify notifyCount;
set count deltaPart 1;
set count dataByte dataByteCount;
set count dataShort dataShortCount;
set count dataInt dataIntCount;
set count randomDataShort randomDataShortCount;
set count randomDataByte randomDataByteCount;
set count randomDataInt randomDataIntCount;
set count indices::_1 indexCount;
set count indices::_2 indexCount;
set condition indices::_1 numframes < 256;
set condition indices::data never;
reorder:
name
names
notify
deltaPart
dataByte
dataShort
dataInt
randomDataShort
randomDataByte
randomDataInt
indices;
// XAnimNotifyInfo
set scriptstring XAnimNotifyInfo::name;
// XAnimDeltaPart
use XAnimDeltaPart;
set count trans 1;
set count quat2 1;
set count quat 1;
// XAnimPartTrans
use XAnimPartTrans;
set condition u::frames size > 0;
set condition u::frames::indices::_1 XAnimParts::numframes < 256;
set arraysize u::frames::indices::_1 size + 1;
set arraysize u::frames::indices::_2 size + 1;
set condition u::frames::frames::_1 smallTrans;
set count u::frames::frames::_1 size + 1;
set count u::frames::frames::_2 size + 1;
// XAnimPartTransFrames
reorder XAnimPartTransFrames:
indices
frames;
// XAnimDeltaPartQuat2
use XAnimDeltaPartQuat2;
set condition u::frames size > 0;
set condition u::frames::indices::_1 XAnimParts::numframes < 256;
set arraysize u::frames::indices::_1 size + 1;
set arraysize u::frames::indices::_2 size + 1;
set count u::frames::frames size + 1;
// XAnimDeltaPartQuatDataFrames2
reorder XAnimDeltaPartQuatDataFrames2:
indices
frames;
// XAnimDeltaPartQuat
use XAnimDeltaPartQuat;
set condition u::frames size > 0;
set condition u::frames::indices::_1 XAnimParts::numframes < 256;
set arraysize u::frames::indices::_1 size + 1;
set arraysize u::frames::indices::_2 size + 1;
set count u::frames::frames size + 1;
// XAnimDeltaPartQuatDataFrames
reorder XAnimDeltaPartQuatDataFrames:
indices
frames;

View File

@ -0,0 +1,16 @@
// =========================================
// XGlobals
// =========================================
use XGlobals;
set string name;
set name name;
set arraycount gumps gumpsCount;
set condition gumps gumpsCount >= 0 && gumpsCount <= 32;
set arraycount overlays overlayCount;
set condition overlays overlayCount >= 0 && overlayCount <= 32;
// gump_info_t
set string gump_info_t::name;
// overlay_info_t
set string overlay_info_t::name;

View File

@ -0,0 +1,90 @@
// =========================================
// XModel
// =========================================
use XModel;
set string name;
set name name;
set scriptstring boneNames;
set reusable boneNames;
set count boneNames numBones;
set reusable parentList;
set count parentList numBones - numRootBones;
set reusable quats;
set count quats numBones - numRootBones;
set reusable trans;
set count trans numBones - numRootBones;
set reusable partClassification;
set count partClassification numBones;
set reusable baseMat;
set count baseMat numBones;
set count surfs numsurfs;
set count materialHandles numsurfs;
set count collSurfs numCollSurfs;
set count boneInfo numBones;
set count himipInvSqRadii numsurfs;
set count collmaps numCollmaps;
// XSurface
use XSurface;
set condition verts0 !(flags & 1);
set reusable verts0;
set count verts0 vertCount;
set condition vb0 never;
set reusable vertList;
set count vertList vertListCount;
set reusable triIndices;
set count triIndices triCount;
set condition indexBuffer never;
reorder:
vertInfo
verts0
vertList
triIndices;
// XSurfaceVertexInfo
use XSurfaceVertexInfo;
set reusable vertsBlend;
set count vertsBlend vertCount[0]
+ 3 * vertCount[1]
+ 5 * vertCount[2]
+ 7 * vertCount[3];
set reusable tensionData;
set count tensionData vertCount[0]
+ vertCount[1]
+ vertCount[2]
+ vertCount[3];
// XRigidVertList
set reusable XRigidVertList::collisionTree;
// XSurfaceCollisionTree
use XSurfaceCollisionTree;
set count nodes nodeCount;
set count leafs leafCount;
// XModelCollSurf_s
set count XModelCollSurf_s::collTris numCollTris;
// Collmap
set count Collmap::geomList 1;
// PhysGeomList
set count PhysGeomList::geoms count;
// PhysGeomInfo
use PhysGeomInfo;
set reusable brush;
set count brush 1;
// BrushWrapper
use BrushWrapper;
set count sides numsides;
set reusable verts;
set count verts numverts;
set reusable planes;
set count planes numsides;
// cbrushside_t
use cbrushside_t;
set reusable plane;
set count plane 1;

View File

@ -0,0 +1,15 @@
// =========================================
// ZBarrierDef
// =========================================
use ZBarrierDef;
set string name;
set name name;
set scriptstring zombieTauntAnimState;
set scriptstring zombieReachThroughAnimState;
// ZBarrierBoard
use ZBarrierBoard;
set string pTearAnim;
set string pBoardAnim;
set scriptstring zombieBoardTearStateName;
set scriptstring zombieBoardTearSubStateName;

View File

@ -0,0 +1,96 @@
// =========================================
// clipMap_t
// =========================================
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;
set reusable planes;
set count planes planeCount;
set reusable materials;
set count materials numMaterials;
set reusable brushsides;
set count brushsides numBrushSides;
set reusable leafbrushNodes;
set count leafbrushNodes leafbrushNodesCount;
set reusable leafbrushes;
set count leafbrushes numLeafBrushes;
set count brushVerts numBrushVerts;
set count uinds nuinds;
set reusable brushes;
set count brushes numBrushes;
set reusable brushBounds;
set count brushBounds numBrushes;
set reusable brushContents;
set count brushContents numBrushes;
// ClipMaterial
set string ClipMaterial::name;
// cbrushside_t
set reusable cbrushside_t::plane;
// cLeafBrushNode_s
use cLeafBrushNode_s;
set condition data::leaf leafBrushCount > 0;
set reusable data::leaf::brushes;
set count data::leaf::brushes leafBrushCount;
// cbrush_t
use cbrush_t;
set reusable sides;
set reusable verts;
// cmodel_t
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;
// XModelPieces
use XModelPieces;
set string name;
set name name;
set count pieces numpieces;

View File

@ -0,0 +1,29 @@
// =========================================
// ddlRoot_t
// =========================================
use ddlRoot_t;
set string name;
set name name;
set count ddlDef 1;
// ddlDef_t
use ddlDef_t;
set count structList structCount;
set count enumList enumCount;
set count next 1;
// ddlStructDef_t
use ddlStructDef_t;
set string name;
set count members memberCount;
set count hashTable memberCount;
// ddlMemberDef_t
set string ddlMemberDef_t::name;
// ddlEnumDef_t
use ddlEnumDef_t;
set string name;
set string members;
set count members memberCount;
set count hashTable memberCount;

View File

@ -0,0 +1,133 @@
// =========================================
// menuDef_t
// =========================================
use menuDef_t;
set string window::name;
set name window::name;
set string font;
set string allowedBinding;
set string soundName;
set count items itemCount;
// windowDef_t
use windowDef_t;
set string group;
// GenericEventHandler
use GenericEventHandler;
set string name;
// GenericEventScript
use GenericEventScript;
set string action;
// ExpressionStatement
use ExpressionStatement;
set string filename;
set count rpn numRpn;
set reusable rpn;
// expressionRpn
use expressionRpn;
set condition data::constant type == RPN_CONSTANT;
set condition data::cmd never;
// Operand
use Operand;
set condition internals::intVal dataType == VAL_INT;
set condition internals::floatVal dataType == VAL_FLOAT;
set condition internals::string dataType == VAL_STRING;
set string internals::string;
set condition internals::dvar never;
// itemDef_s
use itemDef_s;
set string dvar;
set string profileVar;
set string dvarTest;
set string enableDvar;
set condition parent never;
set condition typeData::textDef
type == 1 || type == 3 || type == 4
|| type == 5 || type == 7 || type == 8
|| type == 9 || type == 10 || type == 11
|| type == 12 || type == 13 || type == 14
|| type == 15 || type == 16 || type == 18
|| type == 20 || type == 22;
set condition typeData::imageDef type == 2;
set condition typeData::blankButtonDef type == 19 || type == 21;
set condition typeData::ownerDrawDef type == 6;
set condition typeData::data never;
// textDef_s
use textDef_s;
set string text;
set condition textTypeData::focusItemDef itemDef_s::type == 3
|| itemDef_s::type == 4 || itemDef_s::type == 5
|| itemDef_s::type == 7 || itemDef_s::type == 8
|| itemDef_s::type == 9 || itemDef_s::type == 10
|| itemDef_s::type == 11 || itemDef_s::type == 12
|| itemDef_s::type == 13 || itemDef_s::type == 14
|| itemDef_s::type == 16 || itemDef_s::type == 20
|| itemDef_s::type == 21 || itemDef_s::type == 22
|| itemDef_s::type == 30;
set condition textTypeData::gameMsgDef itemDef_s::type == 15;
set condition textTypeData::data never;
// focusItemDef_s
use focusItemDef_s;
set string mouseEnterText;
set string mouseExitText;
set string mouseEnter;
set string mouseExit;
set condition focusTypeData::listBox itemDef_s::type == 4;
set condition focusTypeData::multi itemDef_s::type == 10;
set condition focusTypeData::profileMulti itemDef_s::type == 22;
set condition focusTypeData::editField itemDef_s::type == 5
|| itemDef_s::type == 7
|| itemDef_s::type == 8
|| itemDef_s::type == 9
|| itemDef_s::type == 12
|| itemDef_s::type == 13
|| itemDef_s::type == 14
|| itemDef_s::type == 16
|| itemDef_s::type == 30;
set condition focusTypeData::enumDvar itemDef_s::type == 11;
set condition focusTypeData::data never;
// listBoxDef_s
use listBoxDef_s;
set count rows maxRows;
// MenuRow
use MenuRow;
set count cells listBoxDef_s::numColumns;
set count eventName 32;
set count onFocusEventName 32;
// MenuCell
use MenuCell;
set count stringValue maxChars;
// multiDef_s
use multiDef_s;
set string dvarList;
set string dvarStr;
// profileMultiDef_s
use profileMultiDef_s;
set string profileVarList;
set string profileVarStr;
// enumDvarDef_s
set string enumDvarDef_s::enumDvarName;
// UIAnimInfo
use UIAnimInfo;
set count animStates animStateCount;
set condition currentAnimState never;
set condition nextAnimState never;
// animParamsDef_t
use animParamsDef_t;
set string name;