- 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>
17 lines
263 B
Plaintext
17 lines
263 B
Plaintext
type soundfile ui("Sound File")
|
|
{
|
|
const PTR_INLINE = -1;
|
|
|
|
u8 exists ui("Exists");
|
|
u8 sound_type ui("Type");
|
|
|
|
skip 2;
|
|
|
|
i32 sound_ptr ui("Sound Ptr");
|
|
|
|
// Inline data
|
|
if (sound_ptr == PTR_INLINE) {
|
|
loaded_sound = parse_here("loaded_sound");
|
|
}
|
|
}
|