chore: implement base skeleton for architecture independent zone loading

This commit is contained in:
Jan Laupetin authored and Jan committed 2025-06-14 00:39:55 +01:00
1 parent 280f74d4dd
commit f6d7831e6e
30 files changed
+393 -176

No files matched your search

+3 -5
View File
@@ -55,8 +55,8 @@
using namespace T6;
ContentLoader::ContentLoader(Zone& zone)
: ContentLoaderBase(zone),
ContentLoader::ContentLoader(Zone& zone, ZoneInputStream& stream)
: ContentLoaderBase(zone, stream),
varXAsset(nullptr),
varScriptStringList(nullptr)
{
@@ -176,10 +176,8 @@ void ContentLoader::LoadXAssetArray(const bool atStreamStart, const size_t count
}
}
void ContentLoader::Load(ZoneInputStream& stream)
void ContentLoader::Load()
{
m_stream = &stream;
m_stream->PushBlock(XFILE_BLOCK_VIRTUAL);
XAssetList assetList{};