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

Function xParGroupInit

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

Source from the content-addressed store, hash-verified

9xParGroup* sParGroupRegTable[REG_TABLE_SIZE];
10
11void xParGroupInit(xParGroup* ps)
12{
13 ps->m_root = NULL;
14 ps->m_dead = NULL;
15 ps->m_alive = 0;
16 ps->m_num_of_particles = 0;
17 ps->m_killWhenDead = 0;
18 ps->m_flags = 0;
19 ps->m_active = 1;
20 ps->m_culled = 0;
21 ps->m_visible = 1;
22 ps->m_cmdTex = NULL;
23 ps->m_priority = 0;
24 ps->m_next = NULL;
25 ps->m_prev = NULL;
26
27 ps->m_flags |= XPARGROUP_ALLOCPARS;
28 ps->m_flags |= XPARGROUP_UNK1;
29}
30
31static void xParGroupRegisterInit()
32{

Callers 1

xParSysInitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected