#include "AssetLoaderMenuDef.h" #include #include "ObjLoading.h" #include "Game/IW4/IW4.h" #include "Pool/GlobalAssetPool.h" using namespace IW4; void* AssetLoaderMenuDef::CreateEmptyAsset(const std::string& assetName, MemoryManager* memory) { auto* menu = memory->Create(); memset(menu, 0, sizeof(menuDef_t)); menu->window.name = memory->Dup(assetName.c_str()); return menu; }