summaryrefslogtreecommitdiff
path: root/table
diff options
context:
space:
mode:
authordarkvater <darkvater@openttd.org>2004-09-05 17:11:00 +0000
committerdarkvater <darkvater@openttd.org>2004-09-05 17:11:00 +0000
commit692c147faef712cd03000d6b84ef236f81ca0cd4 (patch)
treea8dc801febead80f5845b76893a5e527116b776b /table
parent10d54ac604b2d4d761877de1ceda07ceb3aa96bf (diff)
downloadopenttd-692c147faef712cd03000d6b84ef236f81ca0cd4.tar.xz
(svn r161) -Fix: added missing file to project and solved wrong type bug
Diffstat (limited to 'table')
-rw-r--r--table/directions.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/table/directions.h b/table/directions.h
new file mode 100644
index 000000000..c25468cfe
--- /dev/null
+++ b/table/directions.h
@@ -0,0 +1,8 @@
+static const byte _dir_to_straight_trackdir[4] = {
+ 0, 1, 8, 9,
+};
+
+static const byte _reverse_dir[4] = {
+// 3, 0, 1, 2
+ 2, 3, 0, 1
+};