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

Function NCIN_BubHit

src/SB/Game/zNPCFXCinematic.cpp:521–535  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

519}
520
521void NCIN_BubHit(const zCutsceneMgr*, NCINEntry* fxrec, S32 killit)
522{
523 if (killit != 0)
524 {
525 fxrec->flg_stat |= 4;
526 }
527 else
528 {
529 if (fxrec->flg_stat & 2)
530 {
531 zFX_SpawnBubbleHit(&fxrec->pos_A[0], 16);
532 }
533 zFX_SpawnBubbleHit(&fxrec->pos_A[0], 3);
534 }
535}
536
537// TODO: NEEDS REWRITEN / CORRECTED
538void NCIN_Zapper(const zCutsceneMgr*, NCINEntry* fxrec, S32 param)

Callers

nothing calls this directly

Calls 1

zFX_SpawnBubbleHitFunction · 0.70

Tested by

no test coverage detected