mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 23:47:42 +00:00
Initial CSpacePirate and rag doll imps
This commit is contained in:
@@ -8,12 +8,17 @@ CScannableObjectInfo::CScannableObjectInfo(CInputStream& in, CAssetId resId) : x
|
||||
u32 version = in.readUint32Big();
|
||||
Load(in, version);
|
||||
|
||||
for (u32 i = 0 ; i < x14_buckets.size(); ++i)
|
||||
{
|
||||
x14_buckets[i].x4_appearanceRange *= x8_totalDownloadTime;
|
||||
}
|
||||
|
||||
float appearanceOffset = g_tweakGui->GetScanAppearanceDuration();
|
||||
for (u32 i = 0 ; i < x14_buckets.size(); ++i)
|
||||
{
|
||||
if (x14_buckets[i].x8_imagePos != -1)
|
||||
{
|
||||
x14_buckets[i].x4_appearanceRange += appearanceOffset;
|
||||
x8_totalDownloadTime += appearanceOffset;
|
||||
for (u32 j = i; j < x14_buckets.size(); j++)
|
||||
x14_buckets[j].x4_appearanceRange += appearanceOffset;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user