mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-13 02:52:37 +00:00
(svn r24031) -Feature: increase the station class limit from 32 to 256
This commit is contained in:
parent
4725f8c0a2
commit
620a96f77f
@ -24,7 +24,7 @@ enum StationClassID {
|
|||||||
STAT_CLASS_BEGIN = 0, ///< the lowest valid value
|
STAT_CLASS_BEGIN = 0, ///< the lowest valid value
|
||||||
STAT_CLASS_DFLT = 0, ///< Default station class.
|
STAT_CLASS_DFLT = 0, ///< Default station class.
|
||||||
STAT_CLASS_WAYP, ///< Waypoint class.
|
STAT_CLASS_WAYP, ///< Waypoint class.
|
||||||
STAT_CLASS_MAX = 32, ///< Maximum number of classes.
|
STAT_CLASS_MAX = 256, ///< Maximum number of classes.
|
||||||
};
|
};
|
||||||
typedef SimpleTinyEnumT<StationClassID, byte> StationClassIDByte;
|
typedef SimpleTinyEnumT<StationClassID, byte> StationClassIDByte;
|
||||||
template <> struct EnumPropsT<StationClassID> : MakeEnumPropsT<StationClassID, byte, STAT_CLASS_BEGIN, STAT_CLASS_MAX, STAT_CLASS_MAX, 8> {};
|
template <> struct EnumPropsT<StationClassID> : MakeEnumPropsT<StationClassID, byte, STAT_CLASS_BEGIN, STAT_CLASS_MAX, STAT_CLASS_MAX, 8> {};
|
||||||
|
Loading…
Reference in New Issue
Block a user