- 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>
11 lines
363 B
Plaintext
11 lines
363 B
Plaintext
type materialargumentdef ui("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("Value");
|
|
}
|