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>
16 lines
395 B
Plaintext
16 lines
395 B
Plaintext
type soundfile [display="Sound File"]
|
|
{
|
|
u8 exists [ui, readonly, display="Exists"];
|
|
u8 sound_type [ui, readonly, display="Type"];
|
|
skip(2); // padding
|
|
|
|
// Sound union - either loaded_sound or streamed
|
|
// For loaded sound:
|
|
i32 sound_ptr [ui, readonly, display="Sound Ptr"];
|
|
|
|
// Parse inline loaded sound
|
|
if (sound_ptr == -1) {
|
|
loaded_sound = parse_here("loaded_sound");
|
|
}
|
|
}
|