EnumIndexArray< T, DiagDirection, DiagDirection::End > DiagDirectionIndexArray
Array with DiagDirection as index.
@ NE
Northeast, upper right on your monitor.
EnumIndexArray< T, Corner, CORNER_END > CornerIndexArray
Array with Corner as index.
const TrackIndexArray< DiagDirectionIndexArray< Trackdir > > _track_enterdir_to_trackdir
Maps a track and an (4-way) dir to the trackdir that represents the track with the entry in the given...
const TrackIndexArray< TrackdirBits > _track_crosses_trackdirs
Maps a trackdir to all trackdirs that make 90 deg turns with it.
const DiagDirectionIndexArray< TrackdirBits > _exitdir_reaches_trackdirs
Maps a diagonal direction to the all trackdirs that are connected to any track entering in this direc...
const CornerIndexArray< TrackBits > _corner_to_trackbits
Maps a single horizontal/vertical trackbit that is in a specific tile corner.
const TrackdirIndexArray< DiagDirection > _trackdir_to_exitdir
Maps a trackdir to the (4-way) direction the tile is exited when following that trackdir.
const TrackdirIndexArray< Trackdir > _next_trackdir
Next trackdir to use when moving to a new tile for each current trackdir.
const DiagDirectionIndexArray< Trackdir > _dir_to_diag_trackdir
Maps a (4-way) direction to the diagonal trackdir that runs in that direction.
const TrackIndexArray< DirectionIndexArray< Trackdir > > _track_direction_to_trackdir
Maps a track and a full (8-way) direction to the trackdir that represents the track running in the gi...
const TrackIndexArray< TrackBits > _track_crosses_tracks
Maps a track to all tracks that make 90 deg turns with it.
const TrackIndexArray< DiagDirectionIndexArray< Trackdir > > _track_exitdir_to_trackdir
Maps a track and an (4-way) dir to the trackdir that represents the track with the exit in the given ...
EnumIndexArray< T, Track, Track::End > TrackIndexArray
Array with Track as index.
EnumBitSet< Trackdir, uint16_t > TrackdirBits
Bitset of Trackdir elements.
@ Right_N
Right track and direction to north.
@ X_NE
X-axis and direction to north-east.
@ Right_S
Right track and direction to south.
@ Left_S
Left track and direction to south.
@ Lower_E
Lower track and direction to east.
@ X_SW
X-axis and direction to south-west.
@ Invalid
Flag for an invalid trackdir.
@ Y_SE
Y-axis and direction to south-east.
@ Y_NW
Y-axis and direction to north-west.
@ Upper_W
Upper track and direction to west.
@ Upper_E
Upper track and direction to east.
@ Left_N
Left track and direction to north.
@ Lower_W
Lower track and direction to west.
EnumIndexArray< T, Trackdir, Trackdir::End > TrackdirIndexArray
Array with Trackdir as index.
@ X
Track along the x-axis (north-east to south-west).
@ Upper
Track in the upper corner of the tile (north).
@ Y
Track along the y-axis (north-west to south-east).
@ Right
Track in the right corner of the tile (east).
@ Left
Track in the left corner of the tile (west).
@ Lower
Track in the lower corner of the tile (south).