COLNO
extern struct rm levl[COLNO][ROWNO];
struct rm levl[COLNO][ROWNO]; /* level map */
if ((mtmp = bchit(u.dx, u.dy, COLNO, '!')) != NULL) {
for (x = 0; x < COLNO; x++)
multi = COLNO;
return (x >= 1 && x <= COLNO - 1 && y >= 0 && y <= ROWNO - 1);
u.ux = rnd(COLNO - 1);
if (1 <= cx + xdir[i] && cx + xdir[i] <= COLNO)
while (bp < linebuf + COLNO - 9)
hppos = COLNO - 7 - strlen(hpbuf);
if (so >= COLNO)
so = COLNO - 1;
#define FAR (COLNO+2) /* position outside screen */
if (multi < COLNO && !--multi)
!(x < 1 || x > COLNO - 2 || y < 1 || y > ROWNO - 2 ||
tx = rn1(COLNO - 3, 2);
for (x = 0; x < COLNO; x++)
rsp->rhx = COLNO - 1;
if (hix > COLNO - XLIM - 1)
hix = COLNO - XLIM - 1;
if (xx == COLNO - 1 || xx == 0 || yy == 0 || yy == ROWNO - 1)
for (x = 2; x < COLNO - 1; x++)
if (x < 3 || y < 3 || x > COLNO - 3 || y > ROWNO - 3 || levl[x][y].typ != 0)
mm.x = 3 + 2 * rn2(COLNO / 2 - 2);
for (x = 2; x < COLNO - 1; x++)
zx = 2 * (COLNO / 4) - 1;
if (x < 0 || x > COLNO - 1 || y < 0 || y > ROWNO - 1) {
static coord tc[COLNO]; /* but watch reflecting beams! */
if (++cnt >= COLNO)
ROWNO + 2, COLNO);
if (x < 0 || x > COLNO - 1 || y < 0 || y > ROWNO - 1) {
for (x = 0; x < COLNO; x++)
scrlx = COLNO;
for (x = xmin; x < COLNO; x++) {
scrlx = COLNO;
if (strlen(newbot) >= COLNO) {
for (i = 1; i < COLNO; i++) {
for (zx = 0; zx < COLNO; zx++) {
for (zx = 0; zx < COLNO; zx++)
char line[COLNO];
char line[COLNO];
while (curx < COLNO) {
if (CO < COLNO || LI < ROWNO + 2)
nux = rnd(COLNO - 1);
if (bufp - obufp < BUFSZ - 1 && bufp - obufp < COLNO)
static char inputline[COLNO];
#define FCSIZ (ROWNO+COLNO)
for (dd = 1; (dd < ROWNO || dd < COLNO); dd++) {
if (x < 0 || x > COLNO - 1)
if (zx < 3 || zx > COLNO - 3 ||
tx = rn1(COLNO - 3, 2);