summaryrefslogtreecommitdiff
path: root/src/group_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-03-28 16:34:50 +0000
committerrubidium <rubidium@openttd.org>2008-03-28 16:34:50 +0000
commit878489e38dc875e644c5de25f690c4aa64aa2d19 (patch)
tree23f7fccf6188a92b23e3ba940ae3cc7e798d5db5 /src/group_gui.cpp
parent58e6e75320a3d6ca864625f6dbd2cbb961997edc (diff)
downloadopenttd-878489e38dc875e644c5de25f690c4aa64aa2d19.tar.xz
(svn r12469) -Codechange: split type related stuff from group.h (and openttd.h) to group_type.h.
Diffstat (limited to 'src/group_gui.cpp')
-rw-r--r--src/group_gui.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/group_gui.cpp b/src/group_gui.cpp
index 8525c883c..667dcaea9 100644
--- a/src/group_gui.cpp
+++ b/src/group_gui.cpp
@@ -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;