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

Function zCutsceneMgrFinishLoad

src/SB/Game/zCutsceneMgr.cpp:291–312  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

289}
290
291void zCutsceneMgrFinishLoad(xBase* to)
292{
293 zCutsceneMgr* t = (zCutsceneMgr*)to;
294
295 while (true)
296 {
297 iFileAsyncService();
298 xSndUpdate();
299 iCSLoadStep(t->csn);
300 iTRCDisk::CheckDVDAndResetState();
301 if (t->csn->Ready)
302 {
303 break;
304 }
305 iVSync();
306 }
307 zCutsceneMgrPlayStart(t);
308 zEntEvent(to, to, 0x18);
309 zEntEvent(&globals.player.ent, 8);
310 zEntEvent(&globals.player.ent, 4);
311 return;
312}
313
314void zCutsceneMgrFinishExit(xBase* to)
315{

Callers 1

zGameUpdateModeFunction · 0.70

Calls 6

xSndUpdateFunction · 0.85
iVSyncFunction · 0.85
zCutsceneMgrPlayStartFunction · 0.70
iFileAsyncServiceFunction · 0.50
iCSLoadStepFunction · 0.50
zEntEventFunction · 0.50

Tested by

no test coverage detected