summaryrefslogtreecommitdiff
path: root/rail.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-03-18 13:20:50 +0000
committertron <tron@openttd.org>2006-03-18 13:20:50 +0000
commitd8dcedcfd23f4e875788087c054187fe37bd8a43 (patch)
tree3e6f1c59c1d5d2c85f13911e3728aa9619db888b /rail.c
parentb610872f35209ab796aae289c9a01c26b86f1b03 (diff)
downloadopenttd-d8dcedcfd23f4e875788087c054187fe37bd8a43.tar.xz
(svn r3946) Add short hand names for common track combinations
Diffstat (limited to 'rail.c')
-rw-r--r--rail.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/rail.c b/rail.c
index 6ca3959ac..688ec9aab 100644
--- a/rail.c
+++ b/rail.c
@@ -55,12 +55,12 @@ const TrackdirBits _track_crosses_trackdirs[] = {
/* Maps a track to all tracks that make 90 deg turns with it. */
const TrackBits _track_crosses_tracks[] = {
- TRACK_BIT_Y, /* TRACK_X */
- TRACK_BIT_X, /* TRACK_Y */
- TRACK_BIT_LEFT | TRACK_BIT_RIGHT, /* TRACK_UPPER */
- TRACK_BIT_LEFT | TRACK_BIT_RIGHT, /* TRACK_LOWER */
- TRACK_BIT_UPPER | TRACK_BIT_LOWER, /* TRACK_LEFT */
- TRACK_BIT_UPPER | TRACK_BIT_LOWER /* TRACK_RIGHT */
+ TRACK_BIT_Y, /* TRACK_X */
+ TRACK_BIT_X, /* TRACK_Y */
+ TRACK_BIT_VERT, /* TRACK_UPPER */
+ TRACK_BIT_VERT, /* TRACK_LOWER */
+ TRACK_BIT_HORZ, /* TRACK_LEFT */
+ TRACK_BIT_HORZ /* TRACK_RIGHT */
};
/* Maps a trackdir to the (4-way) direction the tile is exited when following