src/direction.h
branchNewGRF_ports
changeset 6870 ca3fd1fbe311
parent 6743 cabfaa4a0295
equal deleted inserted replaced
6869:76282d3b748d 6870:ca3fd1fbe311
   163 	DIAGDIRDIFF_90RIGHT = 1,        ///< 90 degrees right
   163 	DIAGDIRDIFF_90RIGHT = 1,        ///< 90 degrees right
   164 	DIAGDIRDIFF_REVERSE = 2,        ///< Reverse directions
   164 	DIAGDIRDIFF_REVERSE = 2,        ///< Reverse directions
   165 	DIAGDIRDIFF_90LEFT  = 3         ///< 90 degrees left
   165 	DIAGDIRDIFF_90LEFT  = 3         ///< 90 degrees left
   166 };
   166 };
   167 
   167 
       
   168 /** Allow incrementing of DiagDirDiff variables */
       
   169 DECLARE_POSTFIX_INCREMENT(DiagDirDiff);
       
   170 
   168 /**
   171 /**
   169  * Applies a difference on a DiagDirection
   172  * Applies a difference on a DiagDirection
   170  *
   173  *
   171  * This function applies a difference on a DiagDirection and returns
   174  * This function applies a difference on a DiagDirection and returns
   172  * the new DiagDirection.
   175  * the new DiagDirection.