diff options
author | bjarni <bjarni@openttd.org> | 2006-10-07 13:58:08 +0000 |
---|---|---|
committer | bjarni <bjarni@openttd.org> | 2006-10-07 13:58:08 +0000 |
commit | db665677992de73be63e68ffed09c60907423f98 (patch) | |
tree | 5e4d6627949e8613053f58dc7da4125549098620 /window.h | |
parent | 5df4e234e0ef76d9bd4b544a7ca089c38fc3015c (diff) | |
download | openttd-db665677992de73be63e68ffed09c60907423f98.tar.xz |
(svn r6679) -Feature: [train build window] added filter for wagons, engines or both in the display
-Codechange: [train build window] to get rid of a really ugly hack, the train build list is now generated in one loop and stored in an array
Diffstat (limited to 'window.h')
-rw-r--r-- | window.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -393,8 +393,13 @@ assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(tooltips_d)); typedef struct { byte railtype; byte sel_index; + byte show_engine_wagon; EngineID sel_engine; EngineID rename_engine; + EngineID *engines; + EngineID *wagons; + uint16 num_engines; + uint16 num_wagons; } buildtrain_d; assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(buildtrain_d)); |