aboutsummaryrefslogtreecommitdiff
path: root/map.c
diff options
context:
space:
mode:
Diffstat (limited to 'map.c')
-rw-r--r--map.c19
1 files changed, 2 insertions, 17 deletions
diff --git a/map.c b/map.c
index 553a683..0d90f31 100644
--- a/map.c
+++ b/map.c
@@ -2261,16 +2261,6 @@ static char *solve_game(const game_state *state, const game_state *currstate,
return dupstr(aux);
}
-static bool game_can_format_as_text_now(const game_params *params)
-{
- return true;
-}
-
-static char *game_text_format(const game_state *state)
-{
- return NULL;
-}
-
struct game_ui {
/*
* drag_colour:
@@ -3097,11 +3087,6 @@ static int game_status(const game_state *state)
return state->completed ? +1 : 0;
}
-static bool game_timing_state(const game_state *state, game_ui *ui)
-{
- return true;
-}
-
static void game_print_size(const game_params *params, float *x, float *y)
{
int pw, ph;
@@ -3275,7 +3260,7 @@ const struct game thegame = {
dup_game,
free_game,
true, solve_game,
- false, game_can_format_as_text_now, game_text_format,
+ false, NULL, NULL, /* can_format_as_text_now, text_format */
new_ui,
free_ui,
encode_ui,
@@ -3296,7 +3281,7 @@ const struct game thegame = {
game_status,
true, true, game_print_size, game_print,
false, /* wants_statusbar */
- false, game_timing_state,
+ false, NULL, /* timing_state */
0, /* flags */
};