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

Function DUPO_InitEffects

src/SB/Game/zNPCTypeDuplotron.cpp:424–440  ·  view source on GitHub ↗

non-matching: scheduling?

Source from the content-addressed store, hash-verified

422
423// non-matching: scheduling?
424void DUPO_InitEffects()
425{
426 g_pemit_smoky = zParEmitterFind("PAREMIT_DUPLO_SMOKE");
427 g_pemit_steam = zParEmitterFind("PAREMIT_DUPLO_STEAM");
428 g_pemit_overheat = zParEmitterFind("PAREMIT_DUPLO_OVERHEAT");
429
430 g_parf_smoky.custom_flags = 0x100;
431 xVec3Copy(&g_parf_smoky.pos, &g_O3);
432
433 g_parf_steam.custom_flags = 0x300;
434 xVec3Copy(&g_parf_steam.pos, &g_O3);
435 xVec3Copy(&g_parf_steam.vel, &g_Y3);
436
437 g_parf_overheat.custom_flags = 0x300;
438 xVec3Copy(&g_parf_overheat.pos, &g_O3);
439 xVec3Copy(&g_parf_overheat.vel, &g_Y3);
440}
441
442void DUPO_KillEffects()
443{

Callers 1

Calls 2

xVec3CopyFunction · 0.85
zParEmitterFindFunction · 0.70

Tested by

no test coverage detected