mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-22 16:32:13 -07:00
Refactoring from James H: the highlight and lowlight colour setup
common to Fifteen, Sixteen, Twiddle and Pegs is now a utility function in misc.c. [originally from svn r6076]
This commit is contained in:
@ -218,6 +218,10 @@ void obfuscate_bitmap(unsigned char *bmp, int bits, int decode);
|
||||
char *bin2hex(const unsigned char *in, int inlen);
|
||||
unsigned char *hex2bin(const char *in, int outlen);
|
||||
|
||||
/* Sets (and possibly dims) background from frontend default colour,
|
||||
* and auto-generates highlight and lowlight colours too. */
|
||||
void game_mkhighlight(frontend *fe, float *ret,
|
||||
int background, int highlight, int lowlight);
|
||||
|
||||
/*
|
||||
* version.c
|
||||
|
Reference in New Issue
Block a user