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

17 lines
579 B
Plaintext

type materialinfo [display="Material Info"]
{
i32 material_name_ptr [ui, readonly, display="Material Name Ptr"];
u8 game_flags [ui, readonly, display="Game Flags"];
u8 sort_key [ui, readonly, display="Sort Key"];
u8 texture_atlas_row_count [ui, readonly, display="Texture Atlas Row Count"];
u8 texture_atlas_column_count [ui, readonly, display="Texture Atlas Column Count"];
draw_surf = parse_here("gfxdrawsurf");
u32 surface_type_bits [ui, readonly, display="Surface Type Bits"];
u16 hash_index [ui, readonly, display="Hash Index"];
skip(2); // padding
}