chiark / gitweb /
New infrastructure feature. Games are now permitted to be
[sgt-puzzles.git] / samegame.c
index f66e8898191224d7aac14527582c38bdb96865dd..8976ad44b50b8d84b0672849c81bf84a7f5a9b5b 100644 (file)
@@ -1022,6 +1022,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)
 {
     char *ret, *p;
@@ -1641,7 +1646,7 @@ const struct game thegame = {
     dup_game,
     free_game,
     FALSE, solve_game,
-    TRUE, game_text_format,
+    TRUE, game_can_format_as_text_now, game_text_format,
     new_ui,
     free_ui,
     encode_ui,