From f91558f4c633f1b377d4c2a683bd9bf661e8a43c Mon Sep 17 00:00:00 2001 From: darkvater Date: Mon, 24 Jan 2005 11:32:47 +0000 Subject: (svn r1637) -Fix: VS6 warning -Added missing files to VS6 and VS.Net project files (bociusz) --- sound.c | 2 +- ttd.dsp | 4 ++++ ttd.vcproj | 4 ++++ 3 files changed, 9 insertions(+), 1 deletion(-) 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 @@ -760,6 +760,10 @@ SOURCE=.\table\allstrings.h 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"/> @@ -2506,6 +2507,9 @@ + + -- cgit v1.2.3-54-g00ecf