MCPcopy Index your code
hub / github.com/NetHack/NetHack / invocation_pos

Function invocation_pos

src/hack.c:981–986  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

979}
980
981boolean
982invocation_pos(coordxy x, coordxy y)
983{
984 return (boolean) (Invocation_lev(&u.uz)
985 && x == svi.inv_pos.x && y == svi.inv_pos.y);
986}
987
988/* return TRUE if (ux+dx,uy+dy) is an OK place to move;
989 mode is one of DO_MOVE, TEST_MOVE, TEST_TRAV, or TEST_TRAP */

Callers 7

retouch_objectFunction · 0.85
invocation_messageFunction · 0.85
deadbookFunction · 0.85
occupiedFunction · 0.85
use_bellFunction · 0.85
use_candelabrumFunction · 0.85

Calls 1

Invocation_levFunction · 0.85

Tested by

no test coverage detected