X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/puzzles/blobdiff_plain/7ab28913e99672459fcd86ae5eb6121e3b409623..e1f3c70792cacbc9f081f56294b132d9ffbd71f0:/puzzles.h diff --git a/puzzles.h b/puzzles.h index 48b5b1a..c9cca05 100644 --- a/puzzles.h +++ b/puzzles.h @@ -499,8 +499,8 @@ struct game { void (*decode_ui)(game_ui *ui, char *encoding); void (*changed_state)(game_ui *ui, game_state *oldstate, game_state *newstate); - char *(*interpret_move)(game_state *state, game_ui *ui, game_drawstate *ds, - int x, int y, int button); + char *(*interpret_move)(game_state *state, game_ui *ui, + const game_drawstate *ds, int x, int y, int button); game_state *(*execute_move)(game_state *state, char *move); int preferred_tilesize; void (*compute_size)(game_params *params, int tilesize, int *x, int *y);