mirror of https://github.com/OpenTTD/OpenTTD
(svn r4746) - Fix: VC shows warning in newgrf_station.c:211 and complains about missing sprite.c
parent
86b5790782
commit
1512d86e35
|
@ -208,7 +208,7 @@ static uint32 StationGetVariable(const ResolverObject *object, byte variable, by
|
||||||
|
|
||||||
switch (variable) {
|
switch (variable) {
|
||||||
/* Calculated station variables */
|
/* Calculated station variables */
|
||||||
case 0x42: GetRailType(object->u.station.tile) << 8; /* Rail type */
|
case 0x42: return GetRailType(object->u.station.tile) << 8; /* Rail type */
|
||||||
case 0x43: return st->owner; /* Station owner */
|
case 0x43: return st->owner; /* Station owner */
|
||||||
case 0x44: return 2; /* PBS status */
|
case 0x44: return 2; /* PBS status */
|
||||||
case 0x48: { /* Accepted cargo types */
|
case 0x48: { /* Accepted cargo types */
|
||||||
|
|
2516
openttd.dsp
2516
openttd.dsp
File diff suppressed because it is too large
Load Diff
|
@ -58,6 +58,7 @@
|
||||||
OutputFile=".\Release/openttd.exe"
|
OutputFile=".\Release/openttd.exe"
|
||||||
LinkIncremental="1"
|
LinkIncremental="1"
|
||||||
SuppressStartupBanner="TRUE"
|
SuppressStartupBanner="TRUE"
|
||||||
|
IgnoreDefaultLibraryNames="libc.lib"
|
||||||
GenerateDebugInformation="TRUE"
|
GenerateDebugInformation="TRUE"
|
||||||
ProgramDatabaseFile=".\Release/openttd.pdb"
|
ProgramDatabaseFile=".\Release/openttd.pdb"
|
||||||
SubSystem="2"
|
SubSystem="2"
|
||||||
|
@ -124,6 +125,7 @@
|
||||||
OutputFile=".\Debug/openttd.exe"
|
OutputFile=".\Debug/openttd.exe"
|
||||||
LinkIncremental="0"
|
LinkIncremental="0"
|
||||||
SuppressStartupBanner="TRUE"
|
SuppressStartupBanner="TRUE"
|
||||||
|
IgnoreDefaultLibraryNames="libc.lib"
|
||||||
GenerateDebugInformation="TRUE"
|
GenerateDebugInformation="TRUE"
|
||||||
ProgramDatabaseFile=".\Debug/openttd.pdb"
|
ProgramDatabaseFile=".\Debug/openttd.pdb"
|
||||||
SubSystem="2"
|
SubSystem="2"
|
||||||
|
@ -349,9 +351,6 @@
|
||||||
<File
|
<File
|
||||||
RelativePath=".\sound.c">
|
RelativePath=".\sound.c">
|
||||||
</File>
|
</File>
|
||||||
<File
|
|
||||||
RelativePath=".\sprite.c">
|
|
||||||
</File>
|
|
||||||
<File
|
<File
|
||||||
RelativePath=".\spritecache.c">
|
RelativePath=".\spritecache.c">
|
||||||
</File>
|
</File>
|
||||||
|
|
Loading…
Reference in New Issue