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

Function domove

src/hack.c:2694–2709  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2692}
2693
2694void
2695domove(void)
2696{
2697 coordxy ux1 = u.ux, uy1 = u.uy;
2698
2699 gd.domove_succeeded = 0L;
2700 domove_core();
2701 /* gd.domove_succeeded is available to make assessments now */
2702 if ((gd.domove_succeeded & (DOMOVE_RUSH | DOMOVE_WALK)) != 0) {
2703 maybe_smudge_engr(ux1, uy1, u.ux, u.uy);
2704 maybe_adjust_hero_bubble();
2705 }
2706 gd.domove_attempting = 0L;
2707
2708 gk.kickedloc.x = 0, gk.kickedloc.y = 0;
2709}
2710
2711staticfn void
2712domove_core(void)

Callers 3

allmain.cFile · 0.85
rhackFunction · 0.85
dotravel_targetFunction · 0.85

Calls 3

domove_coreFunction · 0.85
maybe_smudge_engrFunction · 0.85
maybe_adjust_hero_bubbleFunction · 0.85

Tested by

no test coverage detected