return ret;
}
-void game_mkhighlight(frontend *fe, float *ret,
- int background, int highlight, int lowlight)
+void game_mkhighlight_specific(frontend *fe, float *ret,
+ int background, int highlight, int lowlight)
{
float max;
int i;
- frontend_default_colour(fe, &ret[background * 3]);
-
/*
* Drop the background colour so that the highlight is
* noticeably brighter than it while still being under 1.
}
}
+void game_mkhighlight(frontend *fe, float *ret,
+ int background, int highlight, int lowlight)
+{
+ frontend_default_colour(fe, &ret[background * 3]);
+ game_mkhighlight_specific(fe, ret, background, highlight, lowlight);
+}
+
static void memswap(void *av, void *bv, int size)
{
char tmpbuf[512];