XPlor/definitions/cod/rectdef.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
336 B
Plaintext

type rectdef [display="Rect Definition"]
{
// RectDef - 24 bytes
f32 x [ui, readonly, display="X"];
f32 y [ui, readonly, display="Y"];
f32 w [ui, readonly, display="Width"];
f32 h [ui, readonly, display="Height"];
i32 horz_align [ui, readonly, display="Horz Align"];
i32 vert_align [ui, readonly, display="Vert Align"];
}