aboutsummaryrefslogtreecommitdiff
path: root/puzzles.h
diff options
context:
space:
mode:
Diffstat (limited to 'puzzles.h')
-rw-r--r--puzzles.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/puzzles.h b/puzzles.h
index 6012478..7c7882a 100644
--- a/puzzles.h
+++ b/puzzles.h
@@ -11,6 +11,7 @@
#include <stdbool.h>
#define PI 3.141592653589793238462643383279502884197169399
+#define ROOT2 1.414213562373095048801688724209698078569672
#define lenof(array) ( sizeof(array) / sizeof(*(array)) )
@@ -526,6 +527,10 @@ document *document_new(int pw, int ph, float userscale);
void document_free(document *doc);
void document_add_puzzle(document *doc, const game *game, game_params *par,
game_state *st, game_state *st2);
+int document_npages(document *doc);
+void document_begin(document *doc, drawing *dr);
+void document_end(document *doc, drawing *dr);
+void document_print_page(document *doc, drawing *dr, int page_nr);
void document_print(document *doc, drawing *dr);
/*