HomeSort by: relevance | last modified time | path
    Searched refs:mx (Results 1 - 25 of 37) sorted by relevancy

1 2

  /src/games/hack/
hack.wizard.c 100 if (dist(mtmp->mx, mtmp->my) > 2)
128 mtmp->mx = otmp->ox;
165 if (inroom(u.ux, u.uy) != inroom(mtmp->mx, mtmp->my))
167 tx = u.ux - mtmp->mx;
174 buzz(-1, mtmp->mx, mtmp->my, sgn(tx), sgn(ty));
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)
182 mtmp->mx = u.ux;
215 int x = mtmp->mx;
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) {
263 otmp->ox = mtmp->mx;
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 429 if (dist(md->mx, md->my) > 2)
461 fx = md->mx;
462 md->mx = 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);
488 md->mx = fx;
hack.makemon.c 134 mtmp->mx = x;
150 if (mtmp->mx && mtmp->my)
151 (void) mkobj_at(0, mtmp->mx, mtmp->my);
245 if (ch == 'w' && mtmp->mx)
252 mtmp->mx = tx;
def.monst.h 70 xchar mx,my; member in struct:monst
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 103 wtmp->wx = mtmp->mx;
115 wtmp->wx = mtmp->mx;
212 if (mtmp->mx == x && mtmp->my == y)
256 mtmp2->mx = wtmp->wx;
hack.mklev.c 781 xchar mx, my; local
807 mx = croom->hx + 1;
809 mx = croom->lx - 1;
816 mx = somex();
821 mx = mm.x;
824 mx = somex();
827 } while (m_at(mx, my) || levl[mx][my].typ == STAIRS);
828 if ((mtmp = makemon(PM_MIMIC, mx, my)) != NULL) {
843 mx = mm.x
    [all...]
hack.vault.c 229 if (!cansee(guard->mx, guard->my)) {
279 if (dist(guard->mx, guard->my) > 1 || egd->gddone) {
283 x = guard->mx;
364 guard->mx = nx;
hack.potion.c 151 if (mtmp->mx > 0)
152 at(mtmp->mx, mtmp->my, mtmp->data->mlet);
311 uclose = (dist(mon->mx, mon->my) < 3);
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 114 mtmp->mx = u.ux;
hack.dog.c 134 if (dist(mtmp->mx, mtmp->my) < 3 && follower(mtmp)
209 omx = mtmp->mx;
460 mtmp->mx = nix;
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 &&
952 omx = shkp->mx;
1092 shkp->mx = nix;
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,
668 mon->mdx = mon->mx;
  /src/usr.bin/bthset/
bthset.c 93 static int mx; /* mixer fd */ variable
302 if (ioctl(mx, AUDIO_MIXER_READ, &mc) < 0)
313 if (ioctl(mx, AUDIO_MIXER_READ, &mc) < 0)
368 if (ioctl(mx, AUDIO_MIXER_WRITE, &vgs) < 0)
381 if (ioctl(mx, AUDIO_MIXER_WRITE, &vgm) < 0)
459 mx = open(mixer, O_WRONLY, 0);
460 if (mx < 0)
463 if (ioctl(mx, BTSCO_GETINFO, info) < 0)
469 if (ioctl(mx, AUDIO_MIXER_READ, &vgs) < 0)
474 if (ioctl(mx, AUDIO_MIXER_READ, &vgm) < 0
    [all...]
  /src/sys/dev/hdaudio/
hdafg.c 2806 struct hdaudio_mixer *mx; local
2870 mx = kmem_zalloc(nmixers * sizeof(*mx), KM_SLEEP);
2875 mx[index].mx_ctl = NULL;
2876 mx[index].mx_di.index = index;
2877 mx[index].mx_di.type = AUDIO_MIXER_CLASS;
2878 mx[index].mx_di.mixer_class = i;
2879 mx[index].mx_di.prev = index > 0 ? index - 1 : 0;
2880 mx[index].mx_di.next = index + 1;
2883 strcpy(mx[index].mx_di.label.name, AudioCoutputs)
3892 struct hdaudio_mixer *mx = sc->sc_mixers; local
4155 struct hdaudio_mixer *mx; local
4211 struct hdaudio_mixer *mx; local
    [all...]
  /src/games/phantasia/
io.c 29 getstring(char *cp, int mx)
38 --mx; /* reserve room in string for nul terminator */
75 while (ch != CH_NEWLINE && inptr < cp + mx);
  /src/sys/dev/ic/
rtwphy.c 630 struct rtw_max2820 *mx = (struct rtw_max2820 *)rf; local
631 struct rtw_rfbus *bus = &mx->mx_bus;
643 struct rtw_max2820 *mx = (struct rtw_max2820 *)rf; local
644 memset(mx, 0, sizeof(*mx));
645 free(mx, M_DEVBUF);
652 struct rtw_max2820 *mx = (struct rtw_max2820 *)rf; local
653 struct rtw_rfbus *bus = &mx->mx_bus;
702 struct rtw_max2820 *mx; local
705 mx = (struct rtw_max2820 *)rf
724 struct rtw_max2820 *mx; local
    [all...]
ld_mlx.c 218 struct mlx_context *mx; local
222 mx = &mc->mc_mx;
223 bp = mx->mx_context;
224 sc = device_private(mx->mx_dv);
  /src/lib/libm/noieee_src/
n_support.c 453 long mx,scalx;
477 if((mx=px[n0]&mexp)==mexp) return(x); /* sqrt(+INF) is +INF */
486 if(mx==0) {x *= b54 ; scalx-=0x01b00000;}
490 if(mx>0x5ff00000) {px[n0] -= 0x20000000; scalx+= 0x10000000;}
491 if(mx<0x1ff00000) {px[n0] += 0x20000000; scalx-= 0x10000000;}
  /src/usr.sbin/makemandb/
custom_apropos_tokenizer.c 352 size_t i, mx, j; local
364 mx = hasDigit ? 3 : 10;
365 if (nIn > mx * 2) {
366 for (j = mx, i = nIn - mx; i < nIn; i++, j++) {
  /src/games/larn/
create.c 115 static int mx, mxl, mxh, my, myl, myh, tmp2; variable
147 mx = rnd(44) + 5;
148 mxl = mx - rnd(4);
149 mxh = mx + rnd(12) + 3;
152 mx = rnd(60) + 3;
153 mxl = mx - rnd(2);
154 mxh = mx + rnd(2);

Completed in 30 milliseconds

1 2