chiark / gitweb /
New infrastructure feature. Games are now permitted to be
[sgt-puzzles.git] / nullgame.c
index 4888a78a5edb74f0ee2d31d2576546d4b56d6373..118cefe43bc30d64637d36c882c681e4be4fe6a6 100644 (file)
@@ -123,6 +123,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)
 {
     return NULL;
@@ -266,7 +271,7 @@ const struct game thegame = {
     dup_game,
     free_game,
     FALSE, solve_game,
-    FALSE, game_text_format,
+    FALSE, game_can_format_as_text_now, game_text_format,
     new_ui,
     free_ui,
     encode_ui,