X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/puzzles/blobdiff_plain/ac9f41c4c8ccbf9364a5d351e4cb134812a9926b..fa3abef5abe95dd9668a87b1cc57a724dcbf6354:/flip.c?ds=sidebyside diff --git a/flip.c b/flip.c index a8fd471..10c4825 100644 --- a/flip.c +++ b/flip.c @@ -853,6 +853,11 @@ static char *solve_game(game_state *state, game_state *currstate, return ret; } +static int game_can_format_as_text_now(game_params *params) +{ + return TRUE; +} + static char *game_text_format(game_state *state) { return NULL; @@ -1266,7 +1271,7 @@ static void game_print(drawing *dr, game_state *state, int tilesize) #endif const struct game thegame = { - "Flip", "games.flip", + "Flip", "games.flip", "flip", default_params, game_fetch_preset, decode_params, @@ -1281,7 +1286,7 @@ const struct game thegame = { dup_game, free_game, TRUE, solve_game, - FALSE, game_text_format, + FALSE, game_can_format_as_text_now, game_text_format, new_ui, free_ui, encode_ui,