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>
22 lines
870 B
Plaintext
22 lines
870 B
Plaintext
type sunlightparseparams [display="Sun Light Parse Params"]
|
|
{
|
|
// PC version: Fixed 128-byte struct (embedded in GfxWorld header)
|
|
// Name is a fixed 64-byte char array, NOT a pointer!
|
|
name = read(64) [ui, readonly, display="Name"];
|
|
|
|
// Ambient settings
|
|
ambient_scale = read(4) [ui, readonly, display="Ambient Scale"];
|
|
ambient_color = read(12) [ui, readonly, display="Ambient Color"];
|
|
|
|
// Diffuse/Sun settings
|
|
diffuse_fraction = read(4) [ui, readonly, display="Diffuse Fraction"];
|
|
sun_light = read(4) [ui, readonly, display="Sun Light"];
|
|
sun_color = read(12) [ui, readonly, display="Sun Color"];
|
|
diffuse_color = read(12) [ui, readonly, display="Diffuse Color"];
|
|
|
|
// Flags and angles
|
|
u8 diffuse_color_has_been_set [ui, readonly, display="Diffuse Color Has Been Set"];
|
|
skip(3); // padding
|
|
angles = read(12) [ui, readonly, display="Angles"];
|
|
}
|