chiark / gitweb /
New infrastructure feature. Games are now permitted to be
[sgt-puzzles.git] / netslide.c
index 8f2da255773a293f6525ec0464ea68576759931a..f96086550844ca18dda9953de51fe507cf5b56b4 100644 (file)
@@ -895,6 +895,11 @@ static char *solve_game(game_state *state, game_state *currstate,
     return dupstr(aux);
 }
 
+static int game_can_format_as_text_now(game_params *params)
+{
+    return TRUE;
+}
+
 static char *game_text_format(game_state *state)
 {
     return NULL;
@@ -1795,7 +1800,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,