Red code legacy MemoryManager, StreamEngine, ResourceManager, ImageHandler, AsyncPakManager, and more (#758)
Remove from CryCommon and CrySystem: - MemoryManager and all related classes/files - StreamEngine, ResourceManager, ImageHandler, and AsyncPakManager - Various other related interfaces/files/classes etc. that are all now unused
This commit is contained in:
@@ -106,8 +106,7 @@ void CGotoPositionDlg::OnChangeEdit()
|
||||
{
|
||||
const int lengthInSw = 8;
|
||||
const int strNum = 6;
|
||||
TArray< float > pos(strNum);
|
||||
pos.Set(0);
|
||||
AZStd::vector<float> pos(strNum);
|
||||
|
||||
m_sPos = m_ui->m_posEdit->text();
|
||||
const QStringList parts = m_sPos.split(QRegularExpression("[\\s,;\\t]"), Qt::SkipEmptyParts);
|
||||
|
||||
@@ -92,7 +92,6 @@ AZ_POP_DISABLE_WARNING
|
||||
#ifdef _RELEASE
|
||||
#undef _RELEASE
|
||||
#endif
|
||||
#include <CrtDebugStats.h>
|
||||
|
||||
#include "Core/QtEditorApplication.h" // for Editor::EditorQtApplication
|
||||
|
||||
|
||||
@@ -2734,9 +2734,6 @@ void CTrackViewDopeSheetBase::DrawKeys(CTrackViewTrack* pTrack, QPainter* painte
|
||||
const int kDefaultWidthForDescription = 200;
|
||||
const int kSmallMargin = 10;
|
||||
|
||||
FixedDynArray<float> drawnKeyTimes;
|
||||
drawnKeyTimes.set(ArrayT((float*)alloca(numKeys * sizeof(float)), numKeys));
|
||||
|
||||
AZStd::vector<CTrackViewKeyHandle> sortedKeys;
|
||||
sortedKeys.reserve(numKeys);
|
||||
for (int i = 0; i < numKeys; ++i)
|
||||
@@ -2751,11 +2748,6 @@ void CTrackViewDopeSheetBase::DrawKeys(CTrackViewTrack* pTrack, QPainter* painte
|
||||
CTrackViewKeyHandle keyHandle = sortedKeys[i];
|
||||
|
||||
const float time = keyHandle.GetTime();
|
||||
if (!stl::push_back_unique(drawnKeyTimes, time))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
int x = TimeToClient(time);
|
||||
if (x - kSmallMargin > rect.right())
|
||||
{
|
||||
|
||||
@@ -440,7 +440,6 @@ bool CImageTIF::SaveRAW(const QString& fileName, const void* pData, int width, i
|
||||
{
|
||||
size_t offset = h * pitch;
|
||||
int err = TIFFWriteScanline(tif, raster + offset, h, 0);
|
||||
assert(CryMemory::IsHeapValid());
|
||||
if (err < 0)
|
||||
{
|
||||
bRet = false;
|
||||
|
||||
@@ -22,7 +22,6 @@
|
||||
|
||||
|
||||
#include "FileUtil.h"
|
||||
#include "STLPoolAllocator.h"
|
||||
#include <functional>
|
||||
|
||||
class CIndexedFiles
|
||||
@@ -117,15 +116,8 @@ private:
|
||||
std::vector <std::function<void()> > m_updateCallbacks;
|
||||
IFileUtil::FileArray m_files;
|
||||
std::map<QString, int> m_pathToIndex;
|
||||
#if defined(_DEBUG) || defined(AZ_COMPILER_CLANG)
|
||||
// In debug, the validation phase of the pool allocator when destructed takes so much time,
|
||||
// and using the STLPoolAllocator causes a strange issue when compiling with clang
|
||||
typedef std::set<int, std::less<int> > int_set;
|
||||
typedef std::map<QString, int_set, std::less<QString> > TagTable;
|
||||
#else
|
||||
typedef std::set<int, std::less<int>, stl::STLPoolAllocator<int> > int_set;
|
||||
typedef std::map<QString, int_set, std::less<QString>, stl::STLPoolAllocator<std::pair<const QString, int_set> > > TagTable;
|
||||
#endif
|
||||
TagTable m_tags;
|
||||
QString m_rootPath;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user