diff src/depot_gui.cpp @ 9188:20be86848948 draft

(svn r13051) -Codechange: depot_d belongs in depot_gui.cpp.
author rubidium <rubidium@openttd.org>
date Sun, 11 May 2008 18:17:56 +0000 (2008-05-11)
parents 00b40c2158ff
children cbf6bd9b9c33
line wrap: on
line diff
--- a/src/depot_gui.cpp
+++ b/src/depot_gui.cpp
@@ -100,6 +100,20 @@
 	{   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 = {