forked from mirror/OpenTTD
(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
This commit is contained in:
5
window.h
5
window.h
@@ -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));
|
||||
|
||||
|
Reference in New Issue
Block a user