2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2025-09-09 01:57:29 +00:00

Dump a few iw4 assets

This commit is contained in:
Jan
2020-09-09 18:40:01 +02:00
parent 4aafbac113
commit 14666ed944
32 changed files with 734 additions and 220 deletions

View File

@@ -0,0 +1,15 @@
#pragma once
#include "Dumping/AbstractAssetDumper.h"
#include "Game/IW4/IW4.h"
namespace IW4
{
class AssetDumperStringTable final : public AbstractAssetDumper<IW4::StringTable>
{
protected:
bool ShouldDump(IW4::StringTable* asset) override;
std::string GetFileNameForAsset(Zone* zone, IW4::StringTable* asset) override;
void DumpAsset(Zone* zone, IW4::StringTable* asset, FileAPI::File* out) override;
};
}