feat: normalize asset names before loading

This commit is contained in:
Jan
2024-04-22 19:23:54 +02:00
parent 04b80b5208
commit 6bd6635a83
2 changed files with 37 additions and 17 deletions

View File

@ -25,6 +25,8 @@ private:
XAssetInfoGeneric* AddAssetInternal(std::unique_ptr<XAssetInfoGeneric> xAssetInfo);
static std::string NormalizeAssetName(const std::string& assetName);
const std::map<asset_type_t, std::unique_ptr<IAssetLoader>>& m_asset_loaders_by_type;
AssetLoadingContext& m_context;
XAssetInfoGeneric* m_last_dependency_loaded;