Add a new midend function to reset the tile size to the puzzle's

default (but still counting the <puzzle>_TILESIZE user preference
environment variables, where available).

[originally from svn r9820]
This commit is contained in:
Simon Tatham
2013-04-07 10:24:35 +00:00
parent ea25b606cb
commit c55e954854
3 changed files with 41 additions and 19 deletions

View File

@ -232,6 +232,7 @@ const game *midend_which_game(midend *me);
void midend_set_params(midend *me, game_params *params);
game_params *midend_get_params(midend *me);
void midend_size(midend *me, int *x, int *y, int user_size);
void midend_reset_tilesize(midend *me);
void midend_new_game(midend *me);
void midend_restart_game(midend *me);
void midend_stop_anim(midend *me);