- Volition VPP: Unified BE/LE types using inheritance pattern - THQA PAK: Child types now inherit byte order from parent - Various XScript definition updates and fixes Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
18 lines
642 B
Plaintext
18 lines
642 B
Plaintext
type statement ui("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("Num Entries");
|
|
i32 entries_ptr ui("Entries Ptr");
|
|
|
|
// Expression entries are NOT parsed here because they follow
|
|
// other inline data in the parent struct's streaming order
|
|
}
|