XPlor/definitions/cod/gfxcell.xscript
njohnson 0fa26e5256 Expand Call of Duty XScript definitions
Add new asset type definitions:
- GfxWorld and related structures (cells, lights, probes)
- Menu system (menudef, itemdef, windowdef, listboxdef)
- Sound system (soundalias, soundfile, speakermap, sndcurve)
- D3D resources (vertex/index buffers)
- Font glyphs and expression entries

Update existing definitions with improved field annotations
and UI display properties.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-07 16:36:40 -05:00

21 lines
765 B
Plaintext

type gfxcell [display="GFX Cell"]
{
// Bounds (6 floats)
mins = read(12) [ui, readonly, display="Mins"];
maxs = read(12) [ui, readonly, display="Maxs"];
i32 aabb_tree_count [ui, readonly, display="AABB Tree Count"];
i32 aabb_tree_ptr [ui, readonly, display="AABB Tree Ptr"];
i32 portal_count [ui, readonly, display="Portal Count"];
i32 portals_ptr [ui, readonly, display="Portals Ptr"];
i32 cull_group_count [ui, readonly, display="Cull Group Count"];
i32 cull_groups_ptr [ui, readonly, display="Cull Groups Ptr"];
u8 reflection_probe_count [ui, readonly, display="Reflection Probe Count"];
i32 reflection_probes_ptr [ui, readonly, display="Reflection Probes Ptr"];
// Note: Array data would be parsed if pointers are valid
}