X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/puzzles/blobdiff_plain/c380832d0b832bcfbd16e760ade393f9adab02b6..522ed78193ce3bb0e5b88f96ac7d2ec4c6c6e2a5:/nullgame.c diff --git a/nullgame.c b/nullgame.c index 7e27c4a..49173b6 100644 --- a/nullgame.c +++ b/nullgame.c @@ -84,7 +84,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) { return dupstr("FIXME"); } @@ -142,8 +142,8 @@ static void free_ui(game_ui *ui) { } -static game_state *make_move(game_state *from, game_ui *ui, int x, int y, - int button) +static game_state *make_move(game_state *from, game_ui *ui, game_drawstate *ds, + int x, int y, int button) { return NULL; } @@ -215,6 +215,11 @@ static int game_wants_statusbar(void) return FALSE; } +static int game_timing_state(game_state *state) +{ + return TRUE; +} + #ifdef COMBINED #define thegame nullgame #endif @@ -248,4 +253,6 @@ const struct game thegame = { game_anim_length, game_flash_length, game_wants_statusbar, + FALSE, game_timing_state, + 0, /* mouse_priorities */ };