Lines Matching defs:xsize
319 int tx, ty, xsize, ysize;
323 xsize = rnd(6) + 3;
327 troom(lv, xsize, ysize, tx = tx + rnd(MAXX - 24), ty, rnd(3) + 6);
329 troom(lv, xsize, ysize, tx, ty, rnd(9));
339 troom(int lv, int xsize, int ysize, int tx, int ty, int glyph)
344 for (i = tx - 1; i <= tx + xsize; i++) /* clear out space for
348 for (i = tx; i < tx + xsize; i++) { /* now put in the walls */
353 for (i = tx + 1; i < tx + xsize - 1; i++) /* now clear out
359 item[i = tx + rund(xsize)][j = ty + (ysize - 1) * rund(2)] = OCLOSEDDOOR;
363 item[i = tx + (xsize - 1) * rund(2)][j = ty + rund(ysize)] = OCLOSEDDOOR;
372 for (playerx = tx + 1; playerx <= tx + xsize - 2; playerx += 2)
378 for (playerx = tx + 1; playerx <= tx + xsize - 2; playerx += 2)