Skip to content

Commit fbedf27

Browse files
committed
Removed remaining community references in core
1 parent 368d122 commit fbedf27

File tree

5 files changed

+1
-42
lines changed

5 files changed

+1
-42
lines changed

Client/core/CCommandFuncs.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,6 @@ void CCommandFuncs::Vid ( const char* szParameters )
140140
// Reload console, serverbrowser and chat settings (removed in DestroyWindows)
141141
g_pCore->ApplyConsoleSettings ();
142142
g_pCore->ApplyMenuSettings ();
143-
g_pCore->ApplyCommunityState();
144143
}
145144
else
146145
{

Client/core/CCore.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,6 @@ class CCore : public CCoreInterface, public CSingleton < CCore >
148148
// Configuration
149149
void ApplyConsoleSettings ( void );
150150
void ApplyGameSettings ( void );
151-
void ApplyCommunityState ( void );
152151
void UpdateRecentlyPlayed ( void );
153152

154153
// Net

Client/core/CSettings.cpp

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,6 @@ using namespace std;
2727
#define CORE_SETTINGS_HEADERS 3
2828
#define CORE_SETTINGS_HEADER_SPACER " "
2929
#define CORE_SETTINGS_NO_KEY " "
30-
#define CORE_SETTINGS_COMMUNITY_TEXT \
31-
"Multi Theft Auto: Community is a voluntary community service offering everything\n" \
32-
"from third-party resources to user-based statistics.\n" \
33-
"\n" \
34-
"If you have already registered at community.mtasa.com,\n" \
35-
"you can fill in your account details below to complete your registration.\n" \
36-
"This computer will then automatically link to your personal account."
3730

3831
extern CCore* g_pCore;
3932
extern SBindableGTAControl g_bcControls[];
@@ -66,7 +59,7 @@ void CSettings::CreateGUI ( void )
6659
if ( m_pWindow )
6760
DestroyGUI ();
6861

69-
CGUITab *pTabMultiplayer, *pTabVideo, *pTabAudio, *pTabBinds, *pTabControls, *pTabCommunity, *pTabInterface, *pTabBrowser, *pTabAdvanced;
62+
CGUITab *pTabMultiplayer, *pTabVideo, *pTabAudio, *pTabBinds, *pTabControls, *pTabInterface, *pTabBrowser, *pTabAdvanced;
7063
CGUI *pManager = g_pCore->GetGUI ();
7164

7265
// Init
@@ -130,7 +123,6 @@ void CSettings::CreateGUI ( void )
130123
pTabInterface = m_pTabs->CreateTab ( _("Interface") );
131124
pTabBrowser = m_pTabs->CreateTab ( _("Web Browser") );
132125
pTabAdvanced = m_pTabs->CreateTab ( _("Advanced") );
133-
pTabCommunity = m_pTabs->CreateTab ( _("Community") );
134126

135127
// Create buttons
136128
// OK button
@@ -1502,10 +1494,6 @@ void CSettings::CreateGUI ( void )
15021494
m_pButtonBrowserBlacklistRemove->SetClickHandler ( GUI_CALLBACK ( &CSettings::OnBrowserBlacklistRemove, this ) );
15031495
m_pButtonBrowserWhitelistAdd->SetClickHandler ( GUI_CALLBACK ( &CSettings::OnBrowserWhitelistAdd, this ) );
15041496
m_pButtonBrowserWhitelistRemove->SetClickHandler ( GUI_CALLBACK ( &CSettings::OnBrowserWhitelistRemove, this ) );
1505-
/*
1506-
// Give a warning if no community account settings were stored in config
1507-
CCore::GetSingleton ().ShowMessageBox ( CORE_SETTINGS_COMMUNITY_WARNING, _("Multi Theft Auto: Community settings"), MB_ICON_WARNING );
1508-
*/
15091497

15101498
// Set up the events for advanced description
15111499
m_pPriorityLabel->SetMouseEnterHandler ( GUI_CALLBACK ( &CSettings::OnShowAdvancedSettingDescription, this ) );

Client/sdk/core/CCommunityInterface.h

Lines changed: 0 additions & 26 deletions
This file was deleted.

Client/sdk/core/CCoreInterface.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
#include "CConsoleInterface.h"
1616
#include "CCommandsInterface.h"
17-
#include "CCommunityInterface.h"
1817
#include "CRenderItemManagerInterface.h"
1918
#include "CScreenGrabberInterface.h"
2019
#include "CPixelsManagerInterface.h"

0 commit comments

Comments
 (0)