mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-08 05:48:19 -05:00
14 lines
326 B
C++
14 lines
326 B
C++
#include "AssetLoaderMapEnts.h"
|
|
|
|
#include "Game/T6/T6.h"
|
|
#include "ObjLoading.h"
|
|
|
|
using namespace T6;
|
|
|
|
void* AssetLoaderMapEnts::CreateEmptyAsset(const std::string& assetName, MemoryManager* memory)
|
|
{
|
|
auto* asset = memory->Alloc<AssetMapEnts::Type>();
|
|
asset->name = memory->Dup(assetName.c_str());
|
|
return asset;
|
|
}
|