MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / SceneFinish

Method SceneFinish

src/SB/Game/zNPCMgr.cpp:484–501  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

482}
483
484void zNPCMgr::SceneFinish()
485{
486 for (int i = 0; i < npclist.cnt; i++)
487 {
488 ((zNPCCommon*)npclist.list[i])->Destroy();
489 }
490 XOrdDone(&npclist, 0);
491 npcFactory->DestroyAll();
492 zNPCBoss_SceneFinish();
493 zNPCSubBoss_SceneFinish();
494 zNPCDuplotron_SceneFinish();
495 zNPCRobot_SceneFinish();
496 zNPCVillager_SceneFinish();
497 zNPCCommon_SceneFinish();
498 zNPCSpawner_SceneFinish();
499 zNPCMsg_SceneFinish();
500 xBehaveMgr_SceneFinish();
501}
502
503void zNPCMgr::SceneReset()
504{

Callers 1

zNPCMgr_sceneFinishFunction · 0.45

Calls 12

XOrdDoneFunction · 0.85
zNPCBoss_SceneFinishFunction · 0.85
zNPCSubBoss_SceneFinishFunction · 0.85
zNPCRobot_SceneFinishFunction · 0.85
zNPCVillager_SceneFinishFunction · 0.85
zNPCCommon_SceneFinishFunction · 0.85
zNPCMsg_SceneFinishFunction · 0.85
xBehaveMgr_SceneFinishFunction · 0.85
DestroyAllMethod · 0.80
zNPCSpawner_SceneFinishFunction · 0.70
DestroyMethod · 0.45

Tested by

no test coverage detected