Searched refs:GDIST (Results 1 – 2 of 2) sorted by relevance
998 #define GDIST(x,y) ((x-gx)*(x-gx)+(y-gy)*(y-gy)) in shk_move() macro1018 && GDIST(omx,omy) < 3){ in shk_move()1061 (appr && (zz = GDIST(nix,niy)) && zz > GDIST(nx,ny)) in shk_move()1063 (appr && GDIST(nx,ny) < GDIST(nix,niy)) in shk_move()
200 #define GDIST(x,y) ((x-gx)*(x-gx) + (y-gy)*(y-gy)) in dog_move() macro411 nearer = GDIST(nx,ny); in dog_move()412 nearer -= GDIST(nix,niy); in dog_move()