mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-25 13:51:58 +00:00
Merge pull request #458 from Laupetin/fix/x86-ff-loading
fix: x86 ff loading broken due to x64 updates
This commit is contained in:
@ -257,7 +257,7 @@ namespace IW3
|
|||||||
|
|
||||||
struct type_align(4) XQuat
|
struct type_align(4) XQuat
|
||||||
{
|
{
|
||||||
int16_t value[4];
|
int16_t value[2];
|
||||||
};
|
};
|
||||||
|
|
||||||
union XAnimDynamicIndicesQuat
|
union XAnimDynamicIndicesQuat
|
||||||
|
@ -387,7 +387,7 @@ namespace T5
|
|||||||
|
|
||||||
struct type_align(4) XQuat
|
struct type_align(4) XQuat
|
||||||
{
|
{
|
||||||
int16_t value[4];
|
int16_t value[2];
|
||||||
};
|
};
|
||||||
|
|
||||||
union XAnimDynamicIndicesQuat
|
union XAnimDynamicIndicesQuat
|
||||||
|
@ -86,7 +86,7 @@ std::unique_ptr<ZoneLoader> ZoneLoaderFactory::CreateLoaderForHeader(ZoneHeader&
|
|||||||
|
|
||||||
// Start of the zone content
|
// Start of the zone content
|
||||||
zoneLoader->AddLoadingStep(step::CreateStepLoadZoneContent(
|
zoneLoader->AddLoadingStep(step::CreateStepLoadZoneContent(
|
||||||
[&zonePtr](ZoneInputStream& stream)
|
[zonePtr](ZoneInputStream& stream)
|
||||||
{
|
{
|
||||||
return std::make_unique<ContentLoader>(*zonePtr, stream);
|
return std::make_unique<ContentLoader>(*zonePtr, stream);
|
||||||
},
|
},
|
||||||
|
@ -185,7 +185,7 @@ std::unique_ptr<ZoneLoader> ZoneLoaderFactory::CreateLoaderForHeader(ZoneHeader&
|
|||||||
|
|
||||||
// Start of the zone content
|
// Start of the zone content
|
||||||
zoneLoader->AddLoadingStep(step::CreateStepLoadZoneContent(
|
zoneLoader->AddLoadingStep(step::CreateStepLoadZoneContent(
|
||||||
[&zonePtr](ZoneInputStream& stream)
|
[zonePtr](ZoneInputStream& stream)
|
||||||
{
|
{
|
||||||
return std::make_unique<ContentLoader>(*zonePtr, stream);
|
return std::make_unique<ContentLoader>(*zonePtr, stream);
|
||||||
},
|
},
|
||||||
|
@ -86,7 +86,7 @@ std::unique_ptr<ZoneLoader> ZoneLoaderFactory::CreateLoaderForHeader(ZoneHeader&
|
|||||||
|
|
||||||
// Start of the zone content
|
// Start of the zone content
|
||||||
zoneLoader->AddLoadingStep(step::CreateStepLoadZoneContent(
|
zoneLoader->AddLoadingStep(step::CreateStepLoadZoneContent(
|
||||||
[&zonePtr](ZoneInputStream& stream)
|
[zonePtr](ZoneInputStream& stream)
|
||||||
{
|
{
|
||||||
return std::make_unique<ContentLoader>(*zonePtr, stream);
|
return std::make_unique<ContentLoader>(*zonePtr, stream);
|
||||||
},
|
},
|
||||||
|
@ -204,7 +204,7 @@ std::unique_ptr<ZoneLoader> ZoneLoaderFactory::CreateLoaderForHeader(ZoneHeader&
|
|||||||
|
|
||||||
// Start of the zone content
|
// Start of the zone content
|
||||||
zoneLoader->AddLoadingStep(step::CreateStepLoadZoneContent(
|
zoneLoader->AddLoadingStep(step::CreateStepLoadZoneContent(
|
||||||
[&zonePtr](ZoneInputStream& stream)
|
[zonePtr](ZoneInputStream& stream)
|
||||||
{
|
{
|
||||||
return std::make_unique<ContentLoader>(*zonePtr, stream);
|
return std::make_unique<ContentLoader>(*zonePtr, stream);
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user