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

Function xParGroupAddParP

src/SB/Core/x/xParGroup.cpp:174–192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

172}
173
174void xParGroupAddParP(xParGroup* ps, xPar* p)
175{
176 ps->m_alive = 1;
177 ps->m_num_of_particles++;
178
179 p->m_prev = NULL;
180 p->m_next = NULL;
181
182 if (ps->m_root)
183 {
184 p->m_next = ps->m_root;
185 ps->m_root->m_prev = p;
186 ps->m_root = p;
187 }
188 else
189 {
190 ps->m_root = p;
191 }
192}
193
194xPar* xParGroupAddPar(xParGroup* ps)
195{

Callers 1

xParGroupAddParFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected