From e137ad8b1a98542192eef20b21aa85d1719c7f33 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Thu, 22 Feb 2007 09:31:43 +0000 Subject: Add James Harvey's excellent new puzzle, `Galaxies'. [originally from svn r7304] --- nullfe.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'nullfe.c') diff --git a/nullfe.c b/nullfe.c index 4a31ab8..cdca93a 100644 --- a/nullfe.c +++ b/nullfe.c @@ -27,6 +27,7 @@ void blitter_free(drawing *dr, blitter *bl) {} void blitter_save(drawing *dr, blitter *bl, int x, int y) {} void blitter_load(drawing *dr, blitter *bl, int x, int y) {} int print_mono_colour(drawing *dr, int grey) { return 0; } +int print_grey_colour(drawing *dr, int hatch, float grey) { return 0; } int print_rgb_colour(drawing *dr, int hatch, float r, float g, float b) { return 0; } void print_line_width(drawing *dr, int width) {} @@ -47,3 +48,12 @@ void fatal(char *fmt, ...) exit(1); } +#ifdef DEBUGGING +void debug_printf(char *fmt, ...) +{ + va_list ap; + va_start(ap, fmt); + vfprintf(stdout, fmt, ap); + va_end(ap); +} +#endif -- cgit v1.1