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 | e1ad1102f2692ff4d03986f25f6880b69b6b82ec (patch) | |
tree | 5e4d6627949e8613053f58dc7da4125549098620 /window.h | |
parent | 1aa41be3e2c4dce31769ddfc1266384b7fec5ee7 (diff) | |
download | openttd-e1ad1102f2692ff4d03986f25f6880b69b6b82ec.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)); |