X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/puzzles/blobdiff_plain/07dfb697bb30781c963b11eb00c4951bb5db6a7d..f467efadd6d03a2b7d3a7dfcd9ffa4a6eb144c5a:/nullgame.c diff --git a/nullgame.c b/nullgame.c index 3bcfe46..e2c4a74 100644 --- a/nullgame.c +++ b/nullgame.c @@ -122,8 +122,8 @@ static void free_game(game_state *state) sfree(state); } -static game_state *solve_game(game_state *state, game_aux_info *aux, - char **error) +static game_state *solve_game(game_state *state, game_state *currstate, + game_aux_info *aux, char **error) { return NULL; } @@ -147,6 +147,10 @@ static void game_changed_state(game_ui *ui, game_state *oldstate, { } +struct game_drawstate { + int FIXME; +}; + static game_state *make_move(game_state *from, game_ui *ui, game_drawstate *ds, int x, int y, int button) { @@ -157,11 +161,8 @@ static game_state *make_move(game_state *from, game_ui *ui, game_drawstate *ds, * Drawing routines. */ -struct game_drawstate { - int FIXME; -}; - -static void game_size(game_params *params, int *x, int *y) +static void game_size(game_params *params, game_drawstate *ds, + int *x, int *y, int expand) { *x = *y = 200; /* FIXME */ }