proper vending machines like fully, performance
This commit is contained in:
Milxnor
2023-05-08 22:28:32 -04:00
parent d5c95ac978
commit b64f569551
22 changed files with 399 additions and 221 deletions

View File

@@ -0,0 +1,20 @@
#include "inc.h"
#include "Array.h"
/*
void* InstancedAllocator::Allocate(AllocatorType type, size_t Size)
{
switch (type)
{
case AllocatorType::VIRTUALALLOC:
return VirtualAlloc(0, Size, MEM_COMMIT | MEM_RESERVE, PAGE_EXECUTE_READWRITE);
case AllocatorType::FMEMORY:
return FMemory::Realloc(0, Size, 0);
}
return nullptr;
}
*/