2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-03-16 01:43:04 +00:00

feat: template techset and shader dumping for IW4,T6

This commit is contained in:
Jan Laupetin
2026-03-06 21:55:26 +00:00
parent bb9dba4132
commit eae57d9da0
17 changed files with 313 additions and 690 deletions

View File

@@ -0,0 +1,33 @@
#options GAME(IW4, T6)
#filename "Game/" + GAME + "/Techset/TechsetDumper" + GAME + ".h"
#set GAME_HEADER "\"Game/" + GAME + "/" + GAME + ".h\""
// This file was templated.
// See TechsetDumper.h.template.
// Do not modify, changes will be lost.
#pragma once
#include "Dumping/AbstractAssetDumper.h"
#include GAME_HEADER
#set CLASS_NAME "Dumper" + GAME
namespace techset
{
class CLASS_NAME final : public AbstractAssetDumper<GAME::AssetTechniqueSet>
{
public:
explicit CLASS_NAME(bool debug);
void Dump(AssetDumpingContext& context) override;
protected:
void DumpAsset(AssetDumpingContext& context, const XAssetInfo<GAME::AssetTechniqueSet::Type>& asset) override;
private:
bool m_debug;
};
} // namespace techset