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

Function um_dist

src/apply.c:691–695  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

689#undef HowMany
690
691boolean
692um_dist(coordxy x, coordxy y, xint16 n)
693{
694 return (boolean) (abs(u.ux - x) > n || abs(u.uy - y) > n);
695}
696
697int
698number_leashed(void)

Callers 9

uleftvaultFunction · 0.85
gd_letknowFunction · 0.85
gd_moveFunction · 0.85
m_respondFunction · 0.85
expelsFunction · 0.85
check_leashFunction · 0.85
shopdigFunction · 0.85
getcadFunction · 0.85
pay_for_damageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected