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>
20 lines
437 B
Plaintext
20 lines
437 B
Plaintext
type localize [display="Localize Entry"]
|
|
{
|
|
// Value comes first in the structure
|
|
i32 value_ptr [ui, readonly, display="Value Ptr"];
|
|
|
|
// Then name
|
|
i32 name_ptr [ui, readonly, display="Name Ptr"];
|
|
|
|
// Parse inline value
|
|
if (value_ptr == -1) {
|
|
value = cstring() [ui, readonly, display="Value"];
|
|
}
|
|
|
|
// Parse inline name
|
|
if (name_ptr == -1) {
|
|
name = cstring() [ui, readonly, display="Name"];
|
|
_name = name;
|
|
}
|
|
}
|