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

Initial CCinematicCamera implementations

This commit is contained in:
Jack Andersen
2017-11-22 16:15:09 -10:00
parent ef4a07e963
commit 41edf5a226
10 changed files with 207 additions and 113 deletions

View File

@@ -2021,7 +2021,7 @@ void CStateManager::MoveDoors(float dt)
continue;
if (TCastToPtr<CAi> ai = physActor)
{
bool doThink = !xf94_29_;
bool doThink = !xf94_29_cinematicPause;
if (doThink && ai->GetAreaIdAlways() != kInvalidAreaId)
{
const CGameArea* area = x850_world->GetAreaAlways(ai->GetAreaIdAlways());
@@ -2107,7 +2107,7 @@ void CStateManager::ThinkEffectsAndActors(float dt)
for (CEntity* ent : GetAllObjectList())
if (TCastToPtr<CAi> ai = ent)
{
bool doThink = !xf94_29_;
bool doThink = !xf94_29_cinematicPause;
if (doThink && ai->GetAreaIdAlways() != kInvalidAreaId)
{
const CGameArea* area = x850_world->GetAreaAlways(ai->GetAreaIdAlways());