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

Function zPlatform_BreakawayFallFX

src/SB/Game/zPlatform.cpp:1094–1107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1092}
1093
1094void zPlatform_BreakawayFallFX(zPlatform* ent, F32 dt)
1095{
1096 if (sEmitBreakaway != NULL)
1097 {
1098 xParEmitterCustomSettings info;
1099 info.custom_flags = 0x100;
1100 info.pos = *xEntGetCenter(ent);
1101 info.pos.y += 0.5f;
1102 for (S32 iVar2 = 0; iVar2 < 25; iVar2++)
1103 {
1104 xParEmitterEmitCustom(sEmitBreakaway, 1/30.f, &info);
1105 }
1106 }
1107}
1108
1109void zPlatform_Mount(zPlatform* plat)
1110{

Callers 1

zPlatform_UpdateFunction · 0.85

Calls 2

xEntGetCenterFunction · 0.85
xParEmitterEmitCustomFunction · 0.50

Tested by

no test coverage detected