(svn r161) -Fix: added missing file to project and solved wrong type bug
authordarkvater
Sun, 05 Sep 2004 17:11:00 +0000
changeset 160 db200af4794a
parent 159 139cf78bfb28
child 161 74453c59315c
(svn r161) -Fix: added missing file to project and solved wrong type bug
table/directions.h
tree_cmd.c
ttd.dsp
ttd.vcproj
unmovable_cmd.c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/table/directions.h	Sun Sep 05 17:11:00 2004 +0000
@@ -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
+};
--- a/tree_cmd.c	Sun Sep 05 16:15:22 2004 +0000
+++ b/tree_cmd.c	Sun Sep 05 17:11:00 2004 +0000
@@ -618,7 +618,7 @@
 	/* not used */
 }
 
-static uint32 GetTileTrackStatus_Trees(uint tile, int mode)
+static uint32 GetTileTrackStatus_Trees(uint tile, TransportType mode)
 {
 	return 0;
 }
--- a/ttd.dsp	Sun Sep 05 16:15:22 2004 +0000
+++ b/ttd.dsp	Sun Sep 05 17:11:00 2004 +0000
@@ -898,6 +898,10 @@
 # End Source File
 # Begin Source File
 
+SOURCE=.\table\directions.h
+# End Source File
+# Begin Source File
+
 SOURCE=.\table\engines.h
 # End Source File
 # Begin Source File
--- a/ttd.vcproj	Sun Sep 05 16:15:22 2004 +0000
+++ b/ttd.vcproj	Sun Sep 05 17:11:00 2004 +0000
@@ -294,7 +294,7 @@
 			</File>
 			<File
 				RelativePath=".\console.c">
-			</File>			
+			</File>
 			<File
 				RelativePath="economy.c">
 				<FileConfiguration
@@ -1103,7 +1103,7 @@
 			</File>
 			<File
 				RelativePath="console.h">
-			</File>			
+			</File>
 			<File
 				RelativePath="economy.h">
 			</File>
@@ -2561,6 +2561,9 @@
 				RelativePath="table\clear_land.h">
 			</File>
 			<File
+				RelativePath=".\table\directions.h">
+			</File>
+			<File
 				RelativePath="table\engines.h">
 			</File>
 			<File
--- a/unmovable_cmd.c	Sun Sep 05 16:15:22 2004 +0000
+++ b/unmovable_cmd.c	Sun Sep 05 17:11:00 2004 +0000
@@ -223,7 +223,7 @@
 }
 
 
-static uint32 GetTileTrackStatus_Unmovable(uint tile, int mode)
+static uint32 GetTileTrackStatus_Unmovable(uint tile, TransportType mode)
 {
 	return 0;
 }