Searched refs:yy (Results 1 - 24 of 24) sorted by relevance

/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/src/
H A Dmklev.c254 register xchar tx, ty, xx, yy; local
275 yy = croom->ly-1;
276 finddpos(&cc, croom->lx, yy, croom->hx, yy);
289 yy = croom->hy+1;
291 finddpos(&cc, croom->lx, yy, croom->hx, yy);
295 yy = cc.y;
298 if(nxcor && levl[xx+dx][yy+dy].typ)
300 if (okdoor(xx,yy) || !nxco
468 int dy, xx, yy; local
[all...]
H A Dteleport.c92 * position to (xx,yy). Do so in successive square rings around (xx,yy).
97 enexto(cc, xx, yy, mdat)
99 register xchar xx, yy;
102 return enexto_core(cc, xx, yy, mdat, 0);
106 enexto_core(cc, xx, yy, mdat, entflags)
108 register xchar xx, yy;
129 * Walk around the border of the square with center (xx,yy) and
135 ymin = max(0, yy-range);
136 ymax = min(ROWNO-1, yy
887 register int xx, yy; local
[all...]
H A Dmuse.c367 int xx, yy; local
369 for(xx = x-1; xx <= x+1; xx++) for(yy = y-1; yy <= y+1; yy++)
370 if (isok(xx,yy))
371 if (xx != u.ux && yy != u.uy)
372 if (mtmp->data != &mons[PM_GRID_BUG] || xx == x || yy == y)
373 if ((xx==x && yy==y) || !level.monsters[xx][yy])
374 if ((t = t_at(xx,yy)) !
399 int xx, yy; local
1573 int xx, yy; local
[all...]
H A Dmkmap.c253 int x, y, xx, yy; local
258 for(yy = y - 1; yy <= y+1; yy++)
260 if(isok(xx,yy) && levl[xx][yy].typ == ROOM) {
261 if(yy != y) levl[x][y].typ = HWALL;
H A Dsp_lev.c190 register int xx, yy; local
193 for (yy = 0; yy < ysize; yy++) {
195 *y = ystart + yy;
1224 int xx,yy; local
1230 yy = croom->hy + 1;
1235 yy = croom->ly - 1;
1240 yy = croom->ly;
1245 yy
1277 register int tx, ty, xx, yy; local
[all...]
H A Dmonmove.c792 register int xx, yy; variable
814 yy = otmp->oy;
820 if(xx >= lmx && xx <= oomx && yy >= lmy && yy <= oomy) {
823 if ((mtoo = m_at(xx,yy)) != 0 &&
845 !sobj_at(BOULDER,xx,yy)) &&
849 !(onscary(xx, yy, mtmp))) {
850 minr = distmin(omx,omy,xx,yy);
H A Ddokick.c712 int xx, yy; local
715 yy = u.uy - u.dy;
720 if (isok(xx,yy) && !IS_ROCK(levl[xx][yy].typ) &&
721 !IS_DOOR(levl[xx][yy].typ) &&
722 (!Is_airlevel(&u.uz) || !OBJ_AT(xx,yy))) {
H A Dzap.c2290 int x, y, xx, yy, ptmp; local
2299 y = yy = u.uy; /* <xx,yy> is drawbridge (portcullis) position */
2317 if (is_db_wall(x,y) && find_drawbridge(&xx, &yy)) {
2318 open_drawbridge(xx, yy);
2337 find_drawbridge(&xx, &yy)) {
2339 close_drawbridge(xx, yy);
2341 destroy_drawbridge(xx, yy);
H A Dtrap.c3895 int yy = mon->my; local
3899 newsym(xx, yy);
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/src/
H A Dmklev.c254 register xchar tx, ty, xx, yy; local
275 yy = croom->ly-1;
276 finddpos(&cc, croom->lx, yy, croom->hx, yy);
289 yy = croom->hy+1;
291 finddpos(&cc, croom->lx, yy, croom->hx, yy);
295 yy = cc.y;
298 if(nxcor && levl[xx+dx][yy+dy].typ)
300 if (okdoor(xx,yy) || !nxco
468 int dy, xx, yy; local
[all...]
H A Dteleport.c92 * position to (xx,yy). Do so in successive square rings around (xx,yy).
97 enexto(cc, xx, yy, mdat)
99 register xchar xx, yy;
102 return enexto_core(cc, xx, yy, mdat, 0);
106 enexto_core(cc, xx, yy, mdat, entflags)
108 register xchar xx, yy;
129 * Walk around the border of the square with center (xx,yy) and
135 ymin = max(0, yy-range);
136 ymax = min(ROWNO-1, yy
887 register int xx, yy; local
[all...]
H A Dmuse.c367 int xx, yy; local
369 for(xx = x-1; xx <= x+1; xx++) for(yy = y-1; yy <= y+1; yy++)
370 if (isok(xx,yy))
371 if (xx != u.ux && yy != u.uy)
372 if (mtmp->data != &mons[PM_GRID_BUG] || xx == x || yy == y)
373 if ((xx==x && yy==y) || !level.monsters[xx][yy])
374 if ((t = t_at(xx,yy)) !
399 int xx, yy; local
1573 int xx, yy; local
[all...]
H A Dmkmap.c253 int x, y, xx, yy; local
258 for(yy = y - 1; yy <= y+1; yy++)
260 if(isok(xx,yy) && levl[xx][yy].typ == ROOM) {
261 if(yy != y) levl[x][y].typ = HWALL;
H A Dsp_lev.c190 register int xx, yy; local
193 for (yy = 0; yy < ysize; yy++) {
195 *y = ystart + yy;
1224 int xx,yy; local
1230 yy = croom->hy + 1;
1235 yy = croom->ly - 1;
1240 yy = croom->ly;
1245 yy
1277 register int tx, ty, xx, yy; local
[all...]
H A Dmonmove.c792 register int xx, yy; variable
814 yy = otmp->oy;
820 if(xx >= lmx && xx <= oomx && yy >= lmy && yy <= oomy) {
823 if ((mtoo = m_at(xx,yy)) != 0 &&
845 !sobj_at(BOULDER,xx,yy)) &&
849 !(onscary(xx, yy, mtmp))) {
850 minr = distmin(omx,omy,xx,yy);
H A Ddokick.c712 int xx, yy; local
715 yy = u.uy - u.dy;
720 if (isok(xx,yy) && !IS_ROCK(levl[xx][yy].typ) &&
721 !IS_DOOR(levl[xx][yy].typ) &&
722 (!Is_airlevel(&u.uz) || !OBJ_AT(xx,yy))) {
H A Dzap.c2290 int x, y, xx, yy, ptmp; local
2299 y = yy = u.uy; /* <xx,yy> is drawbridge (portcullis) position */
2317 if (is_db_wall(x,y) && find_drawbridge(&xx, &yy)) {
2318 open_drawbridge(xx, yy);
2337 find_drawbridge(&xx, &yy)) {
2339 close_drawbridge(xx, yy);
2341 destroy_drawbridge(xx, yy);
H A Dtrap.c3895 int yy = mon->my; local
3899 newsym(xx, yy);
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/include/
H A Dhack.h288 #define distu(xx,yy) dist2((int)(xx),(int)(yy),(int)u.ux,(int)u.uy)
289 #define onlineu(xx,yy) online2((int)(xx),(int)(yy),(int)u.ux,(int)u.uy)
H A Ddisplay.h168 #define covers_objects(xx,yy) \
169 ((is_pool(xx,yy) && !Underwater) || (levl[xx][yy].typ == LAVAPOOL))
171 #define covers_traps(xx,yy) covers_objects(xx,yy)
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/include/
H A Dhack.h288 #define distu(xx,yy) dist2((int)(xx),(int)(yy),(int)u.ux,(int)u.uy)
289 #define onlineu(xx,yy) online2((int)(xx),(int)(yy),(int)u.ux,(int)u.uy)
H A Ddisplay.h168 #define covers_objects(xx,yy) \
169 ((is_pool(xx,yy) && !Underwater) || (levl[xx][yy].typ == LAVAPOOL))
171 #define covers_traps(xx,yy) covers_objects(xx,yy)
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/sys/unix/
H A DMakefile.utl114 LEXYYC = lex.yy.c
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/sys/unix/
H A DMakefile.utl114 LEXYYC = lex.yy.c

Completed in 276 milliseconds