chiark / gitweb /
New infrastructure feature. Games are now permitted to be
[sgt-puzzles.git] / unfinished / slide.c
index d1496573490db388d05e46e88a308031a70422cb..af8f21055005e4821f306544e8e4d1b55bcba7db 100644 (file)
@@ -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,