From 15152cdc0378c0ab9850f6693c6fea6786b09823 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Wed, 11 Feb 2009 18:37:13 +0000 Subject: (svn r15450) -Codechange: Remove unused RailTypesByte, unused RAILTYPES_... enum values, and change INVALID_RAILTYPES to be UINT_MAX. --- src/rail_type.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src') diff --git a/src/rail_type.h b/src/rail_type.h index e4cf3905d..e8c452492 100644 --- a/src/rail_type.h +++ b/src/rail_type.h @@ -39,12 +39,8 @@ enum RailTypes { RAILTYPES_ELECTRIC = 1 << RAILTYPE_ELECTRIC, ///< Electrified rails RAILTYPES_MONO = 1 << RAILTYPE_MONO, ///< Monorail! RAILTYPES_MAGLEV = 1 << RAILTYPE_MAGLEV, ///< Ever fast maglev - RAILTYPES_ALL = RAILTYPES_RAIL | RAILTYPES_ELECTRIC | RAILTYPES_MONO | RAILTYPES_MAGLEV, ///< All of them - RAILTYPES_END, ///< Used for iterations? - INVALID_RAILTYPES = 0xFF ///< Invalid railtypes + INVALID_RAILTYPES = UINT_MAX ///< Invalid railtypes }; DECLARE_ENUM_AS_BIT_SET(RailTypes); -template <> struct EnumPropsT : MakeEnumPropsT {}; -typedef TinyEnumT RailTypesByte; #endif /* RAIL_TYPE_H */ -- cgit v1.2.3-70-g09d2