2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-06-06 08:42:35 +00:00

chore: use templating on XAnimLoader

This commit is contained in:
Jan Laupetin
2026-06-05 15:31:28 +02:00
parent 6bb2688f95
commit 440216b517
4 changed files with 53 additions and 17 deletions
@@ -0,0 +1,25 @@
#options GAME(IW3)
#filename "Game/" + GAME + "/XAnim/XAnimLoader" + GAME + ".h"
#set GAME_HEADER "\"Game/" + GAME + "/" + GAME + ".h\""
// This file was templated.
// See XAnimLoader.h.template.
// Do not modify, changes will be lost.
#pragma once
#include "Asset/IAssetCreator.h"
#include GAME_HEADER
#include "SearchPath/ISearchPath.h"
#include "Utils/MemoryManager.h"
#include <memory>
#set METHOD_NAME "CreateLoader" + GAME
namespace xanim
{
std::unique_ptr<AssetCreator<GAME::AssetXAnim>> METHOD_NAME(MemoryManager& memory, ISearchPath& searchPath, Zone& zone);
} // namespace xanim