- 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>
19 lines
346 B
Plaintext
19 lines
346 B
Plaintext
type sound ui("Sound Alias List")
|
|
{
|
|
const PTR_INLINE = -1;
|
|
|
|
i32 name_ptr ui("Name Ptr");
|
|
i32 head_ptr ui("Head Ptr");
|
|
i32 count ui("Count");
|
|
|
|
// Inline data
|
|
if (name_ptr == PTR_INLINE) {
|
|
name = cstring() ui("Name");
|
|
set_name(name);
|
|
}
|
|
|
|
if (head_ptr == PTR_INLINE && count > 0) {
|
|
array[count] aliases: soundalias;
|
|
}
|
|
}
|