diff options
author | tron <tron@openttd.org> | 2006-03-18 13:20:50 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2006-03-18 13:20:50 +0000 |
commit | d8dcedcfd23f4e875788087c054187fe37bd8a43 (patch) | |
tree | 3e6f1c59c1d5d2c85f13911e3728aa9619db888b /rail.c | |
parent | b610872f35209ab796aae289c9a01c26b86f1b03 (diff) | |
download | openttd-d8dcedcfd23f4e875788087c054187fe37bd8a43.tar.xz |
(svn r3946) Add short hand names for common track combinations
Diffstat (limited to 'rail.c')
-rw-r--r-- | rail.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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 |