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:
@@ -20,7 +20,6 @@
|
||||
|
||||
#include <Cry_Math.h>
|
||||
#include <IXml.h>
|
||||
#include "CountedValue.h"
|
||||
#include "MiniQueue.h"
|
||||
#include <VectorSet.h>
|
||||
#include <VectorMap.h>
|
||||
@@ -471,58 +470,6 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
template <class T>
|
||||
void Value(const char* name, CountedValue<T>& countedValue)
|
||||
{
|
||||
if (!BeginOptionalGroup(name, true))
|
||||
{
|
||||
return;
|
||||
}
|
||||
if (IsWriting())
|
||||
{
|
||||
T rawValue = countedValue.Peek();
|
||||
Value("Value", rawValue);
|
||||
typename CountedValue<T>::TCountedID rawId = countedValue.GetLatestID();
|
||||
Value("Id", rawId, 'ui32');
|
||||
}
|
||||
|
||||
if (IsReading())
|
||||
{
|
||||
T rawValue;
|
||||
Value("Value", rawValue);
|
||||
typename CountedValue<T>::TCountedID rawId;
|
||||
Value("Id", rawId, 'ui32');
|
||||
countedValue.UpdateDuringSerializationOnly(rawValue, rawId);
|
||||
}
|
||||
EndGroup();
|
||||
}
|
||||
|
||||
template <class T>
|
||||
void Value(const char* name, CountedValue<T>& countedValue, int policy)
|
||||
{
|
||||
if (!BeginOptionalGroup(name, true))
|
||||
{
|
||||
return;
|
||||
}
|
||||
if (IsWriting())
|
||||
{
|
||||
T rawValue = countedValue.Peek();
|
||||
Value("Value", rawValue, policy);
|
||||
typename CountedValue<T>::TCountedID rawId = countedValue.GetLatestID();
|
||||
Value("Id", rawId, 'ui32');
|
||||
}
|
||||
|
||||
if (IsReading())
|
||||
{
|
||||
T rawValue;
|
||||
Value("Value", rawValue, policy);
|
||||
typename CountedValue<T>::TCountedID rawId;
|
||||
Value("Id", rawId, 'ui32');
|
||||
countedValue.UpdateDuringSerializationOnly(rawValue, rawId);
|
||||
}
|
||||
EndGroup();
|
||||
}
|
||||
|
||||
bool ValueChar(const char* name, char* buffer, int len)
|
||||
{
|
||||
string temp;
|
||||
|
||||
Reference in New Issue
Block a user