aboutsummaryrefslogtreecommitdiff
path: root/cube.c
diff options
context:
space:
mode:
Diffstat (limited to 'cube.c')
-rw-r--r--cube.c37
1 files changed, 4 insertions, 33 deletions
diff --git a/cube.c b/cube.c
index 21df46d..1969bfb 100644
--- a/cube.c
+++ b/cube.c
@@ -1023,22 +1023,6 @@ static void free_game(game_state *state)
sfree(state);
}
-static char *solve_game(const game_state *state, const game_state *currstate,
- const char *aux, const char **error)
-{
- return NULL;
-}
-
-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;
-}
-
static game_ui *new_ui(const game_state *state)
{
return NULL;
@@ -1758,19 +1742,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 cube
#endif
@@ -1790,8 +1761,8 @@ const struct game thegame = {
new_game,
dup_game,
free_game,
- false, solve_game,
- false, game_can_format_as_text_now, game_text_format,
+ false, NULL, /* solve */
+ false, NULL, NULL, /* can_format_as_text_now, text_format */
new_ui,
free_ui,
encode_ui,
@@ -1810,8 +1781,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 */
true, /* wants_statusbar */
- false, game_timing_state,
+ false, NULL, /* timing_state */
0, /* flags */
};