/original-bsd/games/hack/ |
H A D | hack.dog.c | 117 xchar gx,gy,gtyp,otyp; /* current goal */ local 120 #define GDIST(x,y) ((x-gx)*(x-gx) + (y-gy)*(y-gy)) 193 gx = obj->ox; 201 gx = obj->ox; 209 gx = u.ux; 216 gx = gy = FAR; /* random, far away */ 218 if(dist(gx,gy) > 220 gx = doors[tmp].x; 226 if(gx == FAR || (gx == omx && gy == omy)){ 227 gx = u.ux; [all …]
|
H A D | hack.vault.c | 88 register x,y,dd,gx,gy; in invault() local 106 gx = x; gy = y; in invault() 113 dx = (gx > x) ? 1 : (gx < x) ? -1 : 0; in invault() 115 if(abs(gx-x) >= abs(gy-y)) in invault() 153 EGD->gdx = gx; in invault() 165 register int x,y,dx,dy,gx,gy,nx,ny,typ; in gd_move() local 202 gx = EGD->gdx; in gd_move() 204 dx = (gx > x) ? 1 : (gx < x) ? -1 : 0; in gd_move() 206 if(abs(gx-x) >= abs(gy-y)) nx += dx; else ny += dy; in gd_move()
|
H A D | def.gold.h | 6 xchar gx,gy; member
|
H A D | def.gen.h | 6 xchar gx,gy; member
|
H A D | hack.mon.c | 242 xchar gx,gy,nix,niy,chcnt; local 318 gx = u.ux; 335 gx = cp->x; 351 if((dd = DIST(omx,omy,gold->gx,gold->gy)) < mind){ 353 gx = gold->gx; 365 gx = otmp->ox; 371 gx = u.ux; 394 { int d1 = DIST(nx,ny,gx,gy); 395 int d2 = DIST(nix,niy,gx,gy); 399 nearer = (DIST(nx,ny,gx,gy) < DIST(nix,niy,gx,gy));
|
H A D | hack.shk.c | 791 register xchar gx,gy,omx,omy,nx,ny,nix,niy; local 832 gx = ESHK(shkp)->shk.x; 834 satdoor = (gx == omx && gy == omy); 836 gx = u.ux; 845 gx = u.ux; 851 #define GDIST(x,y) ((x-gx)*(x-gx)+(y-gy)*(y-gy)) 866 avoid = (u.uinshop && dist(gx,gy) > 8); 875 appr = gx = gy = 0; 879 if(omx == gx && omy == gy)
|
H A D | hack.mkobj.c | 142 gold->gx = x;
|
H A D | hack.read.c | 264 if(gtmp->gx != u.ux || gtmp->gy != u.uy) in doread() 272 at(gtmp->gx, gtmp->gy, '$'); in doread()
|
H A D | hack.lev.c | 219 while(gold->gx) {
|
H A D | hack.invent.c | 264 if(gold->gx == x && gold->gy == y) return(gold);
|
/original-bsd/old/roff/common_source/ |
H A D | n1.c | 571 goto gx; in getch() 574 goto gx; in getch() 580 goto gx; in getch() 583 goto gx; in getch() 586 goto gx; in getch() 589 goto gx; in getch() 592 goto gx; in getch() 595 goto gx; in getch() 598 goto gx; in getch() 601 goto gx; in getch() [all …]
|
/original-bsd/local/ditroff/ditroff.okeeffe/troff/ |
H A D | n1.c | 475 goto gx; in getch() 478 goto gx; in getch() 488 goto gx; in getch() 491 goto gx; in getch() 494 goto gx; in getch() 497 goto gx; in getch() 500 goto gx; in getch() 503 goto gx; in getch() 506 goto gx; in getch() 509 goto gx; in getch() [all …]
|
/original-bsd/local/ditroff/ditroff.van/ |
H A D | n1.c | 475 goto gx; in getch() 478 goto gx; in getch() 488 goto gx; in getch() 491 goto gx; in getch() 494 goto gx; in getch() 497 goto gx; in getch() 500 goto gx; in getch() 503 goto gx; in getch() 506 goto gx; in getch() 509 goto gx; in getch() [all …]
|
/original-bsd/local/ditroff/ditroff.okeeffe/ |
H A D | n1.c | 475 goto gx; in getch() 478 goto gx; in getch() 488 goto gx; in getch() 491 goto gx; in getch() 494 goto gx; in getch() 497 goto gx; in getch() 500 goto gx; in getch() 503 goto gx; in getch() 506 goto gx; in getch() 509 goto gx; in getch() [all …]
|
/original-bsd/local/ditroff/ditroff.old.okeeffe/troff/ |
H A D | n1.c | 603 goto gx; in getch() 606 goto gx; in getch() 613 goto gx; in getch() 616 goto gx; in getch() 619 goto gx; in getch() 622 goto gx; in getch() 625 goto gx; in getch() 628 goto gx; in getch() 631 goto gx; in getch() 634 goto gx; in getch() [all …]
|