XPlor/definitions/cod/gfxtexture.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

11 lines
308 B
Plaintext

type gfxtexture [display="GFX Texture"]
{
// GfxTexture is a union of different texture types
// For inline data (-1 or -2), parse load def
i32 base_map_ptr [ui, readonly, display="Base Map Ptr"];
if (base_map_ptr == -1 || base_map_ptr == -2) {
load_def = parse_here("gfximageloaddef");
}
}