- 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>
39 lines
1.2 KiB
Plaintext
39 lines
1.2 KiB
Plaintext
type listboxdef ui("List Box Def")
|
|
{
|
|
const PTR_INLINE = -1;
|
|
|
|
i32 mouse_pos ui("Mouse Pos");
|
|
i32 start_pos ui("Start Pos");
|
|
i32 end_pos ui("End Pos");
|
|
i32 draw_padding ui("Draw Padding");
|
|
f32 element_width ui("Element Width");
|
|
f32 element_height ui("Element Height");
|
|
i32 element_style ui("Element Style");
|
|
i32 num_columns ui("Num Columns");
|
|
|
|
// columnInfo_s columnInfo[16] - 256 bytes
|
|
array[16] columns: columninfo;
|
|
|
|
i32 double_click_ptr ui("Double Click Ptr");
|
|
i32 not_selectable ui("Not Selectable");
|
|
i32 no_scroll_bars ui("No Scroll Bars");
|
|
i32 use_paging ui("Use Paging");
|
|
f32 select_border_x ui("Select Border X");
|
|
f32 select_border_y ui("Select Border Y");
|
|
f32 select_border_w ui("Select Border W");
|
|
f32 select_border_h ui("Select Border H");
|
|
f32 disable_color_r ui("Disable R");
|
|
f32 disable_color_g ui("Disable G");
|
|
f32 disable_color_b ui("Disable B");
|
|
f32 disable_color_a ui("Disable A");
|
|
i32 select_icon_ptr ui("Select Icon Ptr");
|
|
|
|
// Inline data
|
|
if (double_click_ptr == PTR_INLINE) {
|
|
double_click = cstring() ui("Double Click");
|
|
}
|
|
if (select_icon_ptr == PTR_INLINE) {
|
|
select_icon = parse_here("material") ui("Select Icon");
|
|
}
|
|
}
|