mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 08:01:30 -07:00
`Guess', a Mastermind clone from James Harvey. This checkin also
introduces a few new utility functions in misc.c, one of which is the bitmap obfuscator from Mines (which has therefore been moved out of mines.c). [originally from svn r5992]
This commit is contained in:
@ -205,6 +205,13 @@ char *dupstr(const char *s);
|
||||
* misc.c
|
||||
*/
|
||||
void free_cfg(config_item *cfg);
|
||||
void obfuscate_bitmap(unsigned char *bmp, int bits, int decode);
|
||||
|
||||
/* allocates output each time. len is always in bytes of binary data.
|
||||
* May assert (or just go wrong) if lengths are unchecked. */
|
||||
char *bin2hex(const unsigned char *in, int inlen);
|
||||
unsigned char *hex2bin(const char *in, int outlen);
|
||||
|
||||
|
||||
/*
|
||||
* version.c
|
||||
|
Reference in New Issue
Block a user