File diff r6155:3e639b230174 → r6156:375224af1234
src/rail.h
Show inline comments
 
@@ -158,13 +158,12 @@ typedef enum TrackdirBits {
 
} TrackdirBits;
 

	
 
/** Define basic enum properties */
 
template <> struct EnumPropsT<TrackdirBits> : MakeEnumPropsT<TrackdirBits, uint16, TRACKDIR_BIT_NONE, TRACKDIR_BIT_MASK, INVALID_TRACKDIR_BIT> {};
 
typedef TinyEnumT<TrackdirBits> TrackdirBitsShort;
 
DECLARE_ENUM_AS_BIT_SET(TrackdirBits);
 
DECLARE_ENUM_AS_BIT_INDEX(Trackdir, TrackdirBits);
 

	
 
/** This struct contains all the info that is needed to draw and construct tracks.
 
 */
 
typedef struct RailtypeInfo {
 
	/** Struct containing the main sprites. @note not all sprites are listed, but only
 
	 *  the ones used directly in the code */