diff options
author | rubidium <rubidium@openttd.org> | 2010-09-08 21:28:50 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-09-08 21:28:50 +0000 |
commit | 881c6c679ff2606111cb890847147556142c3451 (patch) | |
tree | 2e4aa38f456a4510380f6614c93ccdba46590c47 /src/vehicle_gui_base.h | |
parent | 0e840f7360895ae9759a556b011759fc4662b213 (diff) | |
download | openttd-881c6c679ff2606111cb890847147556142c3451.tar.xz |
(svn r20771) -Add: concept of vehicle list identifiers to identify a vehicle list instead of a string of parameters
Diffstat (limited to 'src/vehicle_gui_base.h')
-rw-r--r-- | src/vehicle_gui_base.h | 3 |
1 files changed, 2 insertions, 1 deletions
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); }; |