chiark / gitweb /
New infrastructure feature. Games are now permitted to be
[sgt-puzzles.git] / twiddle.c
index 6b89d3af3eaf5ab9fa7d7260c1ef5f3838408cc2..c12872fa94ba83f297e76bc4c2ca6810a99c0b91 100644 (file)
--- a/twiddle.c
+++ b/twiddle.c
@@ -545,6 +545,11 @@ static char *solve_game(game_state *state, game_state *currstate,
     return dupstr("S");
 }
 
+static int game_can_format_as_text_now(game_params *params)
+{
+    return TRUE;
+}
+
 static char *game_text_format(game_state *state)
 {
     char *ret, *p, buf[80];
@@ -1196,7 +1201,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,