New feature in midend.c which allows us to ask for the number of the
[sgt/puzzles] / puzzles.h
index 11acb1f..1c5342d 100644 (file)
--- a/puzzles.h
+++ b/puzzles.h
@@ -208,7 +208,7 @@ void print_get_colour(drawing *dr, int colour, int printing_in_colour,
 int print_mono_colour(drawing *dr, int grey); /* 0==black, 1==white */
 int print_grey_colour(drawing *dr, float grey);
 int print_hatched_colour(drawing *dr, int hatch);
-int print_rgb_mono_colour(drawing *dr, float r, float g, float b, float mono);
+int print_rgb_mono_colour(drawing *dr, float r, float g, float b, int mono);
 int print_rgb_grey_colour(drawing *dr, float r, float g, float b, float grey);
 int print_rgb_hatched_colour(drawing *dr, float r, float g, float b,
                             int hatch);
@@ -235,6 +235,7 @@ void midend_timer(midend *me, float tplus);
 int midend_num_presets(midend *me);
 void midend_fetch_preset(midend *me, int n,
                          char **name, game_params **params);
+int midend_which_preset(midend *me);
 int midend_wants_statusbar(midend *me);
 enum { CFG_SETTINGS, CFG_SEED, CFG_DESC, CFG_FRONTEND_SPECIFIC };
 config_item *midend_get_config(midend *me, int which, char **wintitle);