(svn r4746) - Fix: VC shows warning in newgrf_station.c:211 and complains about missing sprite.c

This commit is contained in:
KUDr 2006-05-05 19:30:09 +00:00
parent 86b5790782
commit 1512d86e35
3 changed files with 1274 additions and 1249 deletions

View File

@ -208,7 +208,7 @@ static uint32 StationGetVariable(const ResolverObject *object, byte variable, by
switch (variable) {
/* 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 0x44: return 2; /* PBS status */
case 0x48: { /* Accepted cargo types */

File diff suppressed because it is too large Load Diff

View File

@ -58,6 +58,7 @@
OutputFile=".\Release/openttd.exe"
LinkIncremental="1"
SuppressStartupBanner="TRUE"
IgnoreDefaultLibraryNames="libc.lib"
GenerateDebugInformation="TRUE"
ProgramDatabaseFile=".\Release/openttd.pdb"
SubSystem="2"
@ -124,6 +125,7 @@
OutputFile=".\Debug/openttd.exe"
LinkIncremental="0"
SuppressStartupBanner="TRUE"
IgnoreDefaultLibraryNames="libc.lib"
GenerateDebugInformation="TRUE"
ProgramDatabaseFile=".\Debug/openttd.pdb"
SubSystem="2"
@ -349,9 +351,6 @@
<File
RelativePath=".\sound.c">
</File>
<File
RelativePath=".\sprite.c">
</File>
<File
RelativePath=".\spritecache.c">
</File>