diff options
author | frosch <frosch@openttd.org> | 2010-04-17 13:31:41 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2010-04-17 13:31:41 +0000 |
commit | 75d4bc947ddbb92ecf660d9a9858c854d5e34a15 (patch) | |
tree | b218a672a78b894388373d2e700e6ad6ebe75b63 /src/newgrf_station.h | |
parent | 184fa43df2e14c73162e641bc9bc83e403f069ed (diff) | |
download | openttd-75d4bc947ddbb92ecf660d9a9858c854d5e34a15.tar.xz |
(svn r19654) -Codechange: Use Extract<> in more places.
Diffstat (limited to 'src/newgrf_station.h')
-rw-r--r-- | src/newgrf_station.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/newgrf_station.h b/src/newgrf_station.h index 0ccf0924f..9d803b7df 100644 --- a/src/newgrf_station.h +++ b/src/newgrf_station.h @@ -27,6 +27,7 @@ enum StationClassID { STAT_CLASS_MAX = 32, ///< 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> {}; /** Allow incrementing of StationClassID variables */ DECLARE_POSTFIX_INCREMENT(StationClassID) |