From 881c6c679ff2606111cb890847147556142c3451 Mon Sep 17 00:00:00 2001 From: rubidium Date: Wed, 8 Sep 2010 21:28:50 +0000 Subject: (svn r20771) -Add: concept of vehicle list identifiers to identify a vehicle list instead of a string of parameters --- src/vehicle_gui_base.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/vehicle_gui_base.h') diff --git a/src/vehicle_gui_base.h b/src/vehicle_gui_base.h index 2de44727c..6f7e4004f 100644 --- a/src/vehicle_gui_base.h +++ b/src/vehicle_gui_base.h @@ -13,6 +13,7 @@ #define VEHICLE_GUI_BASE_H #include "sortlist_type.h" +#include "vehiclelist.h" #include "window_gui.h" #include "widgets/dropdown_type.h" @@ -44,7 +45,7 @@ struct BaseVehicleListWindow : public Window { void DrawVehicleListItems(VehicleID selected_vehicle, int line_height, const Rect &r) const; void SortVehicleList(); - void BuildVehicleList(Owner owner, uint16 index, uint16 window_type); + void BuildVehicleList(const VehicleListIdentifier &identifier); Dimension GetActionDropdownSize(bool show_autoreplace, bool show_group); DropDownList *BuildActionDropdownList(bool show_autoreplace, bool show_group); }; -- cgit v1.2.3-54-g00ecf