- 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>
45 lines
790 B
Plaintext
45 lines
790 B
Plaintext
type gfxcell [display="GFX Cell"]
|
|
{
|
|
// Bounds (6 floats)
|
|
mins = read(12);
|
|
|
|
ui("mins", "Mins");
|
|
maxs = read(12);
|
|
|
|
ui("maxs", "Maxs");
|
|
|
|
i32 aabb_tree_count;
|
|
|
|
|
|
ui("aabb_tree_count", "AABB Tree Count");
|
|
i32 aabb_tree_ptr;
|
|
|
|
ui("aabb_tree_ptr", "AABB Tree Ptr");
|
|
|
|
i32 portal_count;
|
|
|
|
|
|
ui("portal_count", "Portal Count");
|
|
i32 portals_ptr;
|
|
|
|
ui("portals_ptr", "Portals Ptr");
|
|
|
|
i32 cull_group_count;
|
|
|
|
|
|
ui("cull_group_count", "Cull Group Count");
|
|
i32 cull_groups_ptr;
|
|
|
|
ui("cull_groups_ptr", "Cull Groups Ptr");
|
|
|
|
u8 reflection_probe_count;
|
|
|
|
|
|
ui("reflection_probe_count", "Reflection Probe Count");
|
|
i32 reflection_probes_ptr;
|
|
|
|
ui("reflection_probes_ptr", "Reflection Probes Ptr");
|
|
|
|
// Note: Array data would be parsed if pointers are valid
|
|
}
|