equal
deleted
inserted
replaced
26 #include "widgets/dropdown_type.h" |
26 #include "widgets/dropdown_type.h" |
27 #include "widgets/dropdown_func.h" |
27 #include "widgets/dropdown_func.h" |
28 |
28 |
29 #include "table/strings.h" |
29 #include "table/strings.h" |
30 #include "table/sprites.h" |
30 #include "table/sprites.h" |
|
31 |
|
32 struct grouplist_d { |
|
33 const Group **sort_list; |
|
34 list_d l; // General list struct |
|
35 }; |
|
36 assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(grouplist_d)); |
|
37 |
|
38 struct groupveh_d : vehiclelist_d { |
|
39 GroupID group_sel; |
|
40 VehicleID vehicle_sel; |
|
41 |
|
42 grouplist_d gl; |
|
43 }; |
|
44 assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(groupveh_d)); |
31 |
45 |
32 struct Sorting { |
46 struct Sorting { |
33 Listing aircraft; |
47 Listing aircraft; |
34 Listing roadveh; |
48 Listing roadveh; |
35 Listing ship; |
49 Listing ship; |