X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/puzzles/blobdiff_plain/e3f21163e0737b17412f5bd8c184b26715c396fa..171fbdaa70df511fabad11a55abf98b57a6b03cb:/netslide.c diff --git a/netslide.c b/netslide.c index 5e98222..324946e 100644 --- a/netslide.c +++ b/netslide.c @@ -334,7 +334,7 @@ static char *validate_params(game_params *params) */ static char *new_game_desc(game_params *params, random_state *rs, - game_aux_info **aux) + game_aux_info **aux, int interactive) { tree234 *possibilities, *barriertree; int w, h, x, y, cx, cy, nbarriers; @@ -738,7 +738,7 @@ static char *validate_desc(game_params *params, char *desc) * Construct an initial game state, given a description and parameters. */ -static game_state *new_game(game_params *params, char *desc) +static game_state *new_game(midend_data *me, game_params *params, char *desc) { game_state *state; int w, h, x, y; @@ -1725,6 +1725,11 @@ static int game_wants_statusbar(void) return TRUE; } +static int game_timing_state(game_state *state) +{ + return FALSE; +} + #ifdef COMBINED #define thegame netslide #endif @@ -1758,4 +1763,5 @@ const struct game thegame = { game_anim_length, game_flash_length, game_wants_statusbar, + FALSE, game_timing_state, };