Changeset - r19151:2452dc1ae812
[Not reviewed]
master
0 1 0
yexo - 12 years ago 2012-03-15 22:42:28
yexo@openttd.org
(svn r24031) -Feature: increase the station class limit from 32 to 256
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/newgrf_station.h
Show inline comments
 
@@ -24,7 +24,7 @@ enum StationClassID {
 
	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> {};
0 comments (0 inline, 0 general)