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>
19 lines
533 B
Plaintext
19 lines
533 B
Plaintext
type speakermap [display="Speaker Map"]
|
|
{
|
|
i32 name_ptr [ui, readonly, display="Name Ptr"];
|
|
u8 is_default [ui, readonly, display="Is Default"];
|
|
skip(3); // padding
|
|
i32 channel_maps_ptr [ui, readonly, display="Channel Maps Ptr"];
|
|
|
|
// Parse inline name
|
|
if (name_ptr == -1) {
|
|
name = cstring() [ui, readonly, display="Name"];
|
|
_name = name;
|
|
}
|
|
|
|
// Channel maps (2 entries of SpeakerChannelMap, each 16 bytes)
|
|
if (channel_maps_ptr == -1) {
|
|
channel_maps = read(32) [ui, readonly, display="Channel Maps"];
|
|
}
|
|
}
|