X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/puzzles/blobdiff_plain/43093e371fc9661baaf5a6d51cb1a8810ecffc19..e94d848e651d6f60607753a29ff62d1fb7337198:/samegame.c diff --git a/samegame.c b/samegame.c index b9078eb..2331799 100644 --- a/samegame.c +++ b/samegame.c @@ -149,7 +149,11 @@ static game_params *default_params(void) static const struct game_params samegame_presets[] = { { 5, 5, 3, 2, TRUE }, { 10, 5, 3, 2, TRUE }, +#ifdef SLOW_SYSTEM + { 10, 10, 3, 2, TRUE }, +#else { 15, 10, 3, 2, TRUE }, +#endif { 15, 10, 4, 2, TRUE }, { 20, 15, 4, 2, TRUE } }; @@ -1428,6 +1432,7 @@ static game_drawstate *game_new_drawstate(game_state *state) ds->started = 0; ds->tileinner = ds->tilegap = 0; /* not decided yet */ ds->tiles = snewn(state->n, int); + ds->bgcolour = -1; for (i = 0; i < state->n; i++) ds->tiles[i] = -1; @@ -1560,7 +1565,6 @@ static void game_redraw(frontend *fe, game_drawstate *ds, game_state *oldstate, * no animation); when we do we might well want to be looking * at the tile colours from oldstate, not state. */ if ((oldstate && COL(oldstate,x,y) != col) || - (flashtime > 0.0) || (ds->bgcolour != bgcolour) || (tile != ds->tiles[i])) { tile_redraw(fe, ds, x, y, dright, dbelow, tile, bgcolour);