summaryrefslogtreecommitdiff
path: root/src/depot_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/depot_gui.cpp')
-rw-r--r--src/depot_gui.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/depot_gui.cpp b/src/depot_gui.cpp
index 26cd8ef1c..3101b0188 100644
--- a/src/depot_gui.cpp
+++ b/src/depot_gui.cpp
@@ -100,6 +100,20 @@ static const Widget _depot_widgets[] = {
{ WIDGETS_END},
};
+
+struct depot_d {
+ VehicleID sel;
+ VehicleType type;
+ bool generate_list;
+ uint16 engine_list_length;
+ uint16 wagon_list_length;
+ uint16 engine_count;
+ uint16 wagon_count;
+ Vehicle **vehicle_list;
+ Vehicle **wagon_list;
+};
+assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(depot_d));
+
static void DepotWndProc(Window *w, WindowEvent *e);
static const WindowDesc _train_depot_desc = {