chiark / gitweb /
New infrastructure feature. Games are now permitted to be
[sgt-puzzles.git] / pattern.c
index 740f434bbdb11d6e69002b9e48a30e209a120fc3..a1d2424b518d80a3a3de0b675318516ad479d274 100644 (file)
--- a/pattern.c
+++ b/pattern.c
@@ -728,6 +728,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;
@@ -1269,7 +1274,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,