XPlor/definitions/cod/gfxlightdef.xscript
njohnson f3bca6871e Update COD XScript definitions with new syntax
- Migrate from set_global/get_global to ctx_set/ctx_get
- Replace if-else chains with match() expressions
- Update inline pointer handling patterns
- Improve GfxWorld and asset parsing structures
- Clean up redundant code across 60+ definition files

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-11 12:09:57 -05:00

17 lines
349 B
Plaintext

type gfxlightdef [display="GFX Light Def"]
{
const PTR_INLINE = -1;
i32 name_ptr;
ui("name_ptr", "Name Ptr");
// Attenuation (GfxLightImage)
attenuation = parse_here("gfxlightimage");
u32 lmap_lookup_start;
ui("lmap_lookup_start", "LMap Lookup Start");
// Inline data
inline cstring name when name_ptr [ui="Name", set_name];
}