2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 22:27:43 +00:00

Implement CBomb

This commit is contained in:
2018-09-08 18:13:56 -07:00
parent 0a0a581f2d
commit 489470feda
8 changed files with 212 additions and 9 deletions

View File

@@ -294,7 +294,7 @@ struct PatternedInfo : BigDNA
Value<atUint32> unknown11;
Value<atVec3f> unknown12;
UniqueID32 particle1;
Value<atUint32> unknown13;
UniqueID32 electric;
Value<atVec3f> unknown14;
UniqueID32 particle2;
Value<atUint32> soundID2;
@@ -312,6 +312,11 @@ struct PatternedInfo : BigDNA
PAK::Entry* ent = (PAK::Entry*)pakRouter.lookupEntry(particle1);
ent->name = name + "_part1";
}
if (electric)
{
PAK::Entry* ent = (PAK::Entry*)pakRouter.lookupEntry(electric);
ent->name = name + "_elsc";
}
if (particle2)
{
PAK::Entry* ent = (PAK::Entry*)pakRouter.lookupEntry(particle2);
@@ -324,6 +329,7 @@ struct PatternedInfo : BigDNA
animationParameters.depANCS(pathsOut);
g_curSpec->flattenDependencies(stateMachine, pathsOut);
g_curSpec->flattenDependencies(particle1, pathsOut);
g_curSpec->flattenDependencies(electric, pathsOut);
g_curSpec->flattenDependencies(particle2, pathsOut);
}
};