mirror of https://github.com/OpenTTD/OpenTTD
(svn r1637) -Fix: VS6 warning
-Added missing files to VS6 and VS.Net project files (bociusz)release/0.4.5
parent
6dc99f7738
commit
9139f4ba84
2
sound.c
2
sound.c
|
@ -241,7 +241,7 @@ static bool MxSetBankSource(MixerChannel *mc, uint bank)
|
||||||
FioReadBlock(mem, fe->file_size);
|
FioReadBlock(mem, fe->file_size);
|
||||||
|
|
||||||
for (i = 0; i != fe->file_size; i++)
|
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);
|
assert(fe->bits_per_sample == 8 && fe->channels == 1 && fe->file_size != 0 && fe->rate != 0);
|
||||||
|
|
||||||
|
|
4
ttd.dsp
4
ttd.dsp
|
@ -760,6 +760,10 @@ SOURCE=.\table\allstrings.h
|
||||||
SOURCE=.\table\animcursors.h
|
SOURCE=.\table\animcursors.h
|
||||||
# End Source File
|
# End Source File
|
||||||
|
|
||||||
|
# Begin Source File
|
||||||
|
SOURCE=.\table\autorail.h
|
||||||
|
# End Source File
|
||||||
|
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
SOURCE=.\table\build_industry.h
|
SOURCE=.\table\build_industry.h
|
||||||
# End Source File
|
# End Source File
|
||||||
|
|
|
@ -188,6 +188,7 @@
|
||||||
WarningLevel="3"
|
WarningLevel="3"
|
||||||
WarnAsError="TRUE"
|
WarnAsError="TRUE"
|
||||||
SuppressStartupBanner="TRUE"
|
SuppressStartupBanner="TRUE"
|
||||||
|
Detect64BitPortabilityProblems="FALSE"
|
||||||
DebugInformationFormat="4"
|
DebugInformationFormat="4"
|
||||||
CallingConvention="0"
|
CallingConvention="0"
|
||||||
CompileAs="1"/>
|
CompileAs="1"/>
|
||||||
|
@ -2506,6 +2507,9 @@
|
||||||
<File
|
<File
|
||||||
RelativePath=".\table\animcursors.h">
|
RelativePath=".\table\animcursors.h">
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath=".\table\autorail.h">
|
||||||
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="table\build_industry.h">
|
RelativePath="table\build_industry.h">
|
||||||
</File>
|
</File>
|
||||||
|
|
Loading…
Reference in New Issue