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

Function reset_poppers

src/SB/Game/zFX.cpp:331–340  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

329}
330
331// Regalloc
332void zFXGooUpdateInstance(zFXGooInstance* goo, F32 dt)
333{
334 zFXGooState old_state = goo->state;
335 if (goo->state != zFXGooStateNormal)
336 {
337 goo->time += dt;
338 if (goo->time >= goo->timer)
339 {
340 goo->state = (zFXGooState)(((S32)goo->state + 1) & 0x3);
341 goo->timer = (goo->time + goo->state_time[goo->state]) - (goo->time - goo->timer);
342 }
343 }

Callers 2

zFX_SceneResetFunction · 0.85
init_poppersFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected