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

Function zEntPickup_CheckAllPickupsAgainstPlayer

src/SB/Game/zEntPickup.cpp:602–611  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

600static S32 CheckPickupAgainstPlayer(xEnt* cbent, void*);
601
602void zEntPickup_CheckAllPickupsAgainstPlayer(xScene* sc, F32 dt)
603{
604 zEntPickup_cbData cbdata;
605
606 cbdata.sc = sc;
607 cbdata.dt = dt;
608
609 xGridCheckPosition(&colls_grid, (xVec3*)&globals.player.ent.model->Mat->pos,
610 &globals.player.ent.bound.qcd, CheckPickupAgainstPlayer, &cbdata);
611}
612
613static S32 CheckPickupAgainstPlayer(xEnt* cbent, void*)
614{

Callers

nothing calls this directly

Calls 1

xGridCheckPositionFunction · 0.50

Tested by

no test coverage detected