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

Various fixes and tweaks, Implement CExplosion, Add cheats

This commit is contained in:
2018-04-26 14:12:20 -07:00
parent ae48196c3f
commit 6d60ccfd04
26 changed files with 297 additions and 75 deletions

View File

@@ -40,7 +40,7 @@ CActor::CActor(TUniqueId uid, bool active, std::string_view name, const CEntityI
xd0_thermalMag = params.x64_thermalMag;
xd8_nonLoopingSfxHandles.resize(2);
xe4_27_notInSortedLists = true;
xe4_28_ = true;
xe4_28_transformDirty = true;
xe4_29_actorLightsDirty = true;
xe4_31_lightsDirty = true;
xe5_27_useInSortedLists = true;
@@ -542,7 +542,7 @@ void CActor::SetRotation(const zeus::CQuaternion &q)
{
x34_transform = q.toTransform(x34_transform.origin);
xe4_27_notInSortedLists = true;
xe4_28_ = true;
xe4_28_transformDirty = true;
xe4_29_actorLightsDirty = true;
}
@@ -550,7 +550,7 @@ void CActor::SetTranslation(const zeus::CVector3f& tr)
{
x34_transform.origin = tr;
xe4_27_notInSortedLists = true;
xe4_28_ = true;
xe4_28_transformDirty = true;
xe4_29_actorLightsDirty = true;
}
@@ -558,7 +558,7 @@ void CActor::SetTransform(const zeus::CTransform& tr)
{
x34_transform = tr;
xe4_27_notInSortedLists = true;
xe4_28_ = true;
xe4_28_transformDirty = true;
xe4_29_actorLightsDirty = true;
}