chiark / gitweb /
New infrastructure feature. Games are now permitted to be
[sgt-puzzles.git] / dominosa.c
index 0264675bc96e398d031ed90b58351553c30c8342..42a7a024e81db2d2106185c266bf526ffec7fd1e 100644 (file)
@@ -1171,6 +1171,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;
@@ -1755,7 +1760,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,