XPlor/definitions/cod/gfxstreamingaabbtree.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

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");
}