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

Function zVarEntryCB_SndFXVol

src/SB/Game/zVar.cpp:627–637  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

625}
626
627U32 zVarEntryCB_SndFXVol(void* arg)
628{
629 F64 f0 = 0.5;
630 F64 f1 = 10.0;
631 F64 f2 = gSnd.categoryVolFader[0];
632
633 f2 *= f1;
634 f2 = f0 + f2;
635
636 return f2;
637}
638
639U32 zVarEntryCB_MCAvailable(void* arg)
640{

Callers 3

ZDSP_doCommandFunction · 0.70
zDispatcherStoreOptionsFunction · 0.70
var_text_SoundFXVolumeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected