Skip to content

Commit a049e82

Browse files
committed
Moved to VS2017 and fixed chatbox display box for ES r33
1 parent 8daa601 commit a049e82

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

vSMR/SMRRadar.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1930,7 +1930,8 @@ void CSMRRadar::OnRefresh(HDC hDC, int Phase)
19301930
dc.Attach(hDC);
19311931

19321932
// Set a clipping region to not draw over the chatbox
1933-
ExcludeClipRect(dc, GetChatArea().left, GetChatArea().top, GetChatArea().right, GetChatArea().bottom);
1933+
// @NOTE: No longer needed since r33
1934+
//ExcludeClipRect(dc, GetChatArea().left, GetChatArea().top, GetChatArea().right, GetChatArea().bottom);
19341935

19351936
// Creating the gdi+ graphics
19361937
Gdiplus::Graphics graphics(hDC);
@@ -1958,7 +1959,7 @@ void CSMRRadar::OnRefresh(HDC hDC, int Phase)
19581959
}
19591960

19601961
Logger::info("SMRRadar 1958");
1961-
for (auto runway : RimcasInstance->Runways) {
1962+
for (auto &runway : RimcasInstance->Runways) {
19621963
if (runway.closed) { // if runway is closed
19631964

19641965
//CPen RedPen(PS_SOLID, 2, RGB(150, 0, 0));

vSMR/vSMR.vcxproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2+
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<ItemGroup Label="ProjectConfigurations">
44
<ProjectConfiguration Include="Debug|Win32">
55
<Configuration>Debug</Configuration>
@@ -14,21 +14,21 @@
1414
<ProjectGuid>{6DE02EC4-F0B1-4BA2-AED5-D261FEC4D758}</ProjectGuid>
1515
<RootNamespace>vSMR</RootNamespace>
1616
<Keyword>MFCDLLProj</Keyword>
17-
<WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
17+
<WindowsTargetPlatformVersion>10.0.19041.0</WindowsTargetPlatformVersion>
1818
</PropertyGroup>
1919
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
2020
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
2121
<ConfigurationType>DynamicLibrary</ConfigurationType>
2222
<UseDebugLibraries>true</UseDebugLibraries>
23-
<PlatformToolset>v140_xp</PlatformToolset>
23+
<PlatformToolset>v141</PlatformToolset>
2424
<CharacterSet>MultiByte</CharacterSet>
2525
<UseOfMfc>Static</UseOfMfc>
2626
<WholeProgramOptimization>true</WholeProgramOptimization>
2727
</PropertyGroup>
2828
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
2929
<ConfigurationType>DynamicLibrary</ConfigurationType>
3030
<UseDebugLibraries>false</UseDebugLibraries>
31-
<PlatformToolset>v140_xp</PlatformToolset>
31+
<PlatformToolset>v141</PlatformToolset>
3232
<WholeProgramOptimization>true</WholeProgramOptimization>
3333
<CharacterSet>MultiByte</CharacterSet>
3434
<UseOfMfc>Static</UseOfMfc>
@@ -103,11 +103,11 @@
103103
<AdditionalIncludeDirectories>..\lib\include</AdditionalIncludeDirectories>
104104
<TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
105105
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
106-
<DebugInformationFormat>None</DebugInformationFormat>
106+
<DebugInformationFormat>OldStyle</DebugInformationFormat>
107107
</ClCompile>
108108
<Link>
109109
<SubSystem>Windows</SubSystem>
110-
<GenerateDebugInformation>false</GenerateDebugInformation>
110+
<GenerateDebugInformation>true</GenerateDebugInformation>
111111
<EnableCOMDATFolding>true</EnableCOMDATFolding>
112112
<OptimizeReferences>true</OptimizeReferences>
113113
<ModuleDefinitionFile>.\vSMR.def</ModuleDefinitionFile>

0 commit comments

Comments
 (0)