MCPcopy Create free account
hub / github.com/NetHack/NetHack / get_valid_jump_position

Function get_valid_jump_position

src/apply.c:1958–1964  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1956}
1957
1958staticfn boolean
1959get_valid_jump_position(coordxy x, coordxy y)
1960{
1961 return (isok(x, y)
1962 && (ACCESSIBLE(levl[x][y].typ) || Passes_walls)
1963 && is_valid_jump_pos(x, y, gj.jumping_is_magic, FALSE));
1964}
1965
1966staticfn void
1967display_jump_positions(boolean on_off)

Callers 1

display_jump_positionsFunction · 0.85

Calls 2

isokFunction · 0.85
is_valid_jump_posFunction · 0.85

Tested by

no test coverage detected