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

Function moverock

src/hack.c:335–345  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

333}
334
335staticfn int
336moverock(void)
337{
338 coordxy sx, sy;
339 int ret;
340
341 sx = u.ux + u.dx, sy = u.uy + u.dy; /* boulder starting position */
342 ret = moverock_core(sx, sy);
343 moverock_done(sx, sy);
344 return ret;
345}
346
347staticfn int
348moverock_core(coordxy sx, coordxy sy)

Callers 1

test_moveFunction · 0.85

Calls 2

moverock_coreFunction · 0.85
moverock_doneFunction · 0.85

Tested by 1

test_moveFunction · 0.68