add source-sdk-2013

This commit is contained in:
nillerusr
2022-03-01 23:00:42 +03:00
parent 88b8830e8b
commit edc8d6c584
3288 changed files with 3731 additions and 1062455 deletions
+3 -3
View File
@@ -302,7 +302,7 @@ public:
_snwprintf( wszPercentage, ARRAYSIZE( wszPercentage ), L"%u", iProgress );
_snwprintf( wszNow, ARRAYSIZE( wszNow ), L"%u", ulnow_kb );
_snwprintf( wszTotal, ARRAYSIZE( wszTotal ), L"%u", ultotal_kb );
g_pVGuiLocalize->ConstructString_safe( wszProgress, g_pVGuiLocalize->Find( "#YouTube_UploadProgress" ), 3,
g_pVGuiLocalize->ConstructString( wszProgress,sizeof( wszProgress ), g_pVGuiLocalize->Find( "#YouTube_UploadProgress" ), 3,
wszPercentage,
wszNow,
wszTotal );
@@ -382,7 +382,7 @@ protected:
void Login( const char* pUserName, const char *pPassword )
{
const bool bOnSteamPublic = GetUniverse() == k_EUniversePublic;
const bool bOnSteamPublic = steamapicontext && steamapicontext->SteamUtils() && steamapicontext->SteamUtils()->GetConnectedUniverse() == k_EUniversePublic;
const char *pGameDir = COM_GetModDirectory();
const char *pSource = NULL;
const char *pDeveloperTag = NULL;
@@ -517,7 +517,7 @@ public:
const char *pCategory = "Games";
// add steam profile to the description for verification if necessary
EUniverse eSteamUniverse = GetUniverse();
EUniverse eSteamUniverse = steamapicontext && steamapicontext->SteamUtils() ? steamapicontext->SteamUtils()->GetConnectedUniverse() : k_EUniverseDev;
CUtlString description( szDesc );
if ( steamapicontext && steamapicontext->SteamUser() )
{