forked from mirror/OpenTTD
(svn r3767) Move all direction related enums and functions to a separate header
This commit is contained in:
4
rail.c
4
rail.c
@@ -99,10 +99,6 @@ const Trackdir _dir_to_diag_trackdir[] = {
|
||||
TRACKDIR_X_NE, TRACKDIR_Y_SE, TRACKDIR_X_SW, TRACKDIR_Y_NW,
|
||||
};
|
||||
|
||||
const DiagDirection _reverse_diagdir[] = {
|
||||
DIAGDIR_SW, DIAGDIR_NW, DIAGDIR_NE, DIAGDIR_SE
|
||||
};
|
||||
|
||||
const Trackdir _reverse_trackdir[] = {
|
||||
TRACKDIR_X_SW, TRACKDIR_Y_NW, TRACKDIR_UPPER_W, TRACKDIR_LOWER_W, TRACKDIR_LEFT_N, TRACKDIR_RIGHT_N, INVALID_TRACKDIR, INVALID_TRACKDIR,
|
||||
TRACKDIR_X_NE, TRACKDIR_Y_SE, TRACKDIR_UPPER_E, TRACKDIR_LOWER_E, TRACKDIR_LEFT_S, TRACKDIR_RIGHT_S
|
||||
|
Reference in New Issue
Block a user