File diff r4548:6a33e364fba5 → r4549:76b9213799ac
rail.h
Show inline comments
 
@@ -79,13 +79,13 @@ static inline TrackBits AxisToTrackBits(
 
{
 
	return TrackToTrackBits(AxisToTrack(a));
 
}
 

	
 

	
 
/** These are a combination of tracks and directions. Values are 0-5 in one
 
direction (corresponding to the Track enum) and 8-13 in the other direction. */
 
 * direction (corresponding to the Track enum) and 8-13 in the other direction. */
 
typedef enum Trackdirs {
 
	TRACKDIR_X_NE     =  0,
 
	TRACKDIR_Y_SE     =  1,
 
	TRACKDIR_UPPER_E  =  2,
 
	TRACKDIR_LOWER_E  =  3,
 
	TRACKDIR_LEFT_S   =  4,
 
@@ -100,13 +100,13 @@ typedef enum Trackdirs {
 
	TRACKDIR_RIGHT_N  = 13,
 
	TRACKDIR_END,
 
	INVALID_TRACKDIR  = 0xFF,
 
} Trackdir;
 

	
 
/** These are a combination of tracks and directions. Values are 0-5 in one
 
direction (corresponding to the Track enum) and 8-13 in the other direction. */
 
 * direction (corresponding to the Track enum) and 8-13 in the other direction. */
 
typedef enum TrackdirBits {
 
	TRACKDIR_BIT_NONE     = 0x0000,
 
	TRACKDIR_BIT_X_NE     = 0x0001,
 
	TRACKDIR_BIT_Y_SE     = 0x0002,
 
	TRACKDIR_BIT_UPPER_E  = 0x0004,
 
	TRACKDIR_BIT_LOWER_E  = 0x0008,