XPlor/definitions/cod/gfxtexture.xscript
njohnson 7b1f5d34a1 Consolidate XScript definitions with byte order inheritance
- Volition VPP: Unified BE/LE types using inheritance pattern
- THQA PAK: Child types now inherit byte order from parent
- Various XScript definition updates and fixes

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-11 16:08:46 -05:00

14 lines
367 B
Plaintext

type gfxtexture ui("GFX Texture")
{
const PTR_INLINE = -1;
const PTR_INLINE_STREAMING = -2;
// GfxTexture is a union of different texture types
// For inline data (-1 or -2), parse load def
i32 base_map_ptr ui("Base Map Ptr");
if (base_map_ptr == PTR_INLINE || base_map_ptr == PTR_INLINE_STREAMING) {
load_def = parse_here("gfximageloaddef");
}
}