summaryrefslogtreecommitdiff
path: root/rail.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-03-05 12:34:55 +0000
committertron <tron@openttd.org>2006-03-05 12:34:55 +0000
commit586388c9f17a39b4d3a7e7706fe6b40191a922b4 (patch)
tree113bde0444e78799f198050654eba4d96e28702e /rail.c
parentf007ad282c60cc1b2529b44c3e0b4c1bdab3d685 (diff)
downloadopenttd-586388c9f17a39b4d3a7e7706fe6b40191a922b4.tar.xz
(svn r3767) Move all direction related enums and functions to a separate header
Diffstat (limited to 'rail.c')
-rw-r--r--rail.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/rail.c b/rail.c
index 286bf3e49..43ce2e812 100644
--- a/rail.c
+++ b/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