chiark / gitweb /
New infrastructure feature. Games are now permitted to be
[sgt-puzzles.git] / solo.c
diff --git a/solo.c b/solo.c
index 8ec0296fb34a773cbeb1feeb5ce1734ef38d47d2..cbf00c516552b8af551bb30744377fc73c77134a 100644 (file)
--- a/solo.c
+++ b/solo.c
@@ -3162,6 +3162,11 @@ static char *grid_text_format(int cr, struct block_structure *blocks,
     return ret;
 }
 
+static int game_can_format_as_text_now(game_params *params)
+{
+    return TRUE;
+}
+
 static char *game_text_format(game_state *state)
 {
     return grid_text_format(state->cr, state->blocks, state->xtype,
@@ -3935,7 +3940,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,