chiark / gitweb /
New infrastructure feature. Games are now permitted to be
[sgt-puzzles.git] / filling.c
index 48874b7195e5ef06eaadf7f7f36681e5242898c3..a42ffd30098807ddcedf33f909854a21cc113e50 100644 (file)
--- a/filling.c
+++ b/filling.c
@@ -275,6 +275,11 @@ static char *board_to_string(int *board, int w, int h) {
     return repr;
 }
 
+static int game_can_format_as_text_now(game_params *params)
+{
+    return TRUE;
+}
+
 static char *game_text_format(game_state *state)
 {
     const int w = state->shared->params.w;
@@ -1650,7 +1655,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,