Lines Matching refs:maxh
308 int maxh)
313 if (maxw <= TILEWIDTH * 2 || maxh <= TILEWIDTH * 2)
315 printf("error: maxw <= TILEWIDTH * 2 || maxh <= TILEWIDTH * 2\n");
325 int sy = rand () % (maxh - TILEWIDTH * 2);
327 int dy = rand () % (maxh - TILEWIDTH * 2);
343 int maxh)
348 if (maxw <= TINYWIDTH * 2 || maxh <= TINYWIDTH * 2)
350 printf("error: maxw <= TINYWIDTH * 2 || maxh <= TINYWIDTH * 2\n");
360 int sy = rand () % (maxh - TINYWIDTH * 2);
362 int dy = rand () % (maxh - TINYWIDTH * 2);