HomeSort by: relevance | last modified time | path
    Searched refs:COLNO (Results 1 - 22 of 22) sorted by relevancy

  /src/games/hack/
config.h 153 /* size of terminal screen is (at least) (ROWNO+2) by COLNO */
154 #define COLNO 80
def.rm.h 114 extern struct rm levl[COLNO][ROWNO];
hack.rumors.c 99 char line[COLNO];
111 char line[COLNO];
hack.mkmaze.c 88 for (x = 2; x < COLNO - 1; x++)
94 zx = 2 * (COLNO / 4) - 1;
122 for (x = 2; x < COLNO - 1; x++)
204 if (x < 3 || y < 3 || x > COLNO - 3 || y > ROWNO - 3 || levl[x][y].typ != 0)
214 mm.x = 3 + 2 * rn2(COLNO / 2 - 2);
hack.Decl.c 77 struct rm levl[COLNO][ROWNO]; /* level map */
hack.pri.c 130 if (x < 0 || x > COLNO - 1 || y < 0 || y > ROWNO - 1) {
195 static coord tc[COLNO]; /* but watch reflecting beams! */
224 if (++cnt >= COLNO)
234 ROWNO + 2, COLNO);
242 if (x < 0 || x > COLNO - 1 || y < 0 || y > ROWNO - 1) {
305 for (x = 0; x < COLNO; x++)
311 scrlx = COLNO;
341 for (x = xmin; x < COLNO; x++) {
698 scrlx = COLNO;
702 /* 100 suffices for bot(); no relation with COLNO */
    [all...]
hack.terminfo.c 89 if (CO < COLNO || LI < ROWNO + 2)
227 while (curx < COLNO) {
hack.tty.c 257 if (bufp - obufp < BUFSZ - 1 && bufp - obufp < COLNO)
316 static char inputline[COLNO];
hack.vault.c 102 #define FCSIZ (ROWNO+COLNO)
187 for (dd = 1; (dd < ROWNO || dd < COLNO); dd++) {
194 if (x < 0 || x > COLNO - 1)
hack.bones.c 162 for (x = 0; x < COLNO; x++)
hack.cmd.c 178 multi = COLNO;
379 return (x >= 1 && x <= COLNO - 1 && y >= 0 && y <= ROWNO - 1);
hack.makemon.c 231 !(x < 1 || x > COLNO - 2 || y < 1 || y > ROWNO - 2 ||
249 tx = rn1(COLNO - 3, 2);
hack.end.c 498 while (bp < linebuf + COLNO - 9)
593 hppos = COLNO - 7 - strlen(hpbuf);
607 if (so >= COLNO)
608 so = COLNO - 1;
hack.h 184 #define FAR (COLNO+2) /* position outside screen */
213 extern int CO, LI; /* usually COLNO and ROWNO+2 */
hack.mklev.c 126 for (x = 0; x < COLNO; x++)
241 rsp->rhx = COLNO - 1;
472 if (hix > COLNO - XLIM - 1)
473 hix = COLNO - XLIM - 1;
633 if (xx == COLNO - 1 || xx == 0 || yy == 0 || yy == ROWNO - 1)
hack.read.c 425 for (zx = 0; zx < COLNO; zx++) {
458 for (zx = 0; zx < COLNO; zx++)
hack.do_name.c 90 if (1 <= cx + xdir[i] && cx + xdir[i] <= COLNO)
hack.zap.c 310 if (zx < 3 || zx > COLNO - 3 ||
714 tx = rn1(COLNO - 3, 2);
hack.main.c 463 if (multi < COLNO && !--multi)
hack.trap.c 384 nux = rnd(COLNO - 1);
hack.apply.c 155 if ((mtmp = bchit(u.dx, u.dy, COLNO, '!')) != NULL) {
hack.do.c 286 u.ux = rnd(COLNO - 1);

Completed in 52 milliseconds