Skip to content

Commit 5e27785

Browse files
committed
Fix compilation under MSVC(VS2019)
1 parent 94fb7d4 commit 5e27785

File tree

127 files changed

+195
-95
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

127 files changed

+195
-95
lines changed

.gitignore

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,32 @@
11
*.mak
22
*.mak.vpc_crc
33
*.vpc_crc
4+
*.vpc.*
45
*.project
56
*obj_*
67
build/
78
.waf*
89
.lock-waf*
910
__pycache__
1011
*.pyc
12+
.vs/
13+
Debug/
14+
Debug_*/
15+
Release/
16+
Release_*/
17+
*.tlog/
18+
*.obj
19+
*.pch
20+
*.log
21+
*.idb
22+
*.pdb
23+
*.rc
24+
*.bin
25+
*.vcxproj*
26+
*.sln
27+
*.dll*
28+
*.exp
29+
*.ilk
30+
ValveETWProviderEvents.h
31+
game/client/*/client.lib
32+
game/server/*/server.lib

bitmap/bitmap.vpc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ $Configuration
1515
$AdditionalIncludeDirectories "$BASE;$SRCDIR\dx9sdk\include" [$WINDOWS]
1616
$AdditionalIncludeDirectories "$BASE;$SRCDIR\x360xdk\include\win32\vs2005" [$WINDOWS]
1717
$AdditionalIncludeDirectories "$BASE;$SRCDIR\thirdparty\stb"
18+
19+
$PreprocessorDefinitions "$BASE;NO_X360_XDK;" [!$X360]
1820
}
1921
}
2022

creategameprojects.bat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
devtools\bin\vpc.exe /2019 +game /hl2 /mksln game.sln

datacache/datacache.vpc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
//-----------------------------------------------------------------------------
66

77
$macro SRCDIR ".."
8-
$Macro OUTBINDIR "$LIBPUBLIC"
8+
$Macro OUTBINDIR "$SRCDIR\..\game\bin"
99

1010
$include "$SRCDIR\vpc_scripts\source_dll_base.vpc"
1111

dedicated/dedicated.vpc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
//-----------------------------------------------------------------------------
66

77
$Macro SRCDIR ".."
8-
$Macro OUTBINDIR "$LIBPUBLIC"
8+
$Macro OUTBINDIR "$SRCDIR\..\game\bin"
99

1010
$Include "$SRCDIR\vpc_scripts\source_dll_base.vpc"
1111
$include "$SRCDIR\vpc_scripts\source_cryptlib_include.vpc"
@@ -142,6 +142,7 @@ $Project "Dedicated"
142142
$Lib tier2
143143
$Lib tier3
144144
$Lib vgui_controls [$WIN32]
145+
$Lib vpklib
145146
$LibExternal "$SRCDIR/thirdparty/libedit-3.1/src/.libs/libedit" [$LINUXALL]
146147
$ImpLibExternal steam_api
147148
$ImpLib SDL2 [$SDL]

devtools/bin/vpc.exe

1.32 MB
Binary file not shown.

dx9sdk/lib/DxErr8.lib

1.03 MB
Binary file not shown.

dx9sdk/lib/DxErr9.lib

3.72 MB
Binary file not shown.

dx9sdk/lib/XInput.lib

3.23 KB
Binary file not shown.

dx9sdk/lib/amstrmid.lib

266 KB
Binary file not shown.

0 commit comments

Comments
 (0)