summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordarkvater <darkvater@openttd.org>2005-01-24 11:32:47 +0000
committerdarkvater <darkvater@openttd.org>2005-01-24 11:32:47 +0000
commitf91558f4c633f1b377d4c2a683bd9bf661e8a43c (patch)
tree31da3dbc9540ef2e00dc688fe5ef9d78f9f996c3
parentdcacc38d817ae545b34aaa85cd94f51ed1f32faa (diff)
downloadopenttd-f91558f4c633f1b377d4c2a683bd9bf661e8a43c.tar.xz
(svn r1637) -Fix: VS6 warning
-Added missing files to VS6 and VS.Net project files (bociusz)
-rw-r--r--sound.c2
-rw-r--r--ttd.dsp4
-rw-r--r--ttd.vcproj4
3 files changed, 9 insertions, 1 deletions
diff --git a/sound.c b/sound.c
index f8b5de7da..28055dee4 100644
--- a/sound.c
+++ b/sound.c
@@ -241,7 +241,7 @@ static bool MxSetBankSource(MixerChannel *mc, uint bank)
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);
diff --git a/ttd.dsp b/ttd.dsp
index 130eb7594..1b8a67280 100644
--- a/ttd.dsp
+++ b/ttd.dsp
@@ -761,6 +761,10 @@ SOURCE=.\table\animcursors.h
# End Source File
# Begin Source File
+SOURCE=.\table\autorail.h
+# End Source File
+
+# Begin Source File
SOURCE=.\table\build_industry.h
# End Source File
diff --git a/ttd.vcproj b/ttd.vcproj
index 9a36f4c47..7023f7d90 100644
--- a/ttd.vcproj
+++ b/ttd.vcproj
@@ -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