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>
18 lines
688 B
Plaintext
18 lines
688 B
Plaintext
type statement [display="Statement"]
|
|
{
|
|
// statement_s - 8 bytes header ONLY
|
|
// Expression entries are parsed by the parent type (menudef/itemdef)
|
|
// at the correct position in the zone streaming order
|
|
//
|
|
// When entries_ptr == -1 (inline), the parent must parse:
|
|
// 1. Array of numEntries pointers (4 bytes each)
|
|
// 2. For each pointer, an expressionEntry (12 bytes)
|
|
// 3. For string operands with -1 value, inline string
|
|
|
|
i32 num_entries [ui, readonly, display="Num Entries"];
|
|
i32 entries_ptr [ui, readonly, display="Entries Ptr"];
|
|
|
|
// Expression entries are NOT parsed here because they follow
|
|
// other inline data in the parent struct's streaming order
|
|
}
|