- 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>
59 lines
1.6 KiB
Plaintext
59 lines
1.6 KiB
Plaintext
type windowdef ui("Window Definition")
|
|
{
|
|
// WindowDef structure - 156 bytes total (fixed part only)
|
|
// Inline data (name, group, background) parsed by menudef after
|
|
|
|
// Name pointer (4 bytes)
|
|
i32 name_ptr ui("Name Ptr");
|
|
|
|
// Primary rect (24 bytes)
|
|
rect = parse_here("rectdef") ui("Rect");
|
|
|
|
// Client rect (24 bytes)
|
|
rect_client = parse_here("rectdef") ui("Rect Client");
|
|
|
|
// Group pointer (4 bytes)
|
|
i32 group_ptr ui("Group Ptr");
|
|
|
|
// Style properties (16 bytes)
|
|
i32 style ui("Style");
|
|
i32 border ui("Border");
|
|
i32 owner_draw ui("Owner Draw");
|
|
i32 owner_draw_flags ui("Owner Draw Flags");
|
|
|
|
// Border size float (4 bytes)
|
|
f32 border_size ui("Border Size");
|
|
|
|
// Flags (12 bytes)
|
|
i32 static_flags ui("Static Flags");
|
|
i32 dynamic_flags ui("Dynamic Flags");
|
|
i32 next_time ui("Next Time");
|
|
|
|
// Fore color (16 bytes)
|
|
f32 fore_color_r ui("Fore R");
|
|
f32 fore_color_g ui("Fore G");
|
|
f32 fore_color_b ui("Fore B");
|
|
f32 fore_color_a ui("Fore A");
|
|
|
|
// Back color (16 bytes)
|
|
f32 back_color_r ui("Back R");
|
|
f32 back_color_g ui("Back G");
|
|
f32 back_color_b ui("Back B");
|
|
f32 back_color_a ui("Back A");
|
|
|
|
// Border color (16 bytes)
|
|
f32 border_color_r ui("Border R");
|
|
f32 border_color_g ui("Border G");
|
|
f32 border_color_b ui("Border B");
|
|
f32 border_color_a ui("Border A");
|
|
|
|
// Outline color (16 bytes)
|
|
f32 outline_color_r ui("Outline R");
|
|
f32 outline_color_g ui("Outline G");
|
|
f32 outline_color_b ui("Outline B");
|
|
f32 outline_color_a ui("Outline A");
|
|
|
|
// Background material pointer (4 bytes)
|
|
i32 background_ptr ui("Background Ptr");
|
|
}
|