| /src/tests/usr.bin/indent/ |
| edge_cases.c | 90 my ($class, $fname, $lines, $text, $physlines) = @_; 91 my ($self) = ([$fname, $lines, $text, $physlines, false, [], [], {}]); 100 my ($self, $name) = @_; 124 // $ No space between 'my' and '('. 125 my($class, $fname, $lines, $text, $physlines) = @_; 126 my($self) = ([$fname, $lines, $text, $physlines, false, [], [], { 142 my($self, $name) = @_;
|
| /src/games/hack/ |
| hack.wizard.c | 100 if (dist(mtmp->mx, mtmp->my) > 2) 129 mtmp->my = otmp->oy; 165 if (inroom(u.ux, u.uy) != inroom(mtmp->mx, mtmp->my)) 168 ty = u.uy - mtmp->my; 174 buzz(-1, mtmp->mx, mtmp->my, sgn(tx), sgn(ty)); 221 pline("\"Destroy the thief, my pets!\""); 249 buzz(-rnd(3), mtmp->mx, mtmp->my, sgn(tx), sgn(ty)); 276 if ((mtmp2 = makemon(PM_WIZARD, mtmp->mx, mtmp->my)) != NULL) {
|
| hack.fight.c | 99 vis = (cansee(magr->mx, magr->my) && cansee(mdef->mx, mdef->my)); 110 boolean far = (dist(magr->mx, magr->my) > 15); 152 (void) mkobj_at(pd->mlet, mdef->mx, mdef->my); 153 if (cansee(mdef->mx, mdef->my)) { 155 atl(mdef->mx, mdef->my, fobj->olet); 167 mksobj_at(ENORMOUS_ROCK, mdef->mx, mdef->my); 169 mksobj_at(ROCK, mdef->mx, mdef->my); 170 if (cansee(mdef->mx, mdef->my)) { 172 atl(mdef->mx, mdef->my, fobj->olet) [all...] |
| hack.mon.c | 116 inpool = (levl[mtmp->mx][mtmp->my].typ == POOL); 119 if (cansee(mtmp->mx, mtmp->my)) 141 if (Conflict && cansee(mtmp->mx, mtmp->my) 183 mtmp->my = u.uy; 216 int y = mtmp->my; 224 if ((dd = dist(mtmp->mx, mtmp->my)) < dist(x, y)) 256 if (cansee(mtmp->mx, mtmp->my) && 266 wipe_engr_at(mtmp->mx, mtmp->my, 1); 285 nearby = (dist(mtmp->mx, mtmp->my) < 3); 339 if (mtmp->mhide && o_at(mtmp->mx, mtmp->my) && rn2(10) [all...] |
| hack.steal.c | 124 if (dist(mtmp->mx, mtmp->my) < 3) { 264 otmp->oy = mtmp->my; 269 if (show & cansee(mtmp->mx, mtmp->my)) 277 mkgold((long) (tmp + d(dlevel, 30)), mtmp->mx, mtmp->my); 278 if (show & cansee(mtmp->mx, mtmp->my)) 279 atl(mtmp->mx, mtmp->my, '$');
|
| hack.unix.c | 345 * { Later note: he disliked my calling a general mailreader and felt that 429 if (dist(md->mx, md->my) > 2) 464 fy = md->my; 465 md->my = tmp; 467 while (fx != md->mx || fy != md->my) { 472 d1 = DIST(fx, fy, md->mx, md->my); 476 d2 = DIST(fx + dx, fy + dy, md->mx, md->my); 489 md->my = fy;
|
| def.monst.h | 70 xchar mx,my; member in struct:monst
|
| hack.makemon.c | 135 mtmp->my = y; 150 if (mtmp->mx && mtmp->my) 151 (void) mkobj_at(0, mtmp->mx, mtmp->my); 253 mtmp->my = ty;
|
| hack.mhitu.c | 122 if (mdat->mlet == ';' && mtmp->minvis && cansee(mtmp->mx, mtmp->my)) { 166 levl[mtmp->mx][mtmp->my].typ == POOL) { 204 buzz(-1, mtmp->mx, mtmp->my, u.ux - mtmp->mx, u.uy - mtmp->my); 416 if ((obj = o_at(mtmp->mx, mtmp->my)) != NULL)
|
| hack.worm.c | 104 wtmp->wy = mtmp->my; 116 wtmp->wy = mtmp->my; 212 if (mtmp->mx == x && mtmp->my == y) 257 mtmp2->my = wtmp->wy;
|
| hack.mklev.c | 781 xchar mx, my; local 810 my = somey(); 813 my = croom->hy + 1; 815 my = croom->ly - 1; 822 my = mm.y; 825 my = somey(); 827 } while (m_at(mx, my) || levl[mx][my].typ == STAIRS); 828 if ((mtmp = makemon(PM_MIMIC, mx, my)) != NULL) { 844 my = mm.y [all...] |
| hack.vault.c | 229 if (!cansee(guard->mx, guard->my)) { 279 if (dist(guard->mx, guard->my) > 1 || egd->gddone) { 284 y = guard->my; 365 guard->my = ny;
|
| hack.trap.c | 213 struct trap *trap = t_at(mtmp->mx, mtmp->my); 223 int in_sight = cansee(mtmp->mx, mtmp->my); 260 if (in_sight && !cansee(mtmp->mx, mtmp->my))
|
| hack.bones.c | 115 mtmp->my = u.uy;
|
| hack.dog.c | 134 if (dist(mtmp->mx, mtmp->my) < 3 && follower(mtmp) 210 omy = mtmp->my; 461 mtmp->my = niy; 510 if (cansee(mtmp->mx, mtmp->my)) {
|
| hack.shk.c | 268 if (inroom(shopkeeper->mx, shopkeeper->my) 452 if (shkp->isshk && dist(shkp->mx, shkp->my) < 3) 455 inroom(shopkeeper->mx, shopkeeper->my) == ESHK(shopkeeper)->shoproom) 747 inroom(shopkeeper->mx, shopkeeper->my) != ESHK(shopkeeper)->shoproom) 924 shkp->mx == ESHK(shkp)->shk.x && shkp->my == ESHK(shkp)->shk.y && 953 omy = shkp->my; 1093 shkp->my = niy; 1113 } else if (dist(shopkeeper->mx, shopkeeper->my) < 3) {
|
| hack.pri.c | 331 if (mtmp->mx >= xmin && mtmp->my < ymax) 645 levl[mtmp->mx][mtmp->my].typ == POOL); 659 if (mon->mdx != mon->mx || mon->mdy != mon->my || !show) 663 atl(mon->mx, mon->my, 669 mon->mdy = mon->my;
|
| hack.apply.c | 161 int tmp = dist(mtmp->mx, mtmp->my); 163 if (cansee(mtmp->mx, mtmp->my)) 303 if (dist(mtmp->mx, mtmp->my) < u.ulevel * 20) {
|
| hack.potion.c | 152 at(mtmp->mx, mtmp->my, mtmp->data->mlet); 311 uclose = (dist(mon->mx, mon->my) < 3);
|
| hack.zap.c | 363 if (!cansee(mtmp->mx, mtmp->my)) 372 if (!cansee(mtmp->mx, mtmp->my)) 567 if (cansee(mon->mx, mon->my))
|
| hack.read.c | 170 if (cansee(mtmp->mx, mtmp->my)) { 488 if (dist(mtmp->mx, mtmp->my) < 3) {
|
| /src/games/larn/ |
| create.c | 115 static int mx, mxl, mxh, my, myl, myh, tmp2; variable 143 my = rnd(11) + 2; 144 myl = my - rnd(2); 145 myh = my + rnd(2); 166 my = rnd(MAXY - 2); 168 item[i][my] = 0;
|
| /src/usr.sbin/sysinst/ |
| msg.mbr.en | 67 {Using the information already on the disk, my best guess for the BIOS
|
| /src/sys/arch/next68k/next68k/ |
| nextrom.h | 173 int mx, my; /* mouse location */
|
| /src/games/snake/snake/ |
| snake.c | 592 static const int my[8] = { variable 612 vp = d.col * mx[i] + d.line * my[i]; 624 point(&d, sp->col + mx[i], sp->line + my[i]); 658 point(np, sp->col + mx[w], sp->line + my[w]); 871 * My manual says times doesn't return a value. Furthermore, the
|