mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-11-05 08:41:59 +00:00
refactor: use variants in zone instead of only game
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user