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

Function zEGenerator_ToggleOn

src/SB/Game/zEGenerator.cpp:279–289  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

277}
278
279void zEGenerator_ToggleOn(zEGenerator* egen)
280{
281 if (egen->flags & 1)
282 {
283 zEGenerator_TurnOff(egen);
284 }
285 else
286 {
287 zEGenerator_TurnOn(egen);
288 }
289}
290
291S32 zEGeneratorEventCB(xBase* to, xBase* from, U32 toEvent, const F32* toParam,
292 xBase* toParamWidget)

Callers 1

zEGeneratorEventCBFunction · 0.85

Calls 2

zEGenerator_TurnOffFunction · 0.85
zEGenerator_TurnOnFunction · 0.70

Tested by

no test coverage detected