diff options
Diffstat (limited to 'src/window_gui.h')
-rw-r--r-- | src/window_gui.h | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/src/window_gui.h b/src/window_gui.h index fb8d70761..2c0619502 100644 --- a/src/window_gui.h +++ b/src/window_gui.h @@ -5,10 +5,9 @@ #ifndef WINDOW_GUI_H #define WINDOW_GUI_H -#include "order.h" +#include "core/bitmath_func.hpp" #include "rail_type.h" #include "road_type.h" -#include "airport.h" #include "vehicle_type.h" #include "viewport.h" @@ -327,23 +326,6 @@ struct tooltips_d { }; assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(tooltips_d)); -struct buildvehicle_d { - VehicleType vehicle_type; - union { - RailTypeByte railtype; - AirportFTAClass::Flags flags; - RoadTypes roadtypes; - } filter; - byte sel_index; ///< deprecated value, used for 'unified' ship and road - bool descending_sort_order; - byte sort_criteria; - bool regenerate_list; - EngineID sel_engine; - EngineID rename_engine; - EngineList eng_list; -}; -assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(buildvehicle_d)); - struct replaceveh_d { byte sel_index[2]; EngineID sel_engine[2]; |