Silence Warnings

This commit is contained in:
2019-05-26 18:18:31 -07:00
parent 9f94db6c82
commit 1c80a13c23
26 changed files with 55 additions and 22 deletions

View File

@@ -45,6 +45,8 @@ void CAreaCooker::DetermineSectionNumbersPrime()
case EGame::Echoes:
GeometrySections = 3 + (9 * OriginalMeshCount); // Acount for materials + AROT + an unknown section
break;
default:
break;
}
for (uint32 iMesh = 0; iMesh < mpArea->mWorldModels.size(); iMesh++)

View File

@@ -366,6 +366,8 @@ void CMaterialCooker::WriteCookedMatSet(CMaterialSet *pSet, EGame Version, IOutp
case EGame::Echoes:
Cooker.WriteMatSetPrime(rOut);
break;
default:
break;
}
}
@@ -384,5 +386,6 @@ void CMaterialCooker::WriteCookedMaterial(CMaterial *pMat, EGame Version, IOutpu
Cooker.WriteMaterialPrime(rOut);
break;
// TODO: Corruption/Uncooked
default: break;
}
}

View File

@@ -214,7 +214,8 @@ void CScriptCooker::WriteProperty(IOutputStream& rOut, IProperty* pProperty, voi
break;
}
default:
break;
}
if (SizeOffset != 0)