mirror of https://github.com/AxioDL/metaforce.git
Update nod
This commit is contained in:
parent
774d0ac5c6
commit
595dae17f3
|
@ -25,7 +25,7 @@ CScriptActor::CScriptActor(TUniqueId uid, const std::string& name, const CEntity
|
|||
, x2e2_24_(b2)
|
||||
, x2e2_25_dead(false)
|
||||
, x2e2_26_animating(true)
|
||||
, x2e2_27_(std::fabs(f3 - 1.f) > 0.00001)
|
||||
, x2e2_27_(std::fabs(1.f - f3) > 0.00001)
|
||||
, x2e2_28_(false)
|
||||
, x2e2_29_((x2e2_24_ && x2e2_25_dead && x2d8_ != 0))
|
||||
, x2e2_30_transposeRotate(b4)
|
||||
|
|
|
@ -386,28 +386,28 @@ CEntity* ScriptLoader::LoadActor(CStateManager& mgr, CInputStream& in, int propC
|
|||
zeus::CVector3f centroid;
|
||||
centroid.readBig(in);
|
||||
|
||||
float f1 = in.readFloatBig();
|
||||
float f2 = in.readFloatBig();
|
||||
float mass = in.readFloatBig();
|
||||
float zMomentum = in.readFloatBig();
|
||||
|
||||
CHealthInfo hInfo(in);
|
||||
|
||||
CDamageVulnerability dInfo(in);
|
||||
CDamageVulnerability dVuln(in);
|
||||
|
||||
ResId staticId = in.readUint32Big();
|
||||
CAnimationParameters aParms = LoadAnimationParameters(in);
|
||||
|
||||
CActorParameters actParms = LoadActorParameters(in);
|
||||
|
||||
bool b1 = in.readBool();
|
||||
bool looping = in.readBool();
|
||||
bool snow = in.readBool();
|
||||
bool solid = in.readBool();
|
||||
bool cameraPassthrough = in.readBool();
|
||||
bool b5 = in.readBool();
|
||||
bool active = in.readBool();
|
||||
u32 w2 = in.readUint32Big();
|
||||
float f3 = in.readFloatBig();
|
||||
bool b6 = in.readBool();
|
||||
bool b7 = in.readBool();
|
||||
bool b8 = in.readBool();
|
||||
bool castsShadow = in.readBool();
|
||||
bool xposeRotate = in.readBool();
|
||||
bool b9 = in.readBool();
|
||||
|
||||
FourCC animType = g_ResFactory->GetResourceTypeById(aParms.GetACSFile());
|
||||
|
@ -435,8 +435,8 @@ CEntity* ScriptLoader::LoadActor(CStateManager& mgr, CInputStream& in, int propC
|
|||
if ((collisionExtent.x < 0.f || collisionExtent.y < 0.f || collisionExtent.z < 0.f) || collisionExtent.isZero())
|
||||
aabb = data.GetBounds(head.x10_transform.getRotation());
|
||||
|
||||
return new CScriptActor(mgr.AllocateUniqueId(), head.x0_name, info, head.x10_transform, std::move(data), aabb, f1,
|
||||
f2, list, hInfo, dInfo, actParms, b1, b5, w2, f3, b6, b7, b8, b9);
|
||||
return new CScriptActor(mgr.AllocateUniqueId(), head.x0_name, info, head.x10_transform, std::move(data), aabb, mass,
|
||||
zMomentum, list, hInfo, dVuln, actParms, looping, active, w2, f3, b6, castsShadow, xposeRotate, b9);
|
||||
}
|
||||
|
||||
CEntity* ScriptLoader::LoadWaypoint(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info)
|
||||
|
|
2
nod
2
nod
|
@ -1 +1 @@
|
|||
Subproject commit 72169e8e774a6d6859abb42954b6f2a0ef184789
|
||||
Subproject commit e99290e3c331cf5128b754a63612cd21afcd3c50
|
Loading…
Reference in New Issue