equal
deleted
inserted
replaced
332 EngineList eng_list; |
332 EngineList eng_list; |
333 } buildvehicle_d; |
333 } buildvehicle_d; |
334 assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(buildvehicle_d)); |
334 assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(buildvehicle_d)); |
335 |
335 |
336 typedef struct { |
336 typedef struct { |
337 byte vehicletype; |
|
338 byte sel_index[2]; |
337 byte sel_index[2]; |
339 EngineID sel_engine[2]; |
338 EngineID sel_engine[2]; |
340 uint16 count[2]; |
339 uint16 count[2]; |
341 bool wagon_btnstate; // true means engine is selected |
340 bool wagon_btnstate; // true means engine is selected |
|
341 EngineList list[2]; |
|
342 bool update_left; |
|
343 bool update_right; |
|
344 bool init_lists; |
342 } replaceveh_d; |
345 } replaceveh_d; |
343 assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(replaceveh_d)); |
346 assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(replaceveh_d)); |
344 |
347 |
345 typedef struct { |
348 typedef struct { |
346 VehicleID sel; |
349 VehicleID sel; |