Skip to content

Commit

Permalink
Remove unused CText (multitheftauto#1838)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pirulax committed Nov 17, 2020
1 parent 778d48a commit 8dd31b4
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 165 deletions.
2 changes: 0 additions & 2 deletions Client/game_sa/CGameSA.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ CGameSA::CGameSA()
this->m_pCAERadioTrackManager = new CAERadioTrackManagerSA();
this->m_pWeather = new CWeatherSA();
this->m_pMenuManager = new CMenuManagerSA();
this->m_pText = new CTextSA();
this->m_pStats = new CStatsSA();
this->m_pFont = new CFontSA();
this->m_pPathFind = new CPathFindSA();
Expand Down Expand Up @@ -237,7 +236,6 @@ CGameSA::~CGameSA()
delete reinterpret_cast<CPathFindSA*>(m_pPathFind);
delete reinterpret_cast<CFontSA*>(m_pFont);
delete reinterpret_cast<CStatsSA*>(m_pStats);
delete reinterpret_cast<CTextSA*>(m_pText);
delete reinterpret_cast<CMenuManagerSA*>(m_pMenuManager);
delete reinterpret_cast<CWeatherSA*>(m_pWeather);
delete reinterpret_cast<CAERadioTrackManagerSA*>(m_pCAERadioTrackManager);
Expand Down
6 changes: 0 additions & 6 deletions Client/game_sa/CGameSA.h
Original file line number Diff line number Diff line change
Expand Up @@ -241,11 +241,6 @@ class CGameSA : public CGame
DEBUG_TRACE("CMenuManager * GetMenuManager()");
return m_pMenuManager;
};
CText* GetText()
{
DEBUG_TRACE("CText * GetText()");
return m_pText;
};
CStats* GetStats()
{
DEBUG_TRACE("CStats * GetStats()");
Expand Down Expand Up @@ -480,7 +475,6 @@ class CGameSA : public CGame
CAESoundManager* m_pAESoundManager;
CAudioContainer* m_pAudioContainer;
CMenuManager* m_pMenuManager;
CText* m_pText;
CStats* m_pStats;
CFont* m_pFont;
CPathFind* m_pPathFind;
Expand Down
102 changes: 0 additions & 102 deletions Client/game_sa/CTextSA.cpp

This file was deleted.

33 changes: 0 additions & 33 deletions Client/game_sa/CTextSA.h

This file was deleted.

1 change: 0 additions & 1 deletion Client/game_sa/StdInc.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@
#include "CPadSA.h"
#include "CAERadioTrackManagerSA.h"
#include "CWeatherSA.h"
#include "CTextSA.h"
#include "CPedSA.h"
#include "CPedSoundSA.h"
#include "CAudioEngineSA.h"
Expand Down
2 changes: 0 additions & 2 deletions Client/sdk/game/CGame.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ typedef void(InRenderer)();
#include "CStreaming.h"
#include "CTaskManagementSystem.h"
#include "CTasks.h"
#include "CText.h"
#include "CTheCarGenerators.h"
#include "CVisibilityPlugins.h"
#include "CWaterManager.h"
Expand Down Expand Up @@ -146,7 +145,6 @@ class __declspec(novtable) CGame
virtual CAESoundManager* GetAESoundManager() = 0;
virtual CAudioContainer* GetAudioContainer() = 0;
virtual CMenuManager* GetMenuManager() = 0;
virtual CText* GetText() = 0;
virtual CStats* GetStats() = 0;
virtual CTasks* GetTasks() = 0;
virtual CFont* GetFont() = 0;
Expand Down
19 changes: 0 additions & 19 deletions Client/sdk/game/CText.h

This file was deleted.

0 comments on commit 8dd31b4

Please sign in to comment.