Add an even more evil (!) game mode, in which it's not made
[sgt/puzzles] / unfinished / pearl.c
index 0ef6247..41ab998 100644 (file)
@@ -1236,6 +1236,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;
@@ -1364,7 +1369,7 @@ static void game_print(drawing *dr, game_state *state, int tilesize)
 #endif
 
 const struct game thegame = {
-    "Pearl", NULL,
+    "Pearl", NULL, NULL,
     default_params,
     game_fetch_preset,
     decode_params,
@@ -1379,7 +1384,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,