- 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>
16 lines
265 B
Plaintext
16 lines
265 B
Plaintext
type gfxlightimage [display="GFX Light Image"]
|
|
{
|
|
const PTR_INLINE = -1;
|
|
|
|
i32 image_ptr;
|
|
ui("image_ptr", "Image Ptr");
|
|
|
|
u8 sampler_state;
|
|
ui("sampler_state", "Sampler State");
|
|
|
|
skip 3; // padding
|
|
|
|
// Inline data
|
|
inline image image when image_ptr;
|
|
}
|