mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 17:44:56 +00:00
Update submodules
This commit is contained in:
@@ -660,10 +660,6 @@ void ANCS::AnimationSet::MetaAnimFactory::Enumerate<BigDNA::ReadYaml>(athena::io
|
||||
if (!type.compare("primitive")) {
|
||||
m_anim.reset(new struct MetaAnimPrimitive);
|
||||
m_anim->read(reader);
|
||||
if (static_cast<MetaAnimPrimitive*>(m_anim.get())->animName == "B_outofdig4_garbeetle") {
|
||||
fmt::print(fmt("{} -> {}\n"), static_cast<MetaAnimPrimitive*>(m_anim.get())->animName,
|
||||
static_cast<MetaAnimPrimitive*>(m_anim.get())->animId);
|
||||
}
|
||||
} else if (!type.compare("blend")) {
|
||||
m_anim.reset(new struct MetaAnimBlend);
|
||||
m_anim->read(reader);
|
||||
@@ -1063,8 +1059,6 @@ bool ANCS::Cook(const hecl::ProjectPath& outPath, const hecl::ProjectPath& inPat
|
||||
hecl::SystemStringConv sysStr(prim.animName);
|
||||
hecl::ProjectPath pathOut = inPath.ensureAuxInfo(hecl::SystemString(sysStr.sys_str()) + _SYS_STR(".ANIM"));
|
||||
prim.animId = pathOut;
|
||||
if (prim.animName == "B_outofdig4_garbeetle")
|
||||
fmt::print(fmt("{}|{}\n"), pathOut.getRelativePathUTF8(), pathOut.getAuxInfoUTF8());
|
||||
return true;
|
||||
});
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ CLineRenderer::CLineRenderer(boo::IGraphicsDataFactory::Context& ctx, EPrimitive
|
||||
LineRendererLog.report(logvisor::Fatal, fmt(_SYS_STR("maxVerts < 2, maxVerts = {}")), maxVerts);
|
||||
return;
|
||||
}
|
||||
m_textured = texture;
|
||||
m_textured = bool(texture);
|
||||
|
||||
u32 maxTriVerts;
|
||||
switch (mode) {
|
||||
@@ -37,7 +37,7 @@ CLineRenderer::CLineRenderer(boo::IGraphicsDataFactory::Context& ctx, EPrimitive
|
||||
break;
|
||||
}
|
||||
|
||||
if (texture)
|
||||
if (bool(texture))
|
||||
m_vertBufTex = s_vertPoolTex.allocateBlock(CGraphics::g_BooFactory, maxTriVerts);
|
||||
else
|
||||
m_vertBufNoTex = s_vertPoolNoTex.allocateBlock(CGraphics::g_BooFactory, maxTriVerts);
|
||||
@@ -54,7 +54,7 @@ CLineRenderer::CLineRenderer(EPrimitiveMode mode, u32 maxVerts, const boo::ObjTo
|
||||
LineRendererLog.report(logvisor::Fatal, fmt(_SYS_STR("maxVerts < 2, maxVerts = {}")), maxVerts);
|
||||
return;
|
||||
}
|
||||
m_textured = texture;
|
||||
m_textured = bool(texture);
|
||||
|
||||
u32 maxTriVerts;
|
||||
switch (mode) {
|
||||
@@ -67,7 +67,7 @@ CLineRenderer::CLineRenderer(EPrimitiveMode mode, u32 maxVerts, const boo::ObjTo
|
||||
break;
|
||||
}
|
||||
|
||||
if (texture)
|
||||
if (bool(texture))
|
||||
m_vertBufTex = s_vertPoolTex.allocateBlock(CGraphics::g_BooFactory, maxTriVerts);
|
||||
else
|
||||
m_vertBufNoTex = s_vertPoolNoTex.allocateBlock(CGraphics::g_BooFactory, maxTriVerts);
|
||||
|
||||
2
hecl
2
hecl
Submodule hecl updated: 87c8205a91...3508e9d536
2
specter
2
specter
Submodule specter updated: e57aa9f827...ba31ba180f
Reference in New Issue
Block a user