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
547 B
Plaintext
19 lines
547 B
Plaintext
type rawfile [display="Raw File"]
|
|
{
|
|
// Header: name_ptr, length, buffer_ptr (12 bytes)
|
|
i32 name_ptr [ui, readonly, display="Name Ptr"];
|
|
i32 len [ui, readonly, display="Length"];
|
|
i32 buffer_ptr [ui, readonly, display="Buffer Ptr"];
|
|
|
|
// Name string (if inline)
|
|
if (name_ptr == -1) {
|
|
name = cstring() [ui, readonly, display="Name"];
|
|
_name = name;
|
|
}
|
|
|
|
// Data buffer (if inline) - read len + 1 bytes for null terminator
|
|
if (buffer_ptr == -1 && len > 0) {
|
|
raw_data = read(len + 1) [ui, readonly, display="Raw Data"];
|
|
}
|
|
}
|