|
OpenTTD Source 20260311-master-g511d3794ce
|
Data related to rail tracks. More...
Go to the source code of this file.
Variables | |
| const TrackdirBits | _exitdir_reaches_trackdirs [] |
| Maps a diagonal direction to the all trackdirs that are connected to any track entering in this direction (including those making 90 degree turns). | |
| const Trackdir | _next_trackdir [TRACKDIR_END] |
| const TrackdirBits | _track_crosses_trackdirs [TRACK_END] |
| Maps a trackdir to all trackdirs that make 90 deg turns with it. | |
| const TrackBits | _track_crosses_tracks [] |
| Maps a track to all tracks that make 90 deg turns with it. | |
| const DiagDirection | _trackdir_to_exitdir [TRACKDIR_END] |
| Maps a trackdir to the (4-way) direction the tile is exited when following that trackdir. | |
| const Trackdir | _track_exitdir_to_trackdir [][DIAGDIR_END] |
| const Trackdir | _track_enterdir_to_trackdir [][DIAGDIR_END] |
| const Trackdir | _track_direction_to_trackdir [][DIR_END] |
| const Trackdir | _dir_to_diag_trackdir [] |
| const TrackBits | _corner_to_trackbits [] |
| const TrackdirBits | _uphill_trackdirs [] |
Data related to rail tracks.
Definition in file track_data.h.
|
extern |
|
extern |
|
extern |
Maps a diagonal direction to the all trackdirs that are connected to any track entering in this direction (including those making 90 degree turns).
Referenced by DiagdirReachesTrackdirs(), and TrackdirReachesTrackdirs().
|
extern |
|
extern |
Maps a trackdir to all trackdirs that make 90 deg turns with it.
Referenced by TrackdirCrossesTrackdirs().
|
extern |
Maps a track to all tracks that make 90 deg turns with it.
Referenced by TrackCrossesTracks().
|
extern |
|
extern |
|
extern |
Maps a trackdir to the (4-way) direction the tile is exited when following that trackdir.
Referenced by TrackdirToExitdir().