diff options
Diffstat (limited to 'apps/plugins/puzzles/src/puzzles.h')
-rw-r--r-- | apps/plugins/puzzles/src/puzzles.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/plugins/puzzles/src/puzzles.h b/apps/plugins/puzzles/src/puzzles.h index 1732abe3e9..45ae321cc6 100644 --- a/apps/plugins/puzzles/src/puzzles.h +++ b/apps/plugins/puzzles/src/puzzles.h | |||
@@ -11,6 +11,7 @@ | |||
11 | #include <stdbool.h> | 11 | #include <stdbool.h> |
12 | 12 | ||
13 | #define PI 3.141592653589793238462643383279502884197169399 | 13 | #define PI 3.141592653589793238462643383279502884197169399 |
14 | #define ROOT2 1.414213562373095048801688724209698078569672 | ||
14 | 15 | ||
15 | #define lenof(array) ( sizeof(array) / sizeof(*(array)) ) | 16 | #define lenof(array) ( sizeof(array) / sizeof(*(array)) ) |
16 | 17 | ||
@@ -530,7 +531,11 @@ document *document_new(int pw, int ph, float userscale); | |||
530 | void document_free(document *doc); | 531 | void document_free(document *doc); |
531 | void document_add_puzzle(document *doc, const game *game, game_params *par, | 532 | void document_add_puzzle(document *doc, const game *game, game_params *par, |
532 | game_state *st, game_state *st2); | 533 | game_state *st, game_state *st2); |
533 | void document_print(document *doc, drawing *dr); | 534 | int document_npages(const document *doc); |
535 | void document_begin(const document *doc, drawing *dr); | ||
536 | void document_end(const document *doc, drawing *dr); | ||
537 | void document_print_page(const document *doc, drawing *dr, int page_nr); | ||
538 | void document_print(const document *doc, drawing *dr); | ||
534 | 539 | ||
535 | /* | 540 | /* |
536 | * ps.c | 541 | * ps.c |