summaryrefslogtreecommitdiff
path: root/window.h
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2006-10-09 20:16:56 +0000
committerbjarni <bjarni@openttd.org>2006-10-09 20:16:56 +0000
commitb8e1f707512a5459d10377c5e1ad21b9357b5ac9 (patch)
treec2492f342ba61890bc7e7cc0297ed640a13e51ab /window.h
parenta18011934cfc165fabaad2596e497e2613b46ab0 (diff)
downloadopenttd-b8e1f707512a5459d10377c5e1ad21b9357b5ac9.tar.xz
(svn r6707) -Feature: [build aircraft window] added buttons to view propeller planes, jet planes or helicopters
-Codechange: the build aircraft window now generates 3 malleced lists and displays based on those list This is preparation for sorting aircraft
Diffstat (limited to 'window.h')
-rw-r--r--window.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/window.h b/window.h
index 7609a2f6b..6aa11a161 100644
--- a/window.h
+++ b/window.h
@@ -393,16 +393,18 @@ assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(tooltips_d));
typedef struct {
byte railtype;
byte sel_index;
- byte show_engine_wagon;
+ byte show_engine_button;
bool data_invalidated;
bool decenting_sort_order;
byte sort_criteria;
EngineID sel_engine;
EngineID rename_engine;
- EngineID *engines;
- EngineID *wagons;
- uint16 num_engines;
- uint16 num_wagons;
+ EngineID *list_a;
+ EngineID *list_b;
+ EngineID *list_c;
+ uint16 list_a_length;
+ uint16 list_b_length;
+ uint16 list_c_length;
} buildtrain_d;
assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(buildtrain_d));