- 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>
16 lines
587 B
Plaintext
16 lines
587 B
Plaintext
type materialtexturedef ui("Material Texture Def")
|
|
{
|
|
// MaterialTextureDef - 12 bytes total
|
|
// The image pointer is just a reference to a GfxImage asset that's
|
|
// streamed separately in the zone file - NOT inline within the material
|
|
u32 name_hash ui("Name Hash");
|
|
u8 name_start ui("Name Start");
|
|
u8 name_end ui("Name End");
|
|
u8 sampler_state ui("Sampler State");
|
|
u8 semantic ui("Semantic");
|
|
|
|
// GfxImage* image - pointer to image asset (resolved elsewhere in zone)
|
|
// -1 means "needs fixup", but image data is a separate asset entry
|
|
i32 image_ptr ui("Image Ptr");
|
|
}
|