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:
19
src/ObjLoading/XModel/XModelLoader.h.template
Normal file
19
src/ObjLoading/XModel/XModelLoader.h.template
Normal 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);
|
||||
}
|
Reference in New Issue
Block a user