mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 06:27:43 +00:00
Added EVNT naming
This commit is contained in:
@@ -190,7 +190,7 @@ struct ANCS : BigYAML
|
||||
|
||||
void gatherPrimitives(std::map<atUint32, DNAANCS::AnimationResInfo<UniqueID32>>& out)
|
||||
{
|
||||
out[animIdx] = {animName, animId, false};
|
||||
out[animIdx] = {animName, animId, UniqueID32(), false};
|
||||
}
|
||||
};
|
||||
struct MetaAnimBlend : IMetaAnim
|
||||
@@ -375,6 +375,17 @@ struct ANCS : BigYAML
|
||||
out.clear();
|
||||
for (const AnimationSet::Animation& ai : animationSet.animations)
|
||||
ai.metaAnim.m_anim->gatherPrimitives(out);
|
||||
for (auto& anim : out)
|
||||
{
|
||||
for (const AnimationSet::AnimationResources& res : animationSet.animResources)
|
||||
{
|
||||
if (res.animId == anim.second.animId)
|
||||
{
|
||||
anim.second.evntId = res.evntId;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static bool Extract(const SpecBase& dataSpec,
|
||||
|
||||
Reference in New Issue
Block a user