X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/puzzles/blobdiff_plain/f278dcf496976e0e8f29feb6d5370cc48d37be0f..05d6901af70c3501eaf7f97a9789a047670877ba:/unfinished/pearl.c diff --git a/unfinished/pearl.c b/unfinished/pearl.c index 0ef6247..41ab998 100644 --- a/unfinished/pearl.c +++ b/unfinished/pearl.c @@ -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,