Symbol: MAXX
games/larn/create.c
118
for (j = 0; j < MAXX; j++)
games/larn/create.c
154
for (i = 1; i < MAXX - 1; i++)
games/larn/create.c
182
if (xx >= MAXX - 3) /* east */
games/larn/create.c
247
for (j = 0; j < MAXX; j++) {
games/larn/create.c
308
for (tx = 1 + rnd(10); tx < MAXX - 10; tx += 10)
games/larn/create.c
314
troom(lv, xsize, ysize, tx = tx + rnd(MAXX - 24), ty, rnd(3) + 6);
games/larn/create.c
43
playerx = rnd(MAXX - 2);
games/larn/create.c
499
x = rnd(MAXX - 2);
games/larn/create.c
508
if (x > MAXX - 2)
games/larn/create.c
511
x = MAXX - 2;
games/larn/create.c
530
x = rnd(MAXX - 2);
games/larn/create.c
554
for (j = 0; j < MAXX; j++)
games/larn/create.c
578
for (x = 0; x < MAXX; x++)
games/larn/create.c
73
for (j = 0; j < MAXX; j++)
games/larn/create.c
91
for (i = 0; i < MAXX; i++)
games/larn/data.c
109
short hitp[MAXX][MAXY]; /* monster hp on level */
games/larn/data.c
110
short iarg[MAXX][MAXY]; /* arg for the item array */
games/larn/data.c
111
char item[MAXX][MAXY]; /* objects in maze if any */
games/larn/data.c
112
char know[MAXX][MAXY]; /* 1 or 0 if here before */
games/larn/data.c
113
char mitem[MAXX][MAXY]; /* monster item array */
games/larn/data.c
114
char moved[MAXX][MAXY]; /* monster movement flags */
games/larn/data.c
115
char stealth[MAXX][MAXY]; /* 0=sleeping 1=awake monst */
games/larn/diag.c
139
for (i = 0; i < MAXX; i++)
games/larn/diag.c
142
if (cell[p * MAXX * MAXY + i * MAXY + j].item == l)
games/larn/diag.c
157
for (j = 0; j < MAXX; j++)
games/larn/diag.c
194
lwrite((char *)&cell[k * MAXX * MAXY], sizeof(struct cel) * MAXY * MAXX);
games/larn/diag.c
258
lrfill((char *)&cell[k * MAXX * MAXY], sizeof(struct cel) * MAXY * MAXX);
games/larn/display.c
234
int d_xmin = 0, d_xmax = MAXX, d_ymin = 0, d_ymax = MAXY;
games/larn/display.c
241
if (xmin == 0 && xmax == MAXX) {
games/larn/display.c
255
if (xmin <= 0 && xmax == MAXX) {
games/larn/display.c
272
char screen[MAXX][MAXY], d_flag; /* template for the screen */
games/larn/display.c
279
if (d_xmin == 0 && d_xmax == MAXX && d_ymin == 0 && d_ymax == MAXY) {
games/larn/display.c
356
d_xmin = 0, d_xmax = MAXX, d_ymin = 0, d_ymax = MAXY; /* for limited screen drawing */
games/larn/display.c
384
if (maxx > MAXX - 1)
games/larn/display.c
385
maxx = MAXX - 1;
games/larn/display.c
496
if (l < 0 || l >= MAXX || n < 0 || n >= MAXY) {
games/larn/display.c
509
for (l = 0; l < MAXX; l++)
games/larn/display.c
570
draws(0, MAXX, 0, number);
games/larn/global.c
227
if (++playerx >= MAXX - 1) {
games/larn/header.h
335
extern char item[MAXX][MAXY], iven[], know[MAXX][MAXY], larnlevels[], lastmonst[];
games/larn/header.h
337
extern char *lpnt, moved[MAXX][MAXY], mitem[MAXX][MAXY], monstlevel[];
games/larn/header.h
342
extern char screen[MAXX][MAXY], sex, *spelcode[], *speldescript[];
games/larn/header.h
344
extern char splev[], stealth[MAXX][MAXY], to_lower[], to_upper[], wizard;
games/larn/header.h
345
extern short diroffx[], diroffy[], hitflag, hit2flag, hit3flag, hitp[MAXX][MAXY];
games/larn/header.h
346
extern short iarg[MAXX][MAXY], ivenarg[], lasthx, lasthy, lastnum, lastpx, lastpy;
games/larn/main.c
110
cell = malloc(sizeof(struct cel) * (MAXLEVEL + MAXVLEVEL) * MAXX * MAXY);
games/larn/main.c
348
draws(0, MAXX, 0, (count > MAXY) ? MAXY : count);
games/larn/main.c
776
if (i >= MAXX)
games/larn/main.c
823
for (j = 0; j < MAXX; j++)
games/larn/main.c
837
for (i = MAXX - 1; i > MAXX - 1 - MAXPOTION; i--)
games/larn/main.c
838
if (strlen(potionname[i - MAXX + MAXPOTION]) > 2) { /* no null items */
games/larn/main.c
840
iarg[i][0] = i - MAXX + MAXPOTION;
games/larn/main.c
846
for (i = MAXY; i < MAXY + MAXX; i++) {
games/larn/main.c
850
for (i = MAXX + MAXY; i < MAXX + MAXY + MAXY; i++) {
games/larn/main.c
851
item[MAXX - 1][i - MAXX - MAXY] = i;
games/larn/main.c
852
iarg[MAXX - 1][i - MAXX - MAXY] = 0;
games/larn/monster.c
1046
if (*x >= MAXX) {
games/larn/monster.c
1047
*x = MAXX - 1;
games/larn/monster.c
1739
if (x >= MAXX - 1)
games/larn/monster.c
1740
x = MAXX - 2;
games/larn/monster.c
179
if ((y >= 0) && (y <= MAXY - 1) && (x >= 0) && (x <= MAXX - 1))
games/larn/monster.c
1848
for (j = max(1, x - 2); j < min(x + 3, MAXX - 1); j++)
games/larn/monster.c
1882
draws(0, MAXX, 0, MAXY);
games/larn/monster.c
413
xh = min(playerx + 1, MAXX - 2);
games/larn/monster.c
566
save = malloc(sizeof(struct isave) * MAXX * MAXY * 2);
games/larn/monster.c
568
for (i = 0; i < MAXX; i++) { /* save all items and monsters */
games/larn/monster.c
590
for (j = rnd(MAXY - 2), i = 1; i < MAXX - 1; i++)
games/larn/monster.c
596
for (trys = 100, i = j = 1; --trys > 0 && item[i][j]; i = rnd(MAXX - 1), j = rnd(MAXY - 1))
games/larn/monster.c
604
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
613
draws(0, MAXX, 0, MAXY);
games/larn/monster.c
793
if ((x > MAXX - 1) || (y > MAXY - 1) || (x < 0) || (y < 0)) {
games/larn/monster.c
834
if ((x < MAXX - 1) && (y < MAXY - 1) && (x) && (y)) {
games/larn/movem.c
146
if (xl >= MAXX)
games/larn/movem.c
147
xl = MAXX - 1;
games/larn/movem.c
64
if (tmp4 > MAXX)
games/larn/movem.c
65
tmp4 = MAXX;
games/larn/movem.c
73
if (tmp4 > MAXX - 1)
games/larn/movem.c
74
tmp4 = MAXX - 1;
games/larn/object.c
1011
for (j = 0; j < MAXX; j++)
games/larn/object.c
1014
draws(0, MAXX, 0, MAXY);
games/larn/object.c
1099
draws(0, MAXX, 0, MAXY);
games/larn/object.c
305
draws(0, MAXX, 0, MAXY);
games/larn/object.c
339
for (j = 0; j < MAXX; j++) /* put player near volcano shaft */
games/larn/object.c
343
j = MAXX;
games/larn/object.c
347
draws(0, MAXX, 0, MAXY);
games/larn/object.c
380
for (j = 0; j < MAXX; j++) /* put player near volcano shaft */
games/larn/object.c
384
j = MAXX;
games/larn/object.c
388
draws(0, MAXX, 0, MAXY);
games/larn/object.c
444
draws(0, MAXX, 0, MAXY);
games/larn/object.c
587
draws(0, MAXX, 0, MAXY);
games/larn/object.c
600
draws(0, MAXX, 0, MAXY);
games/larn/object.c
634
playerx = rnd(MAXX - 2);
games/larn/object.c
639
draws(0, MAXX, 0, MAXY);
games/larn/object.c
687
for (j = 0; j < MAXX; j++)
games/larn/object.c
699
for (j = 0; j < MAXX; j++) {
games/larn/object.c
758
for (j = 0; j < MAXX; j++)
games/larn/object.c
815
for (j = 0; j < MAXX; j++)
games/larn/object.c
818
draws(0, MAXX, 0, MAXY); /* potion of forgetfulness */
games/larn/object.c
940
xh = min(playerx + 25, MAXX);
games/larn/object.c
989
for (j = 0; j < MAXX; j++)
games/larn/savelev.c
16
pcel = &cell[level * MAXX * MAXY]; /* pointer to this level's cells */
games/larn/savelev.c
17
pecel = pcel + MAXX * MAXY; /* pointer to past end of this level's cells */
games/larn/savelev.c
42
pcel = &cell[level * MAXX * MAXY]; /* pointer to this level's cells */
games/larn/savelev.c
43
pecel = pcel + MAXX * MAXY; /* pointer to past end of this level's cells */