diff options
author | rubidium <rubidium@openttd.org> | 2009-11-17 09:09:20 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-11-17 09:09:20 +0000 |
commit | bdb118aa69131d401850ad6209da8ffd748531b4 (patch) | |
tree | 0de56b7af7dc7046857df63ceecd3bb03de9e9dc /src/vehicle_gui_base.h | |
parent | a808623b24b247d3a8b3b08875dd6cd2e22a85c6 (diff) | |
download | openttd-bdb118aa69131d401850ad6209da8ffd748531b4.tar.xz |
(svn r18134) -Codechange: scale the offset of the text/vehicle in the vehicle lists based on the font and the unit numbers in the list
Diffstat (limited to 'src/vehicle_gui_base.h')
-rw-r--r-- | src/vehicle_gui_base.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vehicle_gui_base.h b/src/vehicle_gui_base.h index 6ce4b65ac..5380aacb0 100644 --- a/src/vehicle_gui_base.h +++ b/src/vehicle_gui_base.h @@ -20,6 +20,7 @@ struct BaseVehicleListWindow: public Window { GUIVehicleList vehicles; ///< The list of vehicles Listing *sorting; ///< Pointer to the vehicle type related sorting. VehicleType vehicle_type; ///< The vehicle type that is sorted + UnitID max_unitnumber; ///< The maximum UnitID static const StringID vehicle_sorter_names[]; static GUIVehicleList::SortFunction * const vehicle_sorter_funcs[]; |