X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/puzzles/blobdiff_plain/0d336b111d9732dcd2f3f614f267f40a176e4320..3199a01b45fe16e540800fb73f69b4188d6e70ff:/map.c diff --git a/map.c b/map.c index b06e664..5943683 100644 --- a/map.c +++ b/map.c @@ -1868,7 +1868,7 @@ static game_state *new_game(midend *me, game_params *params, char *desc) * outlines by the judicious use of diagonally divided squares. */ { - random_state *rs = random_init(desc, strlen(desc)); + random_state *rs = random_new(desc, strlen(desc)); int *squares = snewn(wh, int); int done_something; @@ -2956,6 +2956,7 @@ static void game_print(drawing *dr, game_state *state, int tilesize) /* Ick: fake up `ds->tilesize' for macro expansion purposes */ struct { int tilesize; } ads, *ds = &ads; + /* We can't call game_set_size() here because we don't want a blitter */ ads.tilesize = tilesize; ink = print_mono_colour(dr, 0); @@ -3122,7 +3123,7 @@ const struct game thegame = { TRUE, TRUE, game_print_size, game_print, game_wants_statusbar, FALSE, game_timing_state, - 0, /* mouse_priorities */ + 0, /* flags */ }; #ifdef STANDALONE_SOLVER