mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-11-07 09:11:59 +00:00
refactor(zcg): use wordsize instead of architecture
This commit is contained in:
1 parent
abfc2dc547
commit
97591f59f4
30 files changed
+170
-173
No files matched your search
@@ -5,10 +5,10 @@
|
||||
#include <algorithm>
|
||||
|
||||
OncePerTemplateRenderingContext::OncePerTemplateRenderingContext(std::string game,
|
||||
const Architecture gameArchitecture,
|
||||
const WordSize gameWordSize,
|
||||
std::vector<const FastFileBlock*> fastFileBlocks,
|
||||
std::vector<StructureInformation*> assets)
|
||||
: BaseRenderingContext(std::move(game), gameArchitecture, std::move(fastFileBlocks)),
|
||||
: BaseRenderingContext(std::move(game), gameWordSize, std::move(fastFileBlocks)),
|
||||
m_assets(std::move(assets))
|
||||
{
|
||||
for (const auto* block : m_blocks)
|
||||
@@ -35,5 +35,5 @@ std::unique_ptr<OncePerTemplateRenderingContext> OncePerTemplateRenderingContext
|
||||
}
|
||||
|
||||
return std::make_unique<OncePerTemplateRenderingContext>(
|
||||
OncePerTemplateRenderingContext(repository->GetGameName(), repository->GetArchitecture(), repository->GetAllFastFileBlocks(), assetInformation));
|
||||
OncePerTemplateRenderingContext(repository->GetGameName(), repository->GetWordSize(), repository->GetAllFastFileBlocks(), assetInformation));
|
||||
}
|
||||
Reference in new issue
Block a user