chiark / gitweb /
New infrastructure feature. Games are now permitted to be
[sgt-puzzles.git] / inertia.c
index dd80ebef1c04961fa25746941332fe22632255a5..965f5338a9d35f9164373de15ec1a80f3df0a6cd 100644 (file)
--- a/inertia.c
+++ b/inertia.c
@@ -1445,6 +1445,11 @@ static char *solve_game(game_state *state, game_state *currstate,
     return soln;
 }
 
+static int game_can_format_as_text_now(game_params *params)
+{
+    return TRUE;
+}
+
 static char *game_text_format(game_state *state)
 {
     return NULL;
@@ -2184,7 +2189,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,