(svn r12469) -Codechange: split type related stuff from group.h (and openttd.h) to group_type.h.

This commit is contained in:
rubidium
2008-03-28 16:34:50 +00:00
parent eba67a3b8f
commit bf54e0ba1c
11 changed files with 57 additions and 36 deletions

View File

@@ -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;