2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2025-06-26 22:31:50 +00:00

chore: use RawTemplater to template XModel loading code for t5 and t6

This commit is contained in:
Jan
2024-09-14 12:21:43 +02:00
parent a2735b4f23
commit 7227c84cde
17 changed files with 192 additions and 142 deletions

View File

@ -0,0 +1,19 @@
#options GAME (T5, T6)
#filename "Game/" + GAME + "/XModel/XModelLoader" + GAME + ".h"
#set GAME_HEADER "\"Game/" + GAME + "/" + GAME + ".h\""
#pragma once
#include "AssetLoading/IAssetLoadingManager.h"
#include GAME_HEADER
#include "Utils/MemoryManager.h"
#include <istream>
#include <vector>
namespace GAME
{
bool LoadXModel(std::istream& stream, XModel& xmodel, MemoryManager* memory, IAssetLoadingManager* manager, std::vector<XAssetInfoGeneric*>& dependencies);
}