Dump iw4 sound curves

This commit is contained in:
Jan
2022-01-02 11:21:45 +01:00
parent 0e076bf47c
commit 2a6ed376d2
5 changed files with 121 additions and 1 deletions

View File

@ -0,0 +1,16 @@
#pragma once
#include "Dumping/AbstractAssetDumper.h"
#include "Game/IW4/IW4.h"
namespace IW4
{
class AssetDumperSndCurve final : public AbstractAssetDumper<SndCurve>
{
static std::string GetAssetFilename(const std::string& assetName);
protected:
bool ShouldDump(XAssetInfo<SndCurve>* asset) override;
void DumpAsset(AssetDumpingContext& context, XAssetInfo<SndCurve>* asset) override;
};
}