Mercurial > hg > openttd
changeset 19165:2d029d374143 draft
(svn r24031) -Feature: increase the station class limit from 32 to 256
author | yexo <yexo@openttd.org> |
---|---|
date | Thu, 15 Mar 2012 22:42:28 +0000 |
parents | 59ab1b37be4c |
children | f03b9844c60e |
files | src/newgrf_station.h |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/newgrf_station.h +++ b/src/newgrf_station.h @@ -24,7 +24,7 @@ STAT_CLASS_BEGIN = 0, ///< the lowest valid value STAT_CLASS_DFLT = 0, ///< Default station 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; template <> struct EnumPropsT<StationClassID> : MakeEnumPropsT<StationClassID, byte, STAT_CLASS_BEGIN, STAT_CLASS_MAX, STAT_CLASS_MAX, 8> {};