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

Function xFFXAddEffect

src/SB/Core/x/xFFX.cpp:58–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56}
57
58S16 xFFXAddEffect(xEnt* ent, xFFX* f)
59{
60 U8 numFFX;
61 f->next = (xFFX*)ent->ffx;
62 f->flags = f->flags | 1;
63 *(xFFX**)&ent->ffx = f;
64 numFFX = ent->num_ffx;
65 ent->num_ffx = numFFX + 1;
66 return numFFX;
67}
68
69S16 xFFXAddEffect(xEnt* ent, void (*dof)(xEnt*, xScene*, F32, void*), void* fd)
70{

Callers 2

zPlatform_ShakeFunction · 0.85
zPlatform_TrembleFunction · 0.85

Calls 1

xFFXAllocFunction · 0.85

Tested by

no test coverage detected