2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 07:47:42 +00:00

All MREA cooker sections initial integration

This commit is contained in:
Jack Andersen
2016-08-11 09:52:22 -10:00
parent bc8daa1d50
commit e14bbeb368
16 changed files with 548 additions and 157 deletions

View File

@@ -410,10 +410,12 @@ struct SpecMP1 : SpecBase
if (!colMesh)
Log.report(logvisor::Fatal, _S("unable to find mesh named 'CMESH' in %s"), in.getAbsolutePath().c_str());
std::vector<Light> lights = ds.compileLights();
if (m_pc)
DNAMP1::MREA::PCCook(out, in, meshCompiles, *colMesh);
DNAMP1::MREA::PCCook(out, in, meshCompiles, *colMesh, lights);
else
DNAMP1::MREA::Cook(out, in, meshCompiles, *colMesh);
DNAMP1::MREA::Cook(out, in, meshCompiles, *colMesh, lights);
}
void cookYAML(const hecl::ProjectPath& out, const hecl::ProjectPath& in,