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

Function xParSysSetup

src/SB/Core/x/xParSys.cpp:207–214  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

205}
206
207void xParSysSetup(xParSys* t)
208{
209 if (t != NULL && t->tasset != NULL && t->tasset->parentParSysID != 0x0)
210 {
211 t->parent = (xParSys*)zSceneFindObject(t->tasset->parentParSysID);
212 }
213 t->txtr_particle = (RwTexture*)xSTFindAsset(t->tasset->textureID, 0);
214}
215
216void xParSysReset(xParSys* t)
217{

Callers 1

zSceneSetupFunction · 0.85

Calls 2

zSceneFindObjectFunction · 0.85
xSTFindAssetFunction · 0.70

Tested by

no test coverage detected