chiark / gitweb /
Add a new misc.c function needed by Slide's colour setup.
[sgt-puzzles.git] / puzzles.h
index 37857725f6ad62b9cf2c657f2a690121097b9d5e..9b69d1b005b35e1644f4dabec50b41935f017de4 100644 (file)
--- a/puzzles.h
+++ b/puzzles.h
@@ -280,6 +280,10 @@ unsigned char *hex2bin(const char *in, int outlen);
  * and auto-generates highlight and lowlight colours too. */
 void game_mkhighlight(frontend *fe, float *ret,
                       int background, int highlight, int lowlight);
+/* As above, but starts from a provided background colour rather
+ * than the frontend default. */
+void game_mkhighlight_specific(frontend *fe, float *ret,
+                              int background, int highlight, int lowlight);
 
 /* Randomly shuffles an array of items. */
 void shuffle(void *array, int nelts, int eltsize, random_state *rs);