Legacy code cleanup - part 3 (#3903)

* Legacy cleanup - part 3

Not much is left that can be easily removed,
so I think this will be last cleanup before the legacy functionality is replaced.

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* fix windows build, remove a few more things, re-add one file

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* Remove legacy RenderBus + more cleanups

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* Remove MaterialOwnerBus.h

Clean-up in Cry_Matrix34/33

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>
This commit is contained in:
Artur K
2021-09-07 20:14:16 +02:00
committed by GitHub
parent 4d5b047c1b
commit 2a2847b15d
161 changed files with 894 additions and 16076 deletions
@@ -802,16 +802,6 @@ bool CLocalizedStringsManager::ReleaseLocalizationDataByTag(
m_pLanguage->m_vLocalizedStrings.clear();
m_pLanguage->m_vLocalizedStrings = newVec;
}
/*LARGE_INTEGER liEnd, liFreq;
QueryPerformanceCounter(&liEnd);
QueryPerformanceFrequency(&liFreq);
CTimeValue lockTime = CTimeValue((liEnd.QuadPart - liStart.QuadPart) * CTimeValue::TIMEVALUE_PRECISION / liFreq.QuadPart);
if (m_cvarLocalizationDebug >= 2)
{
CryLog("<Localization> ReleaseLocalizationDataByTag %s lock time %fMS", sTag, lockTime.GetMilliSeconds());
}*/
}
if (m_cvarLocalizationDebug >= 2)
@@ -2418,16 +2408,6 @@ void CLocalizedStringsManager::FormatStringMessage(AZStd::string& outString, con
}
//////////////////////////////////////////////////////////////////////////
int CLocalizedStringsManager::GetMemoryUsage(ICrySizer* pSizer)
{
pSizer->AddObject(this, sizeof(*this));
pSizer->AddObject(m_languages);
pSizer->AddObject(m_prototypeEvents);
pSizer->AddObject(m_characterNameSet);
pSizer->AddObject(m_pLanguage);
return 0;
}
#if defined (WIN32) || defined(WIN64)
namespace