Merge branch 'master' into jgrpp
Remove 'byte' typedef
This commit is contained in:
@@ -67,7 +67,7 @@ struct GUIVehicleGroup {
|
||||
typedef GUIList<GUIVehicleGroup, std::nullptr_t, CargoID> GUIVehicleGroupList;
|
||||
|
||||
struct BaseVehicleListWindow : public Window {
|
||||
enum GroupBy : byte {
|
||||
enum GroupBy : uint8_t {
|
||||
GB_NONE,
|
||||
GB_SHARED_ORDERS,
|
||||
|
||||
@@ -82,7 +82,7 @@ public:
|
||||
CompanyID own_company; ///< Company ID used for own_vehicles
|
||||
GUIVehicleGroupList vehgroups; ///< List of (groups of) vehicles. This stores iterators of `vehicles`, and should be rebuilt if `vehicles` is structurally changed.
|
||||
Listing *sorting; ///< Pointer to the vehicle type related sorting.
|
||||
byte unitnumber_digits; ///< The number of digits of the highest unit number.
|
||||
uint8_t unitnumber_digits; ///< The number of digits of the highest unit number.
|
||||
Scrollbar *vscroll;
|
||||
VehicleListIdentifier vli; ///< Identifier of the vehicle list we want to currently show.
|
||||
VehicleID vehicle_sel; ///< Selected vehicle
|
||||
@@ -131,7 +131,7 @@ public:
|
||||
void SortVehicleList();
|
||||
void CountOwnVehicles();
|
||||
void BuildVehicleList();
|
||||
void SetCargoFilter(byte index);
|
||||
void SetCargoFilter(uint8_t index);
|
||||
void SetCargoFilterArray();
|
||||
void FilterVehicleList();
|
||||
StringID GetCargoFilterLabel(CargoID cid) const;
|
||||
|
||||
Reference in New Issue
Block a user