summaryrefslogtreecommitdiff
path: root/src/direction.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-09-26 16:12:43 +0000
committerrubidium <rubidium@openttd.org>2007-09-26 16:12:43 +0000
commit01edaeec578bddb73b4513baf9d8bfe5f9a886b0 (patch)
tree226af8de8514a96ed474dc9590f68e2c517a31d9 /src/direction.h
parenta85e18c92200590c84a6c3d3f60dd41f394cc0fe (diff)
downloadopenttd-01edaeec578bddb73b4513baf9d8bfe5f9a886b0.tar.xz
(svn r11172) -Codechange: rewrite of town road building and addition of the possibility to clean up unconnected road bits during the local road reconstructions. Based on a patch by skidd13.
Diffstat (limited to 'src/direction.h')
-rw-r--r--src/direction.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/direction.h b/src/direction.h
index 84d6b952e..9e678c9c9 100644
--- a/src/direction.h
+++ b/src/direction.h
@@ -165,6 +165,9 @@ enum DiagDirDiff {
DIAGDIRDIFF_90LEFT = 3 ///< 90 degrees left
};
+/** Allow incrementing of DiagDirDiff variables */
+DECLARE_POSTFIX_INCREMENT(DiagDirDiff);
+
/**
* Applies a difference on a DiagDirection
*