chiark / gitweb /
New infrastructure feature. Games are now permitted to be
[sgt-puzzles.git] / unfinished / separate.c
index d6542a1ff8d1159f70e1062a9d260643d4262f76..2df4a5b86407b2709305628f74b95a4ba93f5f4f 100644 (file)
@@ -680,6 +680,11 @@ static char *solve_game(game_state *state, game_state *currstate,
     return NULL;
 }
 
+static int game_can_format_as_text_now(game_params *params)
+{
+    return TRUE;
+}
+
 static char *game_text_format(game_state *state)
 {
     return NULL;
@@ -823,7 +828,7 @@ const struct game thegame = {
     dup_game,
     free_game,
     FALSE, solve_game,
-    FALSE, game_text_format,
+    FALSE, game_can_format_as_text_now, game_text_format,
     new_ui,
     free_ui,
     encode_ui,