Skip to content

Commit 512ce10

Browse files
authored
Merge pull request #48 from micwoj92/master
update links to https
2 parents da9bc09 + fddebaa commit 512ce10

16 files changed

+45
-45
lines changed

game/client/econ/backpack_panel.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3339,7 +3339,7 @@ void CBackpackPanel::DoSellMarketplace()
33393339
}
33403340
uint32 nAssetContext = 2; // k_EEconContextBackpack
33413341
char szURL[512];
3342-
V_snprintf( szURL, sizeof(szURL), "http://%ssteamcommunity.com/my/inventory/?sellOnLoad=1#%d_%d_%llu", pszPrefix, engine->GetAppID(), nAssetContext, pItem->GetItemID() );
3342+
V_snprintf( szURL, sizeof(szURL), "https://%ssteamcommunity.com/my/inventory/?sellOnLoad=1#%d_%d_%llu", pszPrefix, engine->GetAppID(), nAssetContext, pItem->GetItemID() );
33433343
steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( szURL );
33443344
}
33453345
}
@@ -3992,7 +3992,7 @@ void CBackpackPanel::AttemptToShowItemInMarket( item_definition_index_t iItemDef
39923992
g_pVGuiLocalize->ConvertUnicodeToANSI( g_pVGuiLocalize->Find( pItemDef->GetItemBaseName() ), pszItemName, sizeof( pszItemName ) );
39933993

39943994
char szURL[512];
3995-
V_snprintf( szURL, sizeof( szURL ), "http://%ssteamcommunity.com/market/listings/%d/%s", pszPrefix, engine->GetAppID(), pszItemName );
3995+
V_snprintf( szURL, sizeof( szURL ), "https://%ssteamcommunity.com/market/listings/%d/%s", pszPrefix, engine->GetAppID(), pszItemName );
39963996
steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( szURL );
39973997
}
39983998
}

game/client/econ/item_model_panel.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3683,7 +3683,7 @@ void CItemModelPanel::OnCommand( const char *command )
36833683
}
36843684
uint32 nAssetContext = 2; // k_EEconContextBackpack
36853685
char szURL[512];
3686-
V_snprintf( szURL, sizeof(szURL), "http://%ssteamcommunity.com/my/inventory/?sellOnLoad=1#%d_%d_%llu", pszPrefix, engine->GetAppID(), nAssetContext, GetItem()->GetItemID() );
3686+
V_snprintf( szURL, sizeof(szURL), "https://%ssteamcommunity.com/my/inventory/?sellOnLoad=1#%d_%d_%llu", pszPrefix, engine->GetAppID(), nAssetContext, GetItem()->GetItemID() );
36873687
steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( szURL );
36883688
}
36893689
}

game/client/econ/store/store_page.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1231,7 +1231,7 @@ void CStorePage::OnCommand( const char *command )
12311231
{
12321232
if ( steamapicontext && steamapicontext->SteamFriends() )
12331233
{
1234-
steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( "http://steamcommunity.com/market/search?appid=440" );
1234+
steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( "https://steamcommunity.com/market/search?appid=440" );
12351235
}
12361236
return;
12371237
}

game/client/econ/store/store_panel.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ static void ContactSupportConfirm( bool bConfirmed, void *pContext )
209209
{
210210
if ( bConfirmed && steamapicontext && steamapicontext->SteamFriends() )
211211
{
212-
steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( "https://support.steampowered.com/" );
212+
steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( "https://help.steampowered.com/" );
213213
}
214214
}
215215

@@ -1617,7 +1617,7 @@ void CStoreCart::AddToCart( const econ_store_entry_t *pEntry, const char* pszPag
16171617
g_pVGuiLocalize->ConvertUnicodeToANSI( g_pVGuiLocalize->Find( pItemDef->GetItemBaseName() ), pszItemName, sizeof( pszItemName ) );
16181618

16191619
char szURL[512];
1620-
V_snprintf( szURL, sizeof( szURL ), "http://%ssteamcommunity.com/market/listings/%d/%s", pszPrefix, engine->GetAppID(), pszItemName );
1620+
V_snprintf( szURL, sizeof( szURL ), "https://%ssteamcommunity.com/market/listings/%d/%s", pszPrefix, engine->GetAppID(), pszItemName );
16211621
steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( szURL );
16221622
}
16231623
return;

game/client/replay/replayyoutubeapi.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ class CYouTubeLoginDialog : public CConfirmDialog
354354
{
355355
if ( steamapicontext && steamapicontext->SteamFriends() )
356356
{
357-
steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( "http://www.youtube.com/create_account?next=/" );
357+
steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( "https://www.youtube.com/create_account?next=/" );
358358
}
359359
}
360360
else if ( !Q_strnicmp( command, "confirm", 7 ) )
@@ -488,7 +488,7 @@ class CYouTubeUploadDialog : public CConfirmDialog
488488
{
489489
if ( steamapicontext && steamapicontext->SteamFriends() )
490490
{
491-
steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( "http://www.youtube.com/t/terms" );
491+
steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( "https://www.youtube.com/t/terms" );
492492
}
493493
}
494494
else if ( !Q_strnicmp( command, "confirm", 7 ) )
@@ -521,18 +521,18 @@ class CYouTubeUploadDialog : public CConfirmDialog
521521
CUtlString description( szDesc );
522522
if ( steamapicontext && steamapicontext->SteamUser() )
523523
{
524-
const char *pchCommunityURL = "http://steamcommunity.com/";
524+
const char *pchCommunityURL = "https://steamcommunity.com/";
525525
switch ( eSteamUniverse )
526526
{
527527
case k_EUniverseDev:
528-
pchCommunityURL = "http://localhost/community/";
528+
pchCommunityURL = "https://localhost/community/";
529529
break;
530530
case k_EUniverseBeta:
531-
pchCommunityURL = "http://beta.steamcommunity.com/";
531+
pchCommunityURL = "https://beta.steamcommunity.com/";
532532
break;
533533
case k_EUniversePublic:
534534
default:
535-
pchCommunityURL = "http://steamcommunity.com/";
535+
pchCommunityURL = "https://steamcommunity.com/";
536536
}
537537
description.Format( "%s\n\n%sprofiles/%llu", szDesc, pchCommunityURL, steamapicontext->SteamUser()->GetSteamID().ConvertToUint64() );
538538
}

game/client/steampublishedfiles/publish_file_dialog.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -550,13 +550,13 @@ void CFilePublishDialog::Steam_OnPublishFile( SubmitItemUpdateResult_t *pResult,
550550
switch ( universe )
551551
{
552552
case k_EUniversePublic:
553-
steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( CFmtStrMax( "http://steamcommunity.com/sharedfiles/filedetails/?id=%llu&requirelogin=true", m_nFileID ) );
553+
steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( CFmtStrMax( "https://steamcommunity.com/sharedfiles/filedetails/?id=%llu&requirelogin=true", m_nFileID ) );
554554
break;
555555
case k_EUniverseBeta:
556-
steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( CFmtStrMax( "http://beta.steamcommunity.com/sharedfiles/filedetails/?id=%llu&requirelogin=true", m_nFileID ) );
556+
steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( CFmtStrMax( "https://beta.steamcommunity.com/sharedfiles/filedetails/?id=%llu&requirelogin=true", m_nFileID ) );
557557
break;
558558
case k_EUniverseDev:
559-
steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( CFmtStrMax( "http://localhost/community/sharedfiles/filedetails/?id=%llu&requirelogin=true", m_nFileID ) );
559+
steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( CFmtStrMax( "https://localhost/community/sharedfiles/filedetails/?id=%llu&requirelogin=true", m_nFileID ) );
560560
break;
561561
}
562562

game/client/tf/tf_hud_mainmenuoverride.cpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2492,9 +2492,9 @@ void CHudMainMenuOverride::OnCommand( const char *command )
24922492
CSteamID steamID = steamapicontext->SteamUser()->GetSteamID();
24932493
switch ( GetUniverse() )
24942494
{
2495-
case k_EUniversePublic: steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( CFmtStr1024( "http://steamcommunity.com/profiles/%llu/promocodes/tf2", steamID.ConvertToUint64() ) ); break;
2496-
case k_EUniverseBeta: steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( CFmtStr1024( "http://beta.steamcommunity.com/profiles/%llu/promocodes/tf2", steamID.ConvertToUint64() ) ); break;
2497-
case k_EUniverseDev: steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( CFmtStr1024( "http://localhost/community/profiles/%llu/promocodes/tf2", steamID.ConvertToUint64() ) ); break;
2495+
case k_EUniversePublic: steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( CFmtStr1024( "https://steamcommunity.com/profiles/%llu/promocodes/tf2", steamID.ConvertToUint64() ) ); break;
2496+
case k_EUniverseBeta: steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( CFmtStr1024( "https://beta.steamcommunity.com/profiles/%llu/promocodes/tf2", steamID.ConvertToUint64() ) ); break;
2497+
case k_EUniverseDev: steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( CFmtStr1024( "https://localhost/community/profiles/%llu/promocodes/tf2", steamID.ConvertToUint64() ) ); break;
24982498
}
24992499
}
25002500
}
@@ -2533,9 +2533,9 @@ void CHudMainMenuOverride::OnCommand( const char *command )
25332533
CSteamID steamID = steamapicontext->SteamUser()->GetSteamID();
25342534
switch ( GetUniverse() )
25352535
{
2536-
case k_EUniversePublic: steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( "http://www.teamfortress.com/meetyourmatch" ); break;
2536+
case k_EUniversePublic: steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( "https://www.teamfortress.com/meetyourmatch" ); break;
25372537
case k_EUniverseBeta: // Fall through
2538-
case k_EUniverseDev: steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( "http://csham.valvesoftware.com/tf.com/meetyourmatch" ); break;
2538+
case k_EUniverseDev: steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( "https://www.teamfortress.com/meetyourmatch" ); break;
25392539
}
25402540
}
25412541
else
@@ -2551,9 +2551,9 @@ void CHudMainMenuOverride::OnCommand( const char *command )
25512551
CSteamID steamID = steamapicontext->SteamUser()->GetSteamID();
25522552
switch ( GetUniverse() )
25532553
{
2554-
case k_EUniversePublic: steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( "http://www.teamfortress.com/gargoyles_and_gravel" ); break;
2554+
case k_EUniversePublic: steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( "https://www.teamfortress.com/gargoyles_and_gravel/" ); break;
25552555
case k_EUniverseBeta: // Fall through
2556-
case k_EUniverseDev: steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( "http://www.teamfortress.com/gargoyles_and_gravel" ); break;
2556+
case k_EUniverseDev: steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( "https://www.teamfortress.com/gargoyles_and_gravel/" ); break;
25572557
}
25582558
}
25592559
else

game/client/tf/tf_hud_saxxycontest.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ void CSaxxyAwardsPanel::OnCommand( const char *pCommand )
286286
{
287287
if ( steamapicontext && steamapicontext->SteamFriends() )
288288
{
289-
steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( "http://www.teamfortress.com/saxxyawards/" );
289+
steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( "https://www.sourcefilmmaker.com/saxxyawards2017/" );
290290
}
291291
}
292292
else if ( FStrEq( pCommand, "submit" ) )
@@ -813,7 +813,7 @@ void CSaxxyAwardsSubmitForm::OnCommand( const char *pCommand )
813813
{
814814
if ( steamapicontext && steamapicontext->SteamFriends() )
815815
{
816-
steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( "http://www.teamfortress.com/saxxyawards/#rules" );
816+
steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( "https://www.sourcefilmmaker.com/saxxyawards2017/guidelines/" );
817817
}
818818
}
819819
else
@@ -879,4 +879,4 @@ class CGC_Replay_SubmitContestEntryResponse_Status : public GCSDK::CGCClientJob
879879
protected:
880880
};
881881
GC_REG_JOB( GCSDK::CGCClient, CGC_Replay_SubmitContestEntryResponse_Status, "CGC_Replay_SubmitContestEntryResponse_Status", k_EMsgGCReplay_SubmitContestEntryResponse, GCSDK::k_EServerTypeGCClient );
882-
#endif // #ifdef SAXXYMAINMENU_ENABLED
882+
#endif // #ifdef SAXXYMAINMENU_ENABLED

game/client/tf/vgui/charinfo_armory_subpanel.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ void CArmoryPanel::OnCommand( const char *command )
367367
ELanguage iLang = PchLanguageToELanguage( uilanguage );
368368

369369
char szURL[512];
370-
Q_snprintf( szURL, sizeof(szURL), "http://wiki.teamfortress.com/scripts/itemredirect.php?id=%d&lang=%s", m_SelectedItem.GetItemDefIndex(), GetLanguageICUName( iLang ) );
370+
Q_snprintf( szURL, sizeof(szURL), "https://wiki.teamfortress.com/scripts/itemredirect.php?id=%d&lang=%s", m_SelectedItem.GetItemDefIndex(), GetLanguageICUName( iLang ) );
371371
steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( szURL );
372372

373373
C_CTF_GameStats.Event_Catalog( IE_ARMORY_BROWSE_WIKI, NULL, &m_SelectedItem );

game/client/tf/vgui/crafting_panel.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1629,7 +1629,7 @@ class CGSaxxyAwardedBroadcast : public GCSDK::CGCClientJob
16291629
{
16301630
if ( steamapicontext && steamapicontext->SteamFriends() )
16311631
{
1632-
steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( "http://www.teamfortress.com/saxxyawards/winners.php" );
1632+
steamapicontext->SteamFriends()->ActivateGameOverlayToWebPage( "https://www.sourcefilmmaker.com/saxxyawards2017/" );
16331633
}
16341634
MarkForDeletion();
16351635
}

0 commit comments

Comments
 (0)