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>
17 lines
428 B
Plaintext
17 lines
428 B
Plaintext
type itemkeyhandler [display="Item Key Handler"]
|
|
{
|
|
i32 key [ui, readonly, display="Key"];
|
|
i32 action_ptr [ui, readonly, display="Action Ptr"];
|
|
i32 next_ptr [ui, readonly, display="Next Ptr"];
|
|
|
|
// Parse inline action
|
|
if (action_ptr == -1) {
|
|
action = cstring() [ui, readonly, display="Action"];
|
|
}
|
|
|
|
// Parse inline next handler (linked list)
|
|
if (next_ptr == -1) {
|
|
next = parse_here("itemkeyhandler");
|
|
}
|
|
}
|