|
150 | 150 |
|
151 | 151 | #endif |
152 | 152 |
|
153 | | -#ifdef BDSBASE |
| 153 | +#ifdef BDSBASE_DISCORD |
154 | 154 | #ifdef WIN32 |
155 | 155 | // not adding a VPC path just for this smh... |
156 | 156 | #include "../thirdparty/discord-rpc/include/discord_rpc.h" |
@@ -343,7 +343,7 @@ static ConVar s_CV_ShowParticleCounts("showparticlecounts", "0", 0, "Display num |
343 | 343 | static ConVar s_cl_team("cl_team", "default", FCVAR_USERINFO|FCVAR_ARCHIVE, "Default team when joining a game"); |
344 | 344 | static ConVar s_cl_class("cl_class", "default", FCVAR_USERINFO|FCVAR_ARCHIVE, "Default class when joining a game"); |
345 | 345 |
|
346 | | -#ifdef BDSBASE |
| 346 | +#ifdef BDSBASE_DISCORD |
347 | 347 | #ifdef WIN32 |
348 | 348 | // Discord RPC |
349 | 349 | static ConVar cl_discord_appid("cl_discord_appid", "1347077140306464838", FCVAR_DEVELOPMENTONLY | FCVAR_CHEAT); |
@@ -878,7 +878,7 @@ CHLClient::CHLClient() |
878 | 878 | g_bLevelInitialized = false; |
879 | 879 | } |
880 | 880 |
|
881 | | -#ifdef BDSBASE |
| 881 | +#ifdef BDSBASE_DISCORD |
882 | 882 | #ifdef WIN32 |
883 | 883 | //----------------------------------------------------------------------------- |
884 | 884 | // Discord RPC |
@@ -1174,7 +1174,7 @@ int CHLClient::Init( CreateInterfaceFn appSystemFactory, CreateInterfaceFn physi |
1174 | 1174 | RegisterSecureLaunchProcessFunc( pfnUnsafeCmdLineProcessor ); |
1175 | 1175 | } |
1176 | 1176 |
|
1177 | | -#ifdef BDSBASE |
| 1177 | +#ifdef BDSBASE_DISCORD |
1178 | 1178 | #ifdef WIN32 |
1179 | 1179 | if (cl_discord.GetBool()) |
1180 | 1180 | { |
@@ -1351,7 +1351,7 @@ void CHLClient::Shutdown( void ) |
1351 | 1351 | ClientSteamContext().Shutdown(); |
1352 | 1352 | #endif |
1353 | 1353 |
|
1354 | | -#ifdef BDSBASE |
| 1354 | +#ifdef BDSBASE_DISCORD |
1355 | 1355 | #ifdef WIN32 |
1356 | 1356 | if (cl_discord.GetBool()) |
1357 | 1357 | { |
@@ -1779,7 +1779,7 @@ void CHLClient::LevelInitPreEntity( char const* pMapName ) |
1779 | 1779 | // Check low violence settings for this map |
1780 | 1780 | g_RagdollLVManager.SetLowViolence( pMapName ); |
1781 | 1781 |
|
1782 | | -#ifdef BDSBASE |
| 1782 | +#ifdef BDSBASE_DISCORD |
1783 | 1783 | #ifdef WIN32 |
1784 | 1784 | if (cl_discord.GetBool()) |
1785 | 1785 | { |
@@ -1910,7 +1910,7 @@ void CHLClient::LevelShutdown( void ) |
1910 | 1910 |
|
1911 | 1911 | gHUD.LevelShutdown(); |
1912 | 1912 |
|
1913 | | -#ifdef BDSBASE |
| 1913 | +#ifdef BDSBASE_DISCORD |
1914 | 1914 | #ifdef WIN32 |
1915 | 1915 | if (cl_discord.GetBool()) |
1916 | 1916 | { |
|
0 commit comments