forked from mirror/OpenTTD
(svn r19654) -Codechange: Use Extract<> in more places.
This commit is contained in:
@@ -27,9 +27,12 @@ enum SignalType {
|
||||
SIGTYPE_COMBO = 3, ///< presignal inter-block
|
||||
SIGTYPE_PBS = 4, ///< normal pbs signal
|
||||
SIGTYPE_PBS_ONEWAY = 5, ///< no-entry signal
|
||||
|
||||
SIGTYPE_END,
|
||||
SIGTYPE_LAST = SIGTYPE_PBS_ONEWAY,
|
||||
SIGTYPE_LAST_NOPBS = SIGTYPE_COMBO
|
||||
};
|
||||
template <> struct EnumPropsT<SignalType> : MakeEnumPropsT<SignalType, byte, SIGTYPE_NORMAL, SIGTYPE_END, SIGTYPE_END, 3> {};
|
||||
|
||||
|
||||
#endif /* SIGNAL_TYPE_H */
|
||||
|
Reference in New Issue
Block a user