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>
18 lines
508 B
Plaintext
18 lines
508 B
Plaintext
type pixelshader [display="Pixel Shader"]
|
|
{
|
|
// Shader name pointer
|
|
i32 shader_name_ptr [ui, readonly, display="Shader Name Ptr"];
|
|
|
|
// Shader program structure
|
|
program = parse_here("pixelshaderprogram");
|
|
|
|
// Parse shader name if inline
|
|
if (shader_name_ptr == -1) {
|
|
shader_name = cstring() [ui, readonly, display="Shader Name"];
|
|
_name = shader_name; // Set display name
|
|
}
|
|
|
|
// TODO: Parse program LoadDef and ParseProgram
|
|
// This requires understanding the shader program structure
|
|
}
|