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

Function zMovePointInit

src/SB/Game/zMovePoint.cpp:19–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17}
18
19void zMovePointInit(zMovePoint* m, xMovePointAsset* asset)
20{
21 xMovePointInit((xMovePoint*)m, asset);
22 m->eventFunc = zMovePointEventCB;
23 if (m->linkCount)
24 {
25 m->link =
26 (xLinkAsset*)(((U32*)asset + sizeof(xMovePointAsset) / 4) + (U32)asset->numPoints);
27 }
28 else
29 {
30 m->link = NULL;
31 }
32}
33
34zMovePoint* zMovePoint_GetInst(S32 n)
35{

Callers 1

zSceneInitFunc_MovePointFunction · 0.85

Calls 1

xMovePointInitFunction · 0.85

Tested by

no test coverage detected