From f051430ea3cdf729792f57f8cd7a556962405739 Mon Sep 17 00:00:00 2001 From: Ted John Date: Sat, 15 Oct 2016 23:39:50 +0100 Subject: [PATCH 1/3] Make release Win32 builds NO_RCT2 and Win32 sub system --- openrct2.vcxproj | 5 +++-- openrct2.vcxproj.user | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/openrct2.vcxproj b/openrct2.vcxproj index 3f96bcf768..0bee633808 100644 --- a/openrct2.vcxproj +++ b/openrct2.vcxproj @@ -541,7 +541,7 @@ MultiByte - DynamicLibrary + Application false v140 true @@ -635,7 +635,7 @@ 4013 false - OPENGL_NO_LINK;_CRT_SECURE_NO_WARNINGS;_USE_MATH_DEFINES;CURL_STATICLIB;SDL_MAIN_HANDLED;%(PreprocessorDefinitions) + NO_RCT2;OPENGL_NO_LINK;_CRT_SECURE_NO_WARNINGS;_USE_MATH_DEFINES;CURL_STATICLIB;SDL_MAIN_HANDLED;%(PreprocessorDefinitions) $(IntDir)\%(RelativeDir) true Speed @@ -648,6 +648,7 @@ true openrct2-libs-vs2015-x86.lib;imm32.lib;version.lib;winmm.lib;%(AdditionalDependencies) /ignore:4099 %(AdditionalOptions) + Windows diff --git a/openrct2.vcxproj.user b/openrct2.vcxproj.user index b782b153c4..fa79bfcaff 100644 --- a/openrct2.vcxproj.user +++ b/openrct2.vcxproj.user @@ -13,7 +13,7 @@ $(TargetDir) WindowsLocalDebugger - $(TargetDir)\openrct2.exe + $(TargetPath) From fb112ce779f2b91df17b82520d440dcebbb5a834 Mon Sep 17 00:00:00 2001 From: Ted John Date: Sun, 16 Oct 2016 00:06:58 +0100 Subject: [PATCH 2/3] Do not distribute openrct2.dll anymore --- distribution/windows/install.nsi | 7 ------- openrct2.proj | 6 +----- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/distribution/windows/install.nsi b/distribution/windows/install.nsi index 53622d7cae..d128e4e251 100644 --- a/distribution/windows/install.nsi +++ b/distribution/windows/install.nsi @@ -13,7 +13,6 @@ !if "${PLATFORM}" == "Win32" !define OPENRCT2_EXE "openrct2.exe" - !define OPENRCT2_DLL "openrct2.dll" !define APPBITS 32 !define APPARCH "win32" @@ -156,9 +155,6 @@ Section "!OpenRCT2" Section1 ; Copy executable File /oname=${OPENRCT2_EXE} ${BINARY_DIR}\${OPENRCT2_EXE} -!ifdef OPENRCT2_DLL - File /oname=${OPENRCT2_DLL} ${BINARY_DIR}\${OPENRCT2_DLL} -!endif ; Create the Registry Entries WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\OpenRCT2" "Comments" "Visit ${APPURLLINK}" @@ -226,9 +222,6 @@ Section "Uninstall" Delete "$INSTDIR\readme.txt" Delete "$INSTDIR\contributors.md" Delete "$INSTDIR\${OPENRCT2_EXE}" -!ifdef OPENRCT2_DLL - Delete "$INSTDIR\${OPENRCT2_DLL}" -!endif Delete "$INSTDIR\INSTALL.LOG" ; Data files diff --git a/openrct2.proj b/openrct2.proj index c598e9212a..4b4d2f0483 100644 --- a/openrct2.proj +++ b/openrct2.proj @@ -39,7 +39,6 @@ $(DistDir)windows\install.nsi - $(TargetDir)openrct2.dll $(TargetDir)openrct2.exe $(TargetDir)openrct2_x64.exe $(TargetDir)data\g2.dat @@ -73,18 +72,15 @@ - - - @@ -197,7 +193,7 @@ StandardOutputImportance="low" /> - From a3df31a5330ef009f11c85af0e2cf08025d72597 Mon Sep 17 00:00:00 2001 From: Ted John Date: Sun, 16 Oct 2016 00:08:13 +0100 Subject: [PATCH 3/3] Enable high DPI for Win32 release builds --- openrct2.vcxproj | 3 +++ 1 file changed, 3 insertions(+) diff --git a/openrct2.vcxproj b/openrct2.vcxproj index 0bee633808..d93ef7c197 100644 --- a/openrct2.vcxproj +++ b/openrct2.vcxproj @@ -650,6 +650,9 @@ /ignore:4099 %(AdditionalOptions) Windows + + PerMonitorHighDPIAware +