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

Function zLightSetVolume

src/SB/Game/zLight.cpp:275–289  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

273}
274
275void zLightSetVolume(zVolume* vol)
276{
277 if (!vol)
278 {
279 sPartitionVolume = 0;
280 }
281 else
282 {
283 U32 lp_id = xStrHash("LIGHT_PARTITION");
284 if (vol->id == lp_id)
285 {
286 sPartitionVolume = vol;
287 }
288 }
289}
290
291void zLightOn(_zLight* zl, S32 on)
292{

Callers 2

zSceneInitFunc_VolumeFunction · 0.70
zSceneInitFunction · 0.70

Calls 1

xStrHashFunction · 0.50

Tested by

no test coverage detected