diff options
author | bjarni <bjarni@openttd.org> | 2006-10-09 20:16:56 +0000 |
---|---|---|
committer | bjarni <bjarni@openttd.org> | 2006-10-09 20:16:56 +0000 |
commit | 306178e0b3230bcdfb8efbf28bae8d4918881940 (patch) | |
tree | c2492f342ba61890bc7e7cc0297ed640a13e51ab /window.h | |
parent | 657f6edd6c6bf98d5d2fc247851fecb8dbb828e2 (diff) | |
download | openttd-306178e0b3230bcdfb8efbf28bae8d4918881940.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.h | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -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)); |