Symbol: MAXY
games/larn/create.c
104
for (j = 0; j < MAXY; j++)
games/larn/create.c
130
for (i = 0; i < MAXY; i++)
games/larn/create.c
137
item[33][MAXY - 1] = 0; /* exit from dungeon */
games/larn/create.c
166
my = rnd(MAXY - 2);
games/larn/create.c
213
if (yy >= MAXY - 3)
games/larn/create.c
258
for (i = 0; i < MAXY; i++) {
games/larn/create.c
325
ty = rnd(MAXY - 9) + 1; /* upper left corner of room */
games/larn/create.c
525
y = rnd(MAXY - 2);
games/larn/create.c
53
playery = rnd(MAXY - 2);
games/larn/create.c
538
if (y > MAXY - 2)
games/larn/create.c
541
y = MAXY - 2;
games/larn/create.c
557
y = rnd(MAXY - 2);
games/larn/create.c
578
for (i = 0; i < MAXY; i++)
games/larn/create.c
602
for (y = 0; y < MAXY; y++)
games/larn/create.c
90
for (i = 0; i < MAXY; i++)
games/larn/data.c
120
short hitp[MAXX][MAXY]; /* monster hp on level */
games/larn/data.c
121
short iarg[MAXX][MAXY]; /* arg for the item array */
games/larn/data.c
122
u_char item[MAXX][MAXY]; /* objects in maze if any */
games/larn/data.c
123
u_char know[MAXX][MAXY]; /* 1 or 0 if here before */
games/larn/data.c
124
u_char mitem[MAXX][MAXY]; /* monster item array */
games/larn/data.c
125
u_char moved[MAXX][MAXY]; /* monster movement flags */
games/larn/data.c
126
u_char stealth[MAXX][MAXY]; /* 0=sleeping 1=awake monst */
games/larn/diag.c
145
for (j = 0; j < MAXY; j++)
games/larn/diag.c
147
if (cell[p * MAXX * MAXY + i * MAXY + j].item == l)
games/larn/diag.c
160
for (i = 0; i < MAXY; i++)
games/larn/diag.c
199
lwrite((char *) &cell[k * MAXX * MAXY], sizeof(struct cel) * MAXY * MAXX);
games/larn/diag.c
263
lrfill((char *) &cell[k * MAXX * MAXY], sizeof(struct cel) * MAXY * MAXX);
games/larn/display.c
244
static int d_xmin = 0, d_xmax = MAXX, d_ymin = 0, d_ymax = MAXY;
games/larn/display.c
282
u_char screen[MAXX][MAXY]; /* template for the screen */
games/larn/display.c
290
if (d_xmin == 0 && d_xmax == MAXX && d_ymin == 0 && d_ymax == MAXY) {
games/larn/display.c
367
d_xmin = 0, d_xmax = MAXX, d_ymin = 0, d_ymax = MAXY; /* for limited screen
games/larn/display.c
401
if (maxy > MAXY - 1)
games/larn/display.c
402
maxy = MAXY - 1;
games/larn/display.c
507
if (kk < 0 || kk >= MAXX || mm < 0 || mm >= MAXY) {
games/larn/display.c
517
if (kk == 33 && mm == MAXY - 1 && level == 1) {
games/larn/display.c
520
for (mm = 0; mm < MAXY; mm++)
games/larn/global.c
236
if (++playery >= MAXY - 1) {
games/larn/global.c
506
if (playery == MAXY - 1 && playerx == 33)
games/larn/header.h
341
extern u_char item[MAXX][MAXY], iven[], know[MAXX][MAXY];
games/larn/header.h
345
extern u_char *lpnt, moved[MAXX][MAXY], mitem[MAXX][MAXY], monstlevel[];
games/larn/header.h
355
extern u_char screen[MAXX][MAXY], sex;
games/larn/header.h
359
extern u_char splev[], stealth[MAXX][MAXY], wizard;
games/larn/header.h
360
extern short diroffx[], diroffy[], hitflag, hit2flag, hit3flag, hitp[MAXX][MAXY];
games/larn/header.h
361
extern short iarg[MAXX][MAXY], ivenarg[], lasthx, lasthy, lastnum, lastpx,
games/larn/main.c
129
cell = (struct cel *) malloc(sizeof(struct cel) * (MAXLEVEL + MAXVLEVEL) * MAXX * MAXY);
games/larn/main.c
388
draws(0, MAXX, 0, (count > MAXY) ? MAXY : count);
games/larn/main.c
815
if (j >= MAXY)
games/larn/main.c
867
for (i = 0; i < MAXY; i++)
games/larn/main.c
887
for (i = 1; i < MAXY; i++) {
games/larn/main.c
891
for (i = MAXY; i < MAXY + MAXX; i++) {
games/larn/main.c
892
item[i - MAXY][MAXY - 1] = i;
games/larn/main.c
893
iarg[i - MAXY][MAXY - 1] = 0;
games/larn/main.c
895
for (i = MAXX + MAXY; i < MAXX + MAXY + MAXY; i++) {
games/larn/main.c
896
item[MAXX - 1][i - MAXX - MAXY] = i;
games/larn/main.c
897
iarg[MAXX - 1][i - MAXX - MAXY] = 0;
games/larn/monster.c
1071
if (*y >= MAXY) {
games/larn/monster.c
1072
*y = MAXY - 1;
games/larn/monster.c
1769
if (y >= MAXY - 1)
games/larn/monster.c
1770
y = MAXY - 2;
games/larn/monster.c
1882
for (i = max(1, y - 2); i < min(y + 3, MAXY - 1); i++) {
games/larn/monster.c
1914
draws(0, MAXX, 0, MAXY);
games/larn/monster.c
192
if ((y >= 0) && (y <= MAXY - 1) && (x >= 0) && (x <= MAXX - 1))
games/larn/monster.c
200
(y != MAXY - 1))
games/larn/monster.c
427
yh = min(playery + 1, MAXY - 2);
games/larn/monster.c
581
save = (struct isave *) malloc(sizeof(struct isave) * MAXX * MAXY * 2);
games/larn/monster.c
582
for (j = 0; j < MAXY; j++)
games/larn/monster.c
605
item[33][MAXY - 1] = 0;
games/larn/monster.c
606
for (j = rnd(MAXY - 2), i = 1; i < MAXX - 1; i++)
games/larn/monster.c
612
for (trys = 100, i = j = 1; --trys > 0 && item[i][j]; i = rnd(MAXX - 1), j = rnd(MAXY - 1));
games/larn/monster.c
619
for (trys = 100, i = j = 1; --trys > 0 && (item[i][j] == OWALL || mitem[i][j]); i = rnd(MAXX - 1), j = rnd(MAXY - 1));
games/larn/monster.c
627
draws(0, MAXX, 0, MAXY);
games/larn/monster.c
812
if ((x > MAXX - 1) || (y > MAXY - 1) || (x < 0) || (y < 0)) {
games/larn/monster.c
853
if ((x < MAXX - 1) && (y < MAXY - 1) && (x) && (y)) {
games/larn/movem.c
156
if (yl >= MAXY)
games/larn/movem.c
157
yl = MAXY - 1;
games/larn/movem.c
66
if (tmp2 > MAXY)
games/larn/movem.c
67
tmp2 = MAXY;
games/larn/movem.c
76
if (tmp2 > MAXY - 1)
games/larn/movem.c
77
tmp2 = MAXY - 1;
games/larn/object.c
1011
for (i = 0; i < MAXY; i++)
games/larn/object.c
1033
for (i = 0; i < MAXY; i++)
games/larn/object.c
1037
draws(0, MAXX, 0, MAXY);
games/larn/object.c
1125
draws(0, MAXX, 0, MAXY);
games/larn/object.c
311
playery = MAXY - 2;
games/larn/object.c
312
item[33][MAXY - 1] = know[33][MAXY - 1] = mitem[33][MAXY - 1] = 0;
games/larn/object.c
313
draws(0, MAXX, 0, MAXY);
games/larn/object.c
346
for (i = 0; i < MAXY; i++)
games/larn/object.c
353
i = MAXY;
games/larn/object.c
356
draws(0, MAXX, 0, MAXY);
games/larn/object.c
388
for (i = 0; i < MAXY; i++)
games/larn/object.c
395
i = MAXY;
games/larn/object.c
398
draws(0, MAXX, 0, MAXY);
games/larn/object.c
454
draws(0, MAXX, 0, MAXY);
games/larn/object.c
599
draws(0, MAXX, 0, MAXY);
games/larn/object.c
612
draws(0, MAXX, 0, MAXY);
games/larn/object.c
649
playery = rnd(MAXY - 2);
games/larn/object.c
653
draws(0, MAXX, 0, MAXY);
games/larn/object.c
701
for (i = 0; i < MAXY; i++)
games/larn/object.c
713
for (i = 0; i < MAXY; i++)
games/larn/object.c
772
for (i = 0; i < MAXY; i++)
games/larn/object.c
828
for (i = 0; i < MAXY; i++)
games/larn/object.c
832
draws(0, MAXX, 0, MAXY); /* potion of forgetfulness */
games/larn/object.c
962
yh = min(playery + 7, MAXY);
games/larn/savelev.c
21
pcel = &cell[level * MAXX * MAXY]; /* pointer to this level's
games/larn/savelev.c
23
pecel = pcel + MAXX * MAXY; /* pointer to past end of this
games/larn/savelev.c
50
pcel = &cell[level * MAXX * MAXY]; /* pointer to this level's
games/larn/savelev.c
52
pecel = pcel + MAXX * MAXY; /* pointer to past end of this