chiark / gitweb /
New infrastructure feature. Games are now permitted to be
[sgt-puzzles.git] / slant.c
diff --git a/slant.c b/slant.c
index fc472091eddcefb44a9d87196974b253a9dbd523..000d880dc3ae587d2bde20b6d14e66ec7fd50468 100644 (file)
--- a/slant.c
+++ b/slant.c
@@ -1615,6 +1615,11 @@ static char *solve_game(game_state *state, game_state *currstate,
     return move;
 }
 
+static int game_can_format_as_text_now(game_params *params)
+{
+    return TRUE;
+}
+
 static char *game_text_format(game_state *state)
 {
     int w = state->p.w, h = state->p.h, W = w+1, H = h+1;
@@ -2201,7 +2206,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,