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

Function xEntCollCheckNPCsByGrid

src/SB/Core/x/xEnt.cpp:1465–1472  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1463}
1464
1465void xEntCollCheckNPCsByGrid(xEnt* p, xScene* sc, xEnt* (*hitIt)(xEnt*, xScene*, void*))
1466{
1467 p->collis->npc_sidx = p->collis->idx;
1468
1469 xEntCollCheckOneGrid(p, sc, hitIt, &npcs_grid);
1470
1471 p->collis->npc_eidx = p->collis->idx;
1472}
1473
1474void xEntCollCheckStats(xEnt* p, xScene* sc, xEnt* (*hitIt)(xEnt*, xScene*, void*))
1475{

Callers 1

xEntCollideFunction · 0.85

Calls 1

xEntCollCheckOneGridFunction · 0.70

Tested by

no test coverage detected