X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/puzzles/blobdiff_plain/dafd6cf6826f9bbd27ddd780fab48221d4706556..c3b4e35acb2407a987fbe595e1610bbd6936a9b8:/midend.c?ds=sidebyside diff --git a/midend.c b/midend.c index 75d51bb..1be8ca9 100644 --- a/midend.c +++ b/midend.c @@ -244,6 +244,11 @@ void midend_set_params(midend *me, game_params *params) me->params = me->ourgame->dup_params(params); } +game_params *midend_get_params(midend *me) +{ + return me->ourgame->dup_params(me->params); +} + static void midend_set_timer(midend *me) { me->timing = (me->ourgame->is_timed &&