refactor: streamline IW4 asset loading

This commit is contained in:
Jan Laupetin committed 2025-08-05 01:14:20 +02:00
1 parent 81a67151b5
commit 6806337f46
49 files changed
+398 -397

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
#include "SoundCurveCommon.h"
#include <format>
namespace sound_curve
{
std::string GetFileNameForAssetName(const std::string& assetName)
{
return std::format("soundaliases/{}.vfcurve", assetName);
}
} // namespace sound_curve
+8
View File
@@ -0,0 +1,8 @@
#pragma once
#include <string>
namespace sound_curve
{
std::string GetFileNameForAssetName(const std::string& assetName);
}