chiark / gitweb /
New infrastructure feature. Games are now permitted to be
[sgt-puzzles.git] / untangle.c
index 18b4acaac9679613d71306e8150634398e36d10c..12e5c75f53cf90c7dfacc0241240fa85f93544ca 100644 (file)
@@ -1018,6 +1018,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;
@@ -1440,7 +1445,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,