Quake 4 integrated with DoomRTX

This commit is contained in:
Justin Marshall
2026-05-09 22:10:40 -07:00
parent 8c4a087aa9
commit d37f87e493
436 changed files with 277587 additions and 10254 deletions
+25
View File
@@ -885,4 +885,29 @@ void idDynamicBlockAlloc<type, baseBlockSize, minBlockSize>::CheckMemory( void )
}
}
#ifdef QUAKE4
class Memory
{
public:
static void* Allocate(size_t size)
{
return malloc(size);
}
static void Free(void* ptr)
{
free(ptr);
}
static void DeinitAllocator()
{
}
static int MSize() {
return 1;
}
};
#endif
#endif /* !__HEAP_H__ */