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 */
|
||||||
|
|
124
openttd.dsp
124
openttd.dsp
|
@ -42,7 +42,7 @@ RSC=rc.exe
|
||||||
# PROP Ignore_Export_Lib 0
|
# PROP Ignore_Export_Lib 0
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /Yu"stdafx.h" /FD /c
|
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /Yu"stdafx.h" /FD /c
|
||||||
# ADD CPP /nologo /Gr /Zp4 /MT /W3 /Zi /Ox /Oa /Ow /Og /Oi /Os /Gf /Gy /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /D "WIN32_EXCEPTION_TRACKER" /D "WIN32_ENABLE_DIRECTMUSIC_SUPPORT" /D "WITH_PNG" /D "WITH_ZLIB" /D "ENABLE_NETWORK" /FAcs /FR /Yu"stdafx.h" /J /FD /c
|
# ADD CPP /nologo /Gr /Zp4 /MT /W3 /Zi /Ox /Oa /Ow /Og /Oi /Os /Gf /Gy /I "../include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /D "WIN32_EXCEPTION_TRACKER" /D "WIN32_ENABLE_DIRECTMUSIC_SUPPORT" /D "WITH_PNG" /D "WITH_ZLIB" /D "ENABLE_NETWORK" /FAcs /FR /Yu"stdafx.h" /J /FD /c
|
||||||
# SUBTRACT CPP /WX /Ot
|
# SUBTRACT CPP /WX /Ot
|
||||||
# ADD BASE RSC /l 0x809 /d "NDEBUG"
|
# ADD BASE RSC /l 0x809 /d "NDEBUG"
|
||||||
# ADD RSC /l 0x809 /d "NDEBUG"
|
# ADD RSC /l 0x809 /d "NDEBUG"
|
||||||
|
@ -51,7 +51,7 @@ BSC32=bscmake.exe
|
||||||
# ADD BSC32 /nologo
|
# ADD BSC32 /nologo
|
||||||
LINK32=link.exe
|
LINK32=link.exe
|
||||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
|
||||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winmm.lib ws2_32.lib libpng.lib zlibstat.lib dxguid.lib /nologo /subsystem:windows /map /machine:I386 /opt:nowin98
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winmm.lib ws2_32.lib libpng.lib zlibstat.lib dxguid.lib /nologo /subsystem:windows /map /machine:I386 /nodefaultlib:"libc.lib" /libpath:"../lib" /opt:nowin98
|
||||||
# SUBTRACT LINK32 /pdb:none
|
# SUBTRACT LINK32 /pdb:none
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "openttd - Win32 Debug"
|
!ELSEIF "$(CFG)" == "openttd - Win32 Debug"
|
||||||
|
@ -68,7 +68,7 @@ LINK32=link.exe
|
||||||
# PROP Ignore_Export_Lib 0
|
# PROP Ignore_Export_Lib 0
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /Yu"stdafx.h" /FD /GZ /c
|
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /Yu"stdafx.h" /FD /GZ /c
|
||||||
# ADD CPP /nologo /MTd /W3 /Gm /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /D "WITH_PNG" /D "WITH_ZLIB" /D "ENABLE_NETWORK" /D "WIN32_ENABLE_DIRECTMUSIC_SUPPORT" /YX"stdafx.h" /FD /GZ /c
|
# ADD CPP /nologo /MTd /W3 /Gm /ZI /Od /I "../include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /D "WITH_PNG" /D "WITH_ZLIB" /D "ENABLE_NETWORK" /D "WIN32_ENABLE_DIRECTMUSIC_SUPPORT" /YX"stdafx.h" /FD /GZ /c
|
||||||
# SUBTRACT CPP /WX /Fr
|
# SUBTRACT CPP /WX /Fr
|
||||||
# ADD BASE RSC /l 0x809 /d "_DEBUG"
|
# ADD BASE RSC /l 0x809 /d "_DEBUG"
|
||||||
# ADD RSC /l 0x809 /d "_DEBUG"
|
# ADD RSC /l 0x809 /d "_DEBUG"
|
||||||
|
@ -77,7 +77,7 @@ BSC32=bscmake.exe
|
||||||
# ADD BSC32 /nologo
|
# ADD BSC32 /nologo
|
||||||
LINK32=link.exe
|
LINK32=link.exe
|
||||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
|
||||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winmm.lib ws2_32.lib libpng.lib zlibstat.lib dxguid.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winmm.lib ws2_32.lib libpng.lib zlibstat.lib dxguid.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libc.lib" /pdbtype:sept /libpath:"../lib"
|
||||||
# SUBTRACT LINK32 /pdb:none
|
# SUBTRACT LINK32 /pdb:none
|
||||||
|
|
||||||
!ENDIF
|
!ENDIF
|
||||||
|
@ -92,50 +92,15 @@ LINK32=link.exe
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=.\ai\ai.c
|
SOURCE=.\ai\ai.c
|
||||||
|
|
||||||
!IF "$(CFG)" == "openttd - Win32 Release"
|
!IF "$(CFG)" == "openttd - Win32 Release"
|
||||||
|
|
||||||
# ADD CPP /Yu"../stdafx.h"
|
# ADD CPP /Yu"../stdafx.h"
|
||||||
!ELSEIF "$(CFG)" == "openttd - Win32 Debug"
|
|
||||||
!ENDIF
|
|
||||||
# End Source File
|
|
||||||
# Begin Source File
|
|
||||||
|
|
||||||
SOURCE=.\ai\trolly\build.c
|
|
||||||
!IF "$(CFG)" == "openttd - Win32 Release"
|
|
||||||
# ADD CPP /Yu"../../stdafx.h"
|
|
||||||
!ELSEIF "$(CFG)" == "openttd - Win32 Debug"
|
!ELSEIF "$(CFG)" == "openttd - Win32 Debug"
|
||||||
!ENDIF
|
|
||||||
# End Source File
|
|
||||||
# Begin Source File
|
|
||||||
|
|
||||||
SOURCE=.\ai\trolly\trolly.c
|
|
||||||
!IF "$(CFG)" == "openttd - Win32 Release"
|
|
||||||
# ADD CPP /Yu"../../stdafx.h"
|
|
||||||
!ELSEIF "$(CFG)" == "openttd - Win32 Debug"
|
|
||||||
!ENDIF
|
!ENDIF
|
||||||
# End Source File
|
|
||||||
# Begin Source File
|
|
||||||
|
|
||||||
SOURCE=.\ai\default\default.c
|
|
||||||
!IF "$(CFG)" == "openttd - Win32 Release"
|
|
||||||
# ADD CPP /Yu"../../stdafx.h"
|
|
||||||
!ELSEIF "$(CFG)" == "openttd - Win32 Debug"
|
|
||||||
!ENDIF
|
|
||||||
# End Source File
|
|
||||||
# Begin Source File
|
|
||||||
|
|
||||||
SOURCE=.\ai\trolly\pathfinder.c
|
|
||||||
!IF "$(CFG)" == "openttd - Win32 Release"
|
|
||||||
# ADD CPP /Yu"../../stdafx.h"
|
|
||||||
!ELSEIF "$(CFG)" == "openttd - Win32 Debug"
|
|
||||||
!ENDIF
|
|
||||||
# End Source File
|
|
||||||
# Begin Source File
|
|
||||||
|
|
||||||
SOURCE=.\ai\trolly\shared.c
|
|
||||||
!IF "$(CFG)" == "openttd - Win32 Release"
|
|
||||||
# ADD CPP /Yu"../../stdafx.h"
|
|
||||||
!ELSEIF "$(CFG)" == "openttd - Win32 Debug"
|
|
||||||
!ENDIF
|
|
||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
|
@ -147,6 +112,19 @@ SOURCE=.\aystar.c
|
||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=.\ai\trolly\build.c
|
||||||
|
|
||||||
|
!IF "$(CFG)" == "openttd - Win32 Release"
|
||||||
|
|
||||||
|
# ADD CPP /Yu"../../stdafx.h"
|
||||||
|
|
||||||
|
!ELSEIF "$(CFG)" == "openttd - Win32 Debug"
|
||||||
|
|
||||||
|
!ENDIF
|
||||||
|
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=.\command.c
|
SOURCE=.\command.c
|
||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
@ -180,6 +158,19 @@ SOURCE=.\video\dedicated_v.c
|
||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=.\ai\default\default.c
|
||||||
|
|
||||||
|
!IF "$(CFG)" == "openttd - Win32 Release"
|
||||||
|
|
||||||
|
# ADD CPP /Yu"../../stdafx.h"
|
||||||
|
|
||||||
|
!ELSEIF "$(CFG)" == "openttd - Win32 Debug"
|
||||||
|
|
||||||
|
!ENDIF
|
||||||
|
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=.\depot.c
|
SOURCE=.\depot.c
|
||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
@ -359,6 +350,19 @@ SOURCE=.\pathfind.c
|
||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=.\ai\trolly\pathfinder.c
|
||||||
|
|
||||||
|
!IF "$(CFG)" == "openttd - Win32 Release"
|
||||||
|
|
||||||
|
# ADD CPP /Yu"../../stdafx.h"
|
||||||
|
|
||||||
|
!ELSEIF "$(CFG)" == "openttd - Win32 Debug"
|
||||||
|
|
||||||
|
!ENDIF
|
||||||
|
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=.\players.c
|
SOURCE=.\players.c
|
||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
@ -417,6 +421,19 @@ SOURCE=.\settings.c
|
||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=.\ai\trolly\shared.c
|
||||||
|
|
||||||
|
!IF "$(CFG)" == "openttd - Win32 Release"
|
||||||
|
|
||||||
|
# ADD CPP /Yu"../../stdafx.h"
|
||||||
|
|
||||||
|
!ELSEIF "$(CFG)" == "openttd - Win32 Debug"
|
||||||
|
|
||||||
|
!ENDIF
|
||||||
|
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=.\signs.c
|
SOURCE=.\signs.c
|
||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
@ -425,10 +442,6 @@ SOURCE=.\sound.c
|
||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=.\sprite.c
|
|
||||||
# End Source File
|
|
||||||
# Begin Source File
|
|
||||||
|
|
||||||
SOURCE=.\spritecache.c
|
SOURCE=.\spritecache.c
|
||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
@ -466,6 +479,19 @@ SOURCE=.\tile.c
|
||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=.\ai\trolly\trolly.c
|
||||||
|
|
||||||
|
!IF "$(CFG)" == "openttd - Win32 Release"
|
||||||
|
|
||||||
|
# ADD CPP /Yu"../../stdafx.h"
|
||||||
|
|
||||||
|
!ELSEIF "$(CFG)" == "openttd - Win32 Debug"
|
||||||
|
|
||||||
|
!ENDIF
|
||||||
|
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=.\unix.c
|
SOURCE=.\unix.c
|
||||||
# PROP Exclude_From_Build 1
|
# PROP Exclude_From_Build 1
|
||||||
# End Source File
|
# End Source File
|
||||||
|
@ -542,10 +568,6 @@ SOURCE=.\window.c
|
||||||
# PROP Default_Filter "h;hpp;hxx;hm;inl"
|
# PROP Default_Filter "h;hpp;hxx;hm;inl"
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=.\ai\trolly\trolly.h
|
|
||||||
# End Source File
|
|
||||||
# Begin Source File
|
|
||||||
|
|
||||||
SOURCE=.\ai\ai.h
|
SOURCE=.\ai\ai.h
|
||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
@ -766,6 +788,10 @@ SOURCE=.\train.h
|
||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=.\ai\trolly\trolly.h
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=.\variables.h
|
SOURCE=.\variables.h
|
||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
|
@ -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