Cleanup: Remove obsolete (Make)EnumPropsT. (#10697)
This was used by the command system to help extract p1/p2 parameters, which no longer happens.
This commit is contained in:
@@ -27,7 +27,6 @@ enum RoadType : byte {
|
||||
INVALID_ROADTYPE = 63, ///< flag for invalid roadtype
|
||||
};
|
||||
DECLARE_POSTFIX_INCREMENT(RoadType)
|
||||
template <> struct EnumPropsT<RoadType> : MakeEnumPropsT<RoadType, byte, ROADTYPE_BEGIN, ROADTYPE_END, INVALID_ROADTYPE, 6> {};
|
||||
|
||||
/**
|
||||
* The different roadtypes we support, but then a bitmask of them.
|
||||
@@ -66,7 +65,6 @@ enum RoadBits : byte {
|
||||
ROAD_END = ROAD_ALL + 1, ///< Out-of-range roadbits, used for iterations
|
||||
};
|
||||
DECLARE_ENUM_AS_BIT_SET(RoadBits)
|
||||
template <> struct EnumPropsT<RoadBits> : MakeEnumPropsT<RoadBits, byte, ROAD_NONE, ROAD_END, ROAD_NONE, 4> {};
|
||||
|
||||
/** Which directions are disallowed ? */
|
||||
enum DisallowedRoadDirections : byte {
|
||||
@@ -77,7 +75,5 @@ enum DisallowedRoadDirections : byte {
|
||||
DRD_END, ///< Sentinel
|
||||
};
|
||||
DECLARE_ENUM_AS_BIT_SET(DisallowedRoadDirections)
|
||||
/** Helper information for extract tool. */
|
||||
template <> struct EnumPropsT<DisallowedRoadDirections> : MakeEnumPropsT<DisallowedRoadDirections, byte, DRD_NONE, DRD_END, DRD_END, 2> {};
|
||||
|
||||
#endif /* ROAD_TYPE_H */
|
||||
|
Reference in New Issue
Block a user