(svn r1637) -Fix: VS6 warning
authordarkvater
Mon, 24 Jan 2005 11:32:47 +0000
changeset 1136 052a24d24813
parent 1135 b939a3c018eb
child 1137 c492b777af49
(svn r1637) -Fix: VS6 warning
-Added missing files to VS6 and VS.Net project files (bociusz)
sound.c
ttd.dsp
ttd.vcproj
--- a/sound.c	Mon Jan 24 10:50:57 2005 +0000
+++ b/sound.c	Mon Jan 24 11:32:47 2005 +0000
@@ -241,7 +241,7 @@
 	FioReadBlock(mem, fe->file_size);
 
 	for (i = 0; i != fe->file_size; i++)
-		mem[i] -= 128; // Convert unsigned sound data to signed
+		mem[i] += -128; // Convert unsigned sound data to signed
 
 	assert(fe->bits_per_sample == 8 && fe->channels == 1 && fe->file_size != 0 && fe->rate != 0);
 
--- a/ttd.dsp	Mon Jan 24 10:50:57 2005 +0000
+++ b/ttd.dsp	Mon Jan 24 11:32:47 2005 +0000
@@ -761,6 +761,10 @@
 # End Source File
 
 # Begin Source File
+SOURCE=.\table\autorail.h
+# End Source File
+
+# Begin Source File
 SOURCE=.\table\build_industry.h
 # End Source File
 
--- a/ttd.vcproj	Mon Jan 24 10:50:57 2005 +0000
+++ b/ttd.vcproj	Mon Jan 24 11:32:47 2005 +0000
@@ -188,6 +188,7 @@
 				WarningLevel="3"
 				WarnAsError="TRUE"
 				SuppressStartupBanner="TRUE"
+				Detect64BitPortabilityProblems="FALSE"
 				DebugInformationFormat="4"
 				CallingConvention="0"
 				CompileAs="1"/>
@@ -2507,6 +2508,9 @@
 				RelativePath=".\table\animcursors.h">
 			</File>
 			<File
+				RelativePath=".\table\autorail.h">
+			</File>
+			<File
 				RelativePath="table\build_industry.h">
 			</File>
 			<File