Load SoundCurve files for IW4

This commit is contained in:
Jan
2022-01-02 13:27:29 +01:00
parent 2a6ed376d2
commit 77b6b7c87a
4 changed files with 309 additions and 0 deletions

View File

@ -8,7 +8,11 @@ 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;
bool LoadFromRaw(const std::string& assetName, ISearchPath* searchPath, MemoryManager* memory, IAssetLoadingManager* manager, Zone* zone) const override;
};
}