chore: restructure sound curve loader to load generic 2D graphs instead

This commit is contained in:
Jan
2024-05-20 13:21:58 +02:00
parent fcb73347c2
commit 6f6a70c212
9 changed files with 307 additions and 271 deletions

View File

@ -8,8 +8,6 @@ namespace IW4
{
class AssetLoaderSndCurve final : public BasicAssetLoader<ASSET_TYPE_SOUND_CURVE, SndCurve>
{
static std::string GetAssetFilename(const std::string& assetName);
public:
_NODISCARD void* CreateEmptyAsset(const std::string& assetName, MemoryManager* memory) override;
_NODISCARD bool CanLoadFromRaw() const override;