mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-04-20 16:15:43 +00:00
14 lines
314 B
C++
14 lines
314 B
C++
#include "AssetLoaderDDL.h"
|
|
|
|
#include "Game/T6/T6.h"
|
|
#include "ObjLoading.h"
|
|
|
|
using namespace T6;
|
|
|
|
void* AssetLoaderDDL::CreateEmptyAsset(const std::string& assetName, MemoryManager* memory)
|
|
{
|
|
auto* asset = memory->Alloc<AssetDDL::Type>();
|
|
asset->name = memory->Dup(assetName.c_str());
|
|
return asset;
|
|
}
|