X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/puzzles/blobdiff_plain/b443c3812325e91d84887ba4b873bccdae7d587e..863c39456be84101fc24b8323960d8b324657bb6:/sixteen.c diff --git a/sixteen.c b/sixteen.c index 1b0b4ea..cce11d9 100644 --- a/sixteen.c +++ b/sixteen.c @@ -358,7 +358,16 @@ void free_game(game_state *state) sfree(state); } -game_state *make_move(game_state *from, int x, int y, int button) +game_ui *new_ui(game_state *state) +{ + return NULL; +} + +void free_ui(game_ui *ui) +{ +} + +game_state *make_move(game_state *from, game_ui *ui, int x, int y, int button) { int cx, cy; int dx, dy, tx, ty, n; @@ -534,7 +543,8 @@ static void draw_arrow(frontend *fe, int x, int y, int xdx, int xdy) } void game_redraw(frontend *fe, game_drawstate *ds, game_state *oldstate, - game_state *state, float animtime, float flashtime) + game_state *state, game_ui *ui, + float animtime, float flashtime) { int i, bgcolour;