X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/puzzles/blobdiff_plain/329b3f066a1865dbe97f9ae920389a2beafa134d..8b738d6161f551dcb4778eecada784e9c1d2d3b1:/pattern.c diff --git a/pattern.c b/pattern.c index cbedbf6..6dda1f4 100644 --- a/pattern.c +++ b/pattern.c @@ -648,6 +648,11 @@ static void free_game(game_state *state) sfree(state); } +static char *game_text_format(game_state *state) +{ + return NULL; +} + struct game_ui { int dragging; int drag_start_x; @@ -1015,21 +1020,21 @@ static int game_wants_statusbar(void) #endif const struct game thegame = { - "Pattern", "games.pattern", TRUE, + "Pattern", "games.pattern", default_params, game_fetch_preset, decode_params, encode_params, free_params, dup_params, - game_configure, - custom_params, + TRUE, game_configure, custom_params, validate_params, new_game_seed, validate_seed, new_game, dup_game, free_game, + FALSE, game_text_format, new_ui, free_ui, make_move,