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

Method IncludesPlayer

src/SB/Game/zNPCGoalRobo.cpp:5146–5155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5144}
5145
5146S32 NPCArena::IncludesPlayer(F32 rad_thresh, xVec3* vec)
5147{
5148 if (NPCC_LampStatus())
5149 {
5150 xVec3* pos = xEntGetPos(&globals.player.ent);
5151 return NPCArena::IncludesPos(pos, rad_thresh, vec);
5152 }
5153
5154 return 0;
5155}
5156
5157NPCGlyph* GLYF_Acquire(en_npcglyph);
5158

Callers 3

EnterMethod · 0.80
ProcessMethod · 0.80
ChkPrelimTranMethod · 0.80

Calls 2

NPCC_LampStatusFunction · 0.85
xEntGetPosFunction · 0.85

Tested by

no test coverage detected