Fix Win32 compile for netconsole

This commit is contained in:
Amos 2022-02-19 14:02:46 +01:00
parent 114f51fcf6
commit 5f005fb848
3 changed files with 12 additions and 7 deletions

View File

@ -53,6 +53,7 @@ void R5Dev_Shutdown()
return;
}
bShutDown = true;
spdlog::info("Shutdown GameSDK\n");
Systems_Shutdown();
WinSys_Detach();

View File

@ -11,11 +11,11 @@ __declspec(dllexport) void DummyExport()
const std::string R5R_LOGO[] =
{
R"(+---------------------------------------------------------------------+)",
R"(| ___ ___ ___ _ _ _ ___ __ _ _ |)",
R"(| | _ \ __| _ \___| |___ __ _ __| |___ __| | __ _|_ ) / \ / | |__ |)",
R"(| | /__ \ / -_) / _ \/ _` / _` / -_) _` | \ V // / | () || | '_ \ |)",
R"(| |_|_\___/_|_\___|_\___/\__,_\__,_\___\__,_| \_//___(_)__(_)_|_.__/ |)",
R"(| |)",
R"(+---------------------------------------------------------------------+)"
R"(+-------------------------------------------------------------------+)",
R"(| ___ ___ ___ _ _ _ ___ __ ___ |)",
R"(| | _ \ __| _ \___| |___ __ _ __| |___ __| | __ _|_ ) / \ |_ ) |)",
R"(| | /__ \ / -_) / _ \/ _` / _` / -_) _` | \ V // / | () | / / |)",
R"(| |_|_\___/_|_\___|_\___/\__,_\__,_\___\__,_| \_//___(_)__(_)___| |)",
R"(| |)",
R"(+-------------------------------------------------------------------+)"
};

View File

@ -31,10 +31,14 @@
<ClCompile Include="protoc\cl_rcon.pb.cc">
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">NotUsing</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">NotUsing</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">NotUsing</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">NotUsing</PrecompiledHeader>
</ClCompile>
<ClCompile Include="protoc\sv_rcon.pb.cc">
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">NotUsing</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">NotUsing</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">NotUsing</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">NotUsing</PrecompiledHeader>
</ClCompile>
<ClCompile Include="public\utility.cpp" />
<ClCompile Include="tier1\NetAdr2.cpp" />