HomeSort by: relevance | last modified time | path
    Searched defs:GDIST (Results 1 - 2 of 2) sorted by relevancy

  /src/games/hack/
hack.dog.c 204 #define GDIST(x,y) ((x-gx)*(x-gx) + (y-gy)*(y-gy))
438 nearer = GDIST(nx, ny);
439 nearer -= GDIST(nix, niy);
hack.shk.c 1001 #define GDIST(x,y) ((x-gx)*(x-gx)+(y-gy)*(y-gy))
1021 && GDIST(omx, omy) < 3) {
1068 (appr && (zz = GDIST(nix, niy)) && zz > GDIST(nx, ny))
1070 (appr && GDIST(nx, ny) < GDIST(nix, niy))

Completed in 143 milliseconds