Codechange: rename byte to uint8_t (#12308)
This commit is contained in:
@@ -40,14 +40,14 @@ enum StationType {
|
||||
};
|
||||
|
||||
/** Types of RoadStops */
|
||||
enum RoadStopType : byte {
|
||||
enum RoadStopType : uint8_t {
|
||||
ROADSTOP_BUS, ///< A standard stop for buses
|
||||
ROADSTOP_TRUCK, ///< A standard stop for trucks
|
||||
ROADSTOP_END, ///< End of valid types
|
||||
};
|
||||
|
||||
/** The facilities a station might be having */
|
||||
enum StationFacility : byte {
|
||||
enum StationFacility : uint8_t {
|
||||
FACIL_NONE = 0, ///< The station has no facilities at all
|
||||
FACIL_TRAIN = 1 << 0, ///< Station with train station
|
||||
FACIL_TRUCK_STOP = 1 << 1, ///< Station with truck stops
|
||||
@@ -59,7 +59,7 @@ enum StationFacility : byte {
|
||||
DECLARE_ENUM_AS_BIT_SET(StationFacility)
|
||||
|
||||
/** The vehicles that may have visited a station */
|
||||
enum StationHadVehicleOfType : byte {
|
||||
enum StationHadVehicleOfType : uint8_t {
|
||||
HVOT_NONE = 0, ///< Station has seen no vehicles
|
||||
HVOT_TRAIN = 1 << 1, ///< Station has seen a train
|
||||
HVOT_BUS = 1 << 2, ///< Station has seen a bus
|
||||
|
Reference in New Issue
Block a user