X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/puzzles/blobdiff_plain/dafd6cf6826f9bbd27ddd780fab48221d4706556..0a53759014aaa2d323a6d0e15459a4e00e48e50a:/devel.but diff --git a/devel.but b/devel.but index 62ec659..5017766 100644 --- a/devel.but +++ b/devel.but @@ -2039,11 +2039,11 @@ colour during printing. \c{r}, \c{g} and \c{b} may each be anywhere in the range from 0 to 1. -If printing in black and white only, the \c{grey} value will not be -used; instead, regions shaded in this colour will be hatched with -parallel lines. The \c{hatch} parameter defines what type of -hatching should be used in place of this colour; see -\k{print-grey-colour} for its definition. +If printing in black and white only, these values will not be used; +instead, regions shaded in this colour will be hatched with parallel +lines. The \c{hatch} parameter defines what type of hatching should +be used in place of this colour; see \k{print-grey-colour} for its +definition. \S{print-line-width} \cw{print_line_width()} @@ -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);