/* Ick: fake up `ds->tilesize' for macro expansion purposes */
game_drawstate ads, *ds = &ads;
- ads.tilesize = tilesize;
+ game_set_size(dr, ds, NULL, tilesize);
/*
* Border.
for (y = 0; y <= h; y++)
for (x = 0; x <= w; x++) {
int b = barrier(state, x % w, y % h);
- fprintf(stderr, "%d,%d: %d\n", x, y, b);
if (x < w && (b & U))
draw_rect(dr, WINDOW_OFFSET + TILE_SIZE * x - TILE_SIZE/24,
WINDOW_OFFSET + TILE_SIZE * y - TILE_SIZE/24,