refactor: use variants in zone instead of only game

This commit is contained in:
Jan Laupetin committed 2026-10-22 20:01:05 +02:00
1 parent 041501fb5d
commit 594bf41eaf
138 files changed
+542 -549

No files matched your search

@@ -20,7 +20,7 @@ namespace
{
public:
MenuLoadingTestHelper()
: m_zone("MockZone", 0, GameId::T4, GamePlatform::PC),
: m_zone("MockZone", 0, GameVariantId::T4_PC),
m_creator_collection(m_zone),
m_context(m_zone, &m_creator_collection, &m_ignored_asset_lookup)
{
@@ -22,7 +22,7 @@ namespace
MockSearchPath loadingSearchPath;
loadingSearchPath.AddFileData("physic/test_phys_preset", RAW_PHYS_PRESET);
Zone loadingZone("LoadingZone", 0, GameId::T4, GamePlatform::PC);
Zone loadingZone("LoadingZone", 0, GameVariantId::T4_PC);
AssetCreatorCollection creatorCollection(loadingZone);
IgnoredAssetLookup ignoredAssetLookup;
AssetCreationContext loadingContext(loadingZone, &creatorCollection, &ignoredAssetLookup);
@@ -19,7 +19,7 @@ namespace
"test,data,lol\n"
"lorem,ipsum");
Zone zone("MockZone", 0, GameId::T4, GamePlatform::PC);
Zone zone("MockZone", 0, GameVariantId::T4_PC);
MemoryManager memory;
AssetCreatorCollection creatorCollection(zone);