- 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>
25 lines
453 B
Plaintext
25 lines
453 B
Plaintext
type gfxstreamingaabbtree [display="GFX Streaming AABB Tree"]
|
|
{
|
|
u16 first_item;
|
|
|
|
ui("first_item", "First Item");
|
|
u16 item_count;
|
|
|
|
ui("item_count", "Item Count");
|
|
u16 first_child;
|
|
|
|
ui("first_child", "First Child");
|
|
u16 child_count;
|
|
|
|
ui("child_count", "Child Count");
|
|
|
|
// Bounds (6 floats)
|
|
// Note: Using read() since we don't have float type yet
|
|
mins = read(12);
|
|
|
|
ui("mins", "Mins");
|
|
maxs = read(12);
|
|
|
|
ui("maxs", "Maxs");
|
|
}
|