forked from mirror/OpenTTD
Codechange: Remove StationFacilityByte type
This commit is contained in:
@@ -49,7 +49,7 @@ enum RoadStopType {
|
||||
};
|
||||
|
||||
/** The facilities a station might be having */
|
||||
enum StationFacility {
|
||||
enum StationFacility : byte {
|
||||
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,6 @@ enum StationFacility {
|
||||
FACIL_WAYPOINT = 1 << 7, ///< Station is a waypoint
|
||||
};
|
||||
DECLARE_ENUM_AS_BIT_SET(StationFacility)
|
||||
typedef SimpleTinyEnumT<StationFacility, byte> StationFacilityByte;
|
||||
|
||||
/** The vehicles that may have visited a station */
|
||||
enum StationHadVehicleOfType {
|
||||
|
Reference in New Issue
Block a user