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

Implement CNewIntroBoss

This commit is contained in:
2018-11-16 21:05:57 -08:00
parent cc4a895818
commit ea4848196a
37 changed files with 952 additions and 56 deletions

View File

@@ -791,4 +791,16 @@ void CActor::SetMuted(bool muted)
xe5_26_muted = muted;
RemoveEmitter();
}
void CActor::MoveScannableObjectInfoToActor(CActor* act, CStateManager& mgr)
{
if (!act)
return;
if (act->GetScannableObjectInfo() != GetScannableObjectInfo())
act->x98_scanObjectInfo = x98_scanObjectInfo;
act->AddMaterial(EMaterialTypes::Scannable, mgr);
RemoveMaterial(EMaterialTypes::Scannable, mgr);
}
}