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>
11 lines
389 B
Plaintext
11 lines
389 B
Plaintext
type materialargumentdef [display="Material Argument Def"]
|
|
{
|
|
// MaterialArgumentDef is a 4-byte union on PC:
|
|
// - float* literalConst (pointer)
|
|
// - MaterialArgumentCodeConst codeConst (u16 index + u16 firstRow)
|
|
// - u32 codeSampler
|
|
// - u32 nameHash
|
|
// We just read it as raw bytes since interpretation depends on arg type
|
|
value = read(4) [ui, readonly, display="Value"];
|
|
}
|