diff --git a/build.bat b/build.bat index 2abd963..0c1f3d4 100644 --- a/build.bat +++ b/build.bat @@ -15,6 +15,18 @@ if exist "%VS_COMM_BIN%\ml.exe" ( goto do_build ) +rem Check Visual Studio BuildTools +set "MSVC_BIN=C:\Program Files (x86)\Microsoft Visual Studio\18\BuildTools\VC\Tools\MSVC\14.50.35717\bin\Hostx64\x86" +set "VC_LIB=C:\Program Files (x86)\Microsoft Visual Studio\18\BuildTools\VC\Tools\MSVC\14.50.35717\lib\x86" + +if exist "%MSVC_BIN%\ml.exe" ( + set "ML_EXE=%MSVC_BIN%\ml.exe" + set "LINK_EXE=%MSVC_BIN%\link.exe" + set LIB_PATHS=/LIBPATH:"%SDK_LIB%" /LIBPATH:"%UCRT_LIB%" /LIBPATH:"%VC_LIB%" + set "EXTRA_FLAGS=/NOLOGO /SUBSYSTEM:WINDOWS" + goto do_build +) + rem Check standard MASM32 paths if exist "F:\MASM32\masm32\bin\ml.exe" ( set "ML_EXE=F:\MASM32\masm32\bin\ml.exe" diff --git a/build/graphics/poker.exe b/build/graphics/poker.exe index 0255642..ac9402e 100644 Binary files a/build/graphics/poker.exe and b/build/graphics/poker.exe differ diff --git a/poker.exe b/poker.exe index 0255642..ac9402e 100644 Binary files a/poker.exe and b/poker.exe differ diff --git a/poker.obj b/poker.obj index 09c9c37..351bce7 100644 Binary files a/poker.obj and b/poker.obj differ