src/direction.h
changeset 8137 67a9579abd74
parent 7890 94c64bc6b1a6
equal deleted inserted replaced
8136:d1a4486be2fd 8137:67a9579abd74
   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.