X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/puzzles/blobdiff_plain/bc578afebc301519e7ce2e905ae2e3ea0b28af58..e04a54c209291d1af398105a89f406c78b25c594:/fifteen.c diff --git a/fifteen.c b/fifteen.c index ccd1903..e74d10a 100644 --- a/fifteen.c +++ b/fifteen.c @@ -383,6 +383,11 @@ static char *solve_game(game_state *state, game_state *currstate, return dupstr("S"); } +static int game_can_format_as_text_now(game_params *params) +{ + return TRUE; +} + static char *game_text_format(game_state *state) { char *ret, *p, buf[80]; @@ -858,7 +863,7 @@ const struct game thegame = { dup_game, free_game, TRUE, solve_game, - TRUE, game_text_format, + TRUE, game_can_format_as_text_now, game_text_format, new_ui, free_ui, encode_ui,