diff options
Diffstat (limited to 'unfinished')
| -rw-r--r-- | unfinished/pearl.c | 7 | ||||
| -rw-r--r-- | unfinished/separate.c | 7 | ||||
| -rw-r--r-- | unfinished/slide.c | 7 | ||||
| -rw-r--r-- | unfinished/sokoban.c | 7 |
4 files changed, 24 insertions, 4 deletions
diff --git a/unfinished/pearl.c b/unfinished/pearl.c index af25415..41ab998 100644 --- a/unfinished/pearl.c +++ b/unfinished/pearl.c @@ -1236,6 +1236,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; @@ -1379,7 +1384,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, diff --git a/unfinished/separate.c b/unfinished/separate.c index d6542a1..2df4a5b 100644 --- a/unfinished/separate.c +++ b/unfinished/separate.c @@ -680,6 +680,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; @@ -823,7 +828,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, diff --git a/unfinished/slide.c b/unfinished/slide.c index d149657..af8f210 100644 --- a/unfinished/slide.c +++ b/unfinished/slide.c @@ -1166,6 +1166,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 board_text_format(state->w, state->h, state->board, @@ -2317,7 +2322,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, 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, |