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

Function zMenuInit

src/SB/Game/zMenu.cpp:55–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55void zMenuInit(U32 theSceneID)
56{
57 sInMenu = 1;
58 xsrand(iTimeGet());
59 iTimeGet();
60 xrand();
61 zSceneInit(theSceneID, 0);
62 xCameraInit(&globals.camera, 0x280, 0x1e0);
63 zCameraReset(&globals.camera);
64 xCameraSetScene(&globals.camera, globals.sceneCur);
65 zMusicInit();
66}
67
68void zMenuExit()
69{

Callers

nothing calls this directly

Calls 8

xsrandFunction · 0.85
xrandFunction · 0.85
xCameraInitFunction · 0.85
zCameraResetFunction · 0.85
xCameraSetSceneFunction · 0.85
zMusicInitFunction · 0.85
zSceneInitFunction · 0.70
iTimeGetFunction · 0.50

Tested by

no test coverage detected