(svn r12469) -Codechange: split type related stuff from group.h (and openttd.h) to group_type.h.
This commit is contained in:
@@ -29,6 +29,20 @@
|
||||
#include "table/strings.h"
|
||||
#include "table/sprites.h"
|
||||
|
||||
struct grouplist_d {
|
||||
const Group **sort_list;
|
||||
list_d l; // General list struct
|
||||
};
|
||||
assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(grouplist_d));
|
||||
|
||||
struct groupveh_d : vehiclelist_d {
|
||||
GroupID group_sel;
|
||||
VehicleID vehicle_sel;
|
||||
|
||||
grouplist_d gl;
|
||||
};
|
||||
assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(groupveh_d));
|
||||
|
||||
struct Sorting {
|
||||
Listing aircraft;
|
||||
Listing roadveh;
|
||||
|
Reference in New Issue
Block a user