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

Function zSceneForAllBase

src/SB/Game/zScene.cpp:3326–3340  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3324}
3325
3326void zSceneForAllBase(xBase* (*func)(xBase*, zScene*, void*), void* data)
3327{
3328 zScene* s = globals.sceneCur;
3329
3330 if (s)
3331 {
3332 for (U16 i = 0; i < s->num_base; i++)
3333 {
3334 if (!func(s->base[i], s, data))
3335 {
3336 break;
3337 }
3338 }
3339 }
3340}
3341
3342void zSceneForAllBase(xBase* (*func)(xBase*, zScene*, void*), S32 baseType, void* data)
3343{

Callers 3

checkAgainstButtonsFunction · 0.70
zSceneExitFunction · 0.70
zUIRenderAllFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected