summaryrefslogtreecommitdiff
path: root/src/vehicle_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-05-08 14:14:16 +0000
committerrubidium <rubidium@openttd.org>2008-05-08 14:14:16 +0000
commit11d36d5e46ca4c03cc8e3a94fc248fdfabd90e3a (patch)
tree28391b72686974ad52519cf61e4cf0cae4a0ad7e /src/vehicle_gui.cpp
parentf492567f66c7dc29010afa77721d8966a5992366 (diff)
downloadopenttd-11d36d5e46ca4c03cc8e3a94fc248fdfabd90e3a.tar.xz
(svn r13015) -Codechange: move some 'WP' structs out of window_gui.h to the .cpp files where they are actually used.
Diffstat (limited to 'src/vehicle_gui.cpp')
-rw-r--r--src/vehicle_gui.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/vehicle_gui.cpp b/src/vehicle_gui.cpp
index bab13faa5..c35560e77 100644
--- a/src/vehicle_gui.cpp
+++ b/src/vehicle_gui.cpp
@@ -40,6 +40,11 @@
#include "table/sprites.h"
#include "table/strings.h"
+struct vehicledetails_d {
+ byte tab;
+};
+assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(vehicledetails_d));
+
struct refit_d {
int sel;
struct RefitOption *cargo;