X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/puzzles/blobdiff_plain/3c9562a2f71995e2a6f6d6fee0bcead2bebfdebc..fa3abef5abe95dd9668a87b1cc57a724dcbf6354:/unfinished/sokoban.c diff --git a/unfinished/sokoban.c b/unfinished/sokoban.c index 2d76954..91f02a6 100644 --- a/unfinished/sokoban.c +++ b/unfinished/sokoban.c @@ -907,6 +907,11 @@ static char *solve_game(game_state *state, game_state *currstate, return NULL; } +static int game_can_format_as_text_now(game_params *params) +{ + return TRUE; +} + static char *game_text_format(game_state *state) { return NULL; @@ -1429,7 +1434,7 @@ const struct game thegame = { dup_game, free_game, FALSE, solve_game, - FALSE, game_text_format, + FALSE, game_can_format_as_text_now, game_text_format, new_ui, free_ui, encode_ui,