aboutsummaryrefslogtreecommitdiff
path: root/untangle.c
diff options
context:
space:
mode:
Diffstat (limited to 'untangle.c')
-rw-r--r--untangle.c29
1 files changed, 3 insertions, 26 deletions
diff --git a/untangle.c b/untangle.c
index e849b5b..1dc4fb3 100644
--- a/untangle.c
+++ b/untangle.c
@@ -1028,16 +1028,6 @@ static char *solve_game(const game_state *state, const game_state *currstate,
return ret;
}
-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 {
int dragpoint; /* point being dragged; -1 if none */
point newpoint; /* where it's been dragged to so far */
@@ -1446,19 +1436,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)
-{
-}
-
-static void game_print(drawing *dr, const game_state *state, int tilesize)
-{
-}
-
#ifdef COMBINED
#define thegame untangle
#endif
@@ -1479,7 +1456,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,
@@ -1498,8 +1475,8 @@ const struct game thegame = {
game_flash_length,
game_get_cursor_location,
game_status,
- false, false, game_print_size, game_print,
+ false, false, NULL, NULL, /* print_size, print */
false, /* wants_statusbar */
- false, game_timing_state,
+ false, NULL, /* timing_state */
SOLVE_ANIMATES, /* flags */
};