aboutsummaryrefslogtreecommitdiff
path: root/nullfe.c
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2007-02-22 09:31:43 +0000
committerSimon Tatham <anakin@pobox.com>2007-02-22 09:31:43 +0000
commite137ad8b1a98542192eef20b21aa85d1719c7f33 (patch)
treea0ef066cbfc2e76c5be461ec4ef264db9493a842 /nullfe.c
parentaa6fb7507252dec76e2c30ebfdc76b0e366851d7 (diff)
downloadpuzzles-e137ad8b1a98542192eef20b21aa85d1719c7f33.zip
puzzles-e137ad8b1a98542192eef20b21aa85d1719c7f33.tar.gz
puzzles-e137ad8b1a98542192eef20b21aa85d1719c7f33.tar.bz2
puzzles-e137ad8b1a98542192eef20b21aa85d1719c7f33.tar.xz
Add James Harvey's excellent new puzzle, `Galaxies'.
[originally from svn r7304]
Diffstat (limited to 'nullfe.c')
-rw-r--r--nullfe.c10
1 files changed, 10 insertions, 0 deletions
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