summaryrefslogtreecommitdiff
path: root/window.h
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2006-09-26 16:47:51 +0000
committerbjarni <bjarni@openttd.org>2006-09-26 16:47:51 +0000
commitf7769e885e1a928018a9be33553a887cb00babf7 (patch)
tree381d620a928fbc6c40266c4078ae71959a878f36 /window.h
parent65a3777a403f1c3eb0f2856bf0b0073b4c83fad9 (diff)
downloadopenttd-f7769e885e1a928018a9be33553a887cb00babf7.tar.xz
(svn r6513) -Codechange: unified the code to draw depot windows
This change is intended to make it easier to make depot behaviour consistent and faster to code when adding more features in the future The user interface should hopefully not be affected by this
Diffstat (limited to 'window.h')
-rw-r--r--window.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/window.h b/window.h
index 0ac18b70a..b219dded0 100644
--- a/window.h
+++ b/window.h
@@ -394,14 +394,15 @@ assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(replaceveh_d));
typedef struct {
VehicleID sel;
+ byte type;
uint16 engine_list_length;
uint16 wagon_list_length;
uint16 engine_count;
uint16 wagon_count;
Vehicle **vehicle_list;
Vehicle **wagon_list;
-} traindepot_d;
-assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(traindepot_d));
+} depot_d;
+assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(depot_d));
typedef struct {
int sel;