forked from mirror/OpenTTD
(svn r23595) -Codechange: add comma after last enum to get a more uniform coding style
This commit is contained in:
@@ -27,7 +27,7 @@ enum Track {
|
||||
TRACK_LEFT = 4, ///< Track in the left corner of the tile (west)
|
||||
TRACK_RIGHT = 5, ///< Track in the right corner of the tile (east)
|
||||
TRACK_END, ///< Used for iterations
|
||||
INVALID_TRACK = 0xFF ///< Flag for an invalid track
|
||||
INVALID_TRACK = 0xFF, ///< Flag for an invalid track
|
||||
};
|
||||
|
||||
/** Allow incrementing of Track variables */
|
||||
@@ -57,7 +57,7 @@ enum TrackBits {
|
||||
TRACK_BIT_MASK = 0x3FU, ///< Bitmask for the first 6 bits
|
||||
TRACK_BIT_WORMHOLE = 0x40U, ///< Bitflag for a wormhole (used for tunnels)
|
||||
TRACK_BIT_DEPOT = 0x80U, ///< Bitflag for a depot
|
||||
INVALID_TRACK_BIT = 0xFF ///< Flag for an invalid trackbits value
|
||||
INVALID_TRACK_BIT = 0xFF, ///< Flag for an invalid trackbits value
|
||||
};
|
||||
DECLARE_ENUM_AS_BIT_SET(TrackBits)
|
||||
typedef SimpleTinyEnumT<TrackBits, byte> TrackBitsByte;
|
||||
|
Reference in New Issue
Block a user