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:
@@ -38,10 +38,6 @@ enum Direction : byte {
|
||||
/** Allow incrementing of Direction variables */
|
||||
DECLARE_POSTFIX_INCREMENT(Direction)
|
||||
|
||||
/** Define basic enum properties */
|
||||
template <> struct EnumPropsT<Direction> : MakeEnumPropsT<Direction, byte, DIR_BEGIN, DIR_END, INVALID_DIR, 3> {};
|
||||
|
||||
|
||||
/**
|
||||
* Enumeration for the difference between two directions.
|
||||
*
|
||||
@@ -87,10 +83,6 @@ enum DiagDirection : byte {
|
||||
/** Allow incrementing of DiagDirection variables */
|
||||
DECLARE_POSTFIX_INCREMENT(DiagDirection)
|
||||
|
||||
/** Define basic enum properties */
|
||||
template <> struct EnumPropsT<DiagDirection> : MakeEnumPropsT<DiagDirection, byte, DIAGDIR_BEGIN, DIAGDIR_END, INVALID_DIAGDIR, 2> {};
|
||||
|
||||
|
||||
/**
|
||||
* Enumeration for the difference between to DiagDirection.
|
||||
*
|
||||
@@ -128,7 +120,5 @@ enum Axis : byte {
|
||||
AXIS_END, ///< Used for iterations
|
||||
INVALID_AXIS = 0xFF, ///< Flag for an invalid Axis
|
||||
};
|
||||
/** Helper information for extract tool. */
|
||||
template <> struct EnumPropsT<Axis> : MakeEnumPropsT<Axis, byte, AXIS_X, AXIS_END, INVALID_AXIS, 1> {};
|
||||
|
||||
#endif /* DIRECTION_TYPE_H */
|
||||
|
Reference in New Issue
Block a user