From 2272b75772cf21e361145e2e7b4ac2a390a6637f Mon Sep 17 00:00:00 2001 From: Blixibon Date: Mon, 17 Oct 2022 13:37:58 -0500 Subject: [PATCH] Disabled Discord/Mapbase RPC by default --- sp/src/game/client/client_base.vpc | 3 +++ sp/src/vpc_scripts/source_base.vpc | 2 +- sp/src/vpc_scripts/source_dll_win32_base.vpc | 3 --- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sp/src/game/client/client_base.vpc b/sp/src/game/client/client_base.vpc index daf5bf41..dcdb9ad3 100644 --- a/sp/src/game/client/client_base.vpc +++ b/sp/src/game/client/client_base.vpc @@ -1260,6 +1260,9 @@ $Project $Lib vtf $ImpLib steam_api + // Discord integration + $Lib "$LIBPUBLIC\discord-rpc" [$MAPBASE_RPC] + $Lib $LIBCOMMON/libcrypto [$POSIX] $ImpLib "$LIBCOMMON\curl" [$OSXALL] diff --git a/sp/src/vpc_scripts/source_base.vpc b/sp/src/vpc_scripts/source_base.vpc index fac51e1d..eb655e83 100644 --- a/sp/src/vpc_scripts/source_base.vpc +++ b/sp/src/vpc_scripts/source_base.vpc @@ -19,7 +19,7 @@ // Mapbase functionality conditionals $Conditional MAPBASE "1" // Equivalent to (and required for) our MAPBASE preprocessor defined below -$Conditional MAPBASE_RPC "1" // Toggles Mapbase's Rich Presence Client implementations +$Conditional MAPBASE_RPC "0" // Toggles Mapbase's Rich Presence Client implementations (requires discord-rpc.dll in game bin) $Conditional MAPBASE_VSCRIPT "1" // Toggles VScript implementation (note: interfaces still exist, just the provided implementation is not present) $Conditional NEW_RESPONSE_SYSTEM "1" // Toggles the new Response System library based on the Alien Swarm SDK diff --git a/sp/src/vpc_scripts/source_dll_win32_base.vpc b/sp/src/vpc_scripts/source_dll_win32_base.vpc index e69456ea..fdac37d0 100644 --- a/sp/src/vpc_scripts/source_dll_win32_base.vpc +++ b/sp/src/vpc_scripts/source_dll_win32_base.vpc @@ -141,9 +141,6 @@ $Project $Implib "$LIBPUBLIC\tier0" $Lib "$LIBPUBLIC\tier1" $Implib "$LIBPUBLIC\vstdlib" - - // Discord integration - $Lib "$LIBPUBLIC\discord-rpc" [$MAPBASE_RPC] } }