chore: add asset loaders for all asset types of t6

This commit is contained in:
Jan
2024-09-08 18:58:32 +02:00
parent f8912418a5
commit 931e128eb9
73 changed files with 829 additions and 102 deletions

View File

@ -0,0 +1,13 @@
#include "AssetLoaderMenu.h"
#include "Game/T6/T6.h"
#include "ObjLoading.h"
using namespace T6;
void* AssetLoaderMenu::CreateEmptyAsset(const std::string& assetName, MemoryManager* memory)
{
auto* asset = memory->Alloc<AssetMenu::Type>();
asset->window.name = memory->Dup(assetName.c_str());
return asset;
}