Searched refs:m_at (Results 1 - 25 of 82) sorted by relevance

1234

/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/src/
H A Dmail.c291 if (m_at(fx, fy) == md) {
323 if ((mon = m_at(fx,fy)) != 0) /* save monster at this position */
348 if ((mon = m_at(fx, fy)) != 0) {
H A Dlock.c364 if ((mtmp = m_at(cc.x, cc.y)) && canseemon(mtmp)
520 if ((mtmp = m_at(cc.x,cc.y)) &&
588 register struct monst *mtmp = m_at(x, y);
631 if ((mtmp = m_at(x,y)) &&
835 (void) mb_trapped(m_at(x,y));
H A Dexplode.c132 mtmp = m_at(i+x-1, j+y-1);
238 mtmp = m_at(i+x-1, j+y-1);
504 } else if ((mtmp = m_at(bhitpos.x, bhitpos.y)) != 0) {
H A Ddetect.c92 ((mtmp = m_at(x,y)) != 0 &&
104 if ((mtmp = m_at(x,y)) != 0) {
117 if ((mtmp = m_at(x,y)) != 0) {
124 if ((mtmp = m_at(x,y)) != 0) {
1026 } else if ((mtmp = m_at(zx, zy)) != 0) {
1208 if((mtmp = m_at(x, y)) && !aflag) {
H A Dhack.c40 if((mtmp = m_at(x,y)) && enexto(&cc, x, y, mtmp->data))
49 mtmp = m_at(x,y);
100 mtmp = m_at(rx, ry);
1024 mtmp = m_at(x,y);
1272 mtmp = m_at(x, y);
1528 if((mtmp = m_at(u.ux, u.uy)) && !u.uswallow) {
1939 if((mtmp = m_at(x,y)) &&
2052 if((mtmp = m_at(x,y)) &&
H A Dmusic.c234 if ((mtmp = m_at(x,y)) != 0) {
282 mtmp = m_at(x,y);
H A Dsteed.c69 !(mtmp = m_at(u.ux+u.dx, u.uy+u.dy)) ||
182 return (mount_steed(m_at(u.ux+u.dx, u.uy+u.dy), forcemount));
H A Dmplayer.c124 (void) rloc(m_at(x, y), FALSE); /* insurance */
H A Dvault.c43 if ((mtmp = m_at(fcx,fcy)) != 0) {
389 if ((mon = m_at(x, y)) != 0 && mon != grd) {
594 (void) rloc(m_at(m, n), FALSE);
H A Ddisplay.c501 if (glyph_is_invisible(levl[x][y].glyph) && m_at(x,y)) return;
617 if ((x != u.ux || y != u.uy) && (mon = m_at(x,y)) && sensemon(mon))
683 mon = m_at(x,y);
719 else if ((mon = m_at(x,y))
728 else if ((mon = m_at(x,y)) && mon_warning(mon) &&
H A Dallmain.c526 if(MON_AT(u.ux, u.uy)) mnexto(m_at(u.ux, u.uy));
H A Dshknam.c388 if(MON_AT(sx, sy)) (void) rloc(m_at(sx, sy), FALSE); /* insurance */
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/src/
H A Dmail.c291 if (m_at(fx, fy) == md) {
323 if ((mon = m_at(fx,fy)) != 0) /* save monster at this position */
348 if ((mon = m_at(fx, fy)) != 0) {
H A Dlock.c364 if ((mtmp = m_at(cc.x, cc.y)) && canseemon(mtmp)
520 if ((mtmp = m_at(cc.x,cc.y)) &&
588 register struct monst *mtmp = m_at(x, y);
631 if ((mtmp = m_at(x,y)) &&
835 (void) mb_trapped(m_at(x,y));
H A Dexplode.c132 mtmp = m_at(i+x-1, j+y-1);
238 mtmp = m_at(i+x-1, j+y-1);
504 } else if ((mtmp = m_at(bhitpos.x, bhitpos.y)) != 0) {
H A Ddetect.c92 ((mtmp = m_at(x,y)) != 0 &&
104 if ((mtmp = m_at(x,y)) != 0) {
117 if ((mtmp = m_at(x,y)) != 0) {
124 if ((mtmp = m_at(x,y)) != 0) {
1026 } else if ((mtmp = m_at(zx, zy)) != 0) {
1208 if((mtmp = m_at(x, y)) && !aflag) {
H A Dhack.c40 if((mtmp = m_at(x,y)) && enexto(&cc, x, y, mtmp->data))
49 mtmp = m_at(x,y);
100 mtmp = m_at(rx, ry);
1024 mtmp = m_at(x,y);
1272 mtmp = m_at(x, y);
1528 if((mtmp = m_at(u.ux, u.uy)) && !u.uswallow) {
1939 if((mtmp = m_at(x,y)) &&
2052 if((mtmp = m_at(x,y)) &&
H A Dmusic.c234 if ((mtmp = m_at(x,y)) != 0) {
282 mtmp = m_at(x,y);
H A Dsteed.c69 !(mtmp = m_at(u.ux+u.dx, u.uy+u.dy)) ||
182 return (mount_steed(m_at(u.ux+u.dx, u.uy+u.dy), forcemount));
H A Dmplayer.c124 (void) rloc(m_at(x, y), FALSE); /* insurance */
H A Dvault.c43 if ((mtmp = m_at(fcx,fcy)) != 0) {
389 if ((mon = m_at(x, y)) != 0 && mon != grd) {
594 (void) rloc(m_at(m, n), FALSE);
H A Ddisplay.c501 if (glyph_is_invisible(levl[x][y].glyph) && m_at(x,y)) return;
617 if ((x != u.ux || y != u.uy) && (mon = m_at(x,y)) && sensemon(mon))
683 mon = m_at(x,y);
719 else if ((mon = m_at(x,y))
728 else if ((mon = m_at(x,y)) && mon_warning(mon) &&
H A Dallmain.c526 if(MON_AT(u.ux, u.uy)) mnexto(m_at(u.ux, u.uy));
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/include/
H A Drm.h521 #define m_at(x,y) (MON_AT(x,y) ? level.monsters[x][y] : \ macro
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/include/
H A Drm.h521 #define m_at(x,y) (MON_AT(x,y) ? level.monsters[x][y] : \ macro

Completed in 219 milliseconds

1234