X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/puzzles/blobdiff_plain/f487468f67fa996caab7de5b08a5da2c25ebd551..821ab2c68e12d85d6bb2ed8b0d48c846a65d06a0:/devel.but diff --git a/devel.but b/devel.but index d310d2c..5017766 100644 --- a/devel.but +++ b/devel.but @@ -2455,6 +2455,16 @@ previously got it from \cw{midend_fetch_preset()} (\k{midend-fetch-preset}). Thus, this function is usually called in response to the user making a selection from the presets menu. +\H{midend-get-params} \cw{midend_get_params()} + +\c game_params *midend_get_params(midend *me); + +Returns the current game parameters stored in this mid-end. + +The returned value is dynamically allocated, and should be freed +when finished with by passing it to the game's own +\cw{free_params()} function (see \k{backend-free-params}). + \H{midend-size} \cw{midend_size()} \c void midend_size(midend *me, int *x, int *y, int expand);