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

Function set_ok_location_func

src/sp_lev.c:1273–1277  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1271static boolean (*is_ok_location_func)(coordxy, coordxy) = NULL;
1272
1273staticfn void
1274set_ok_location_func(boolean (*func)(coordxy, coordxy))
1275{
1276 is_ok_location_func = func;
1277}
1278
1279staticfn boolean
1280is_ok_location(coordxy x, coordxy y, getloc_flags_t humidity)

Callers 1

l_create_stairwayFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected