2 * general header file for ypp-commodities
5 * This is part of ypp-sc-tools, a set of third-party tools for assisting
6 * players of Yohoho Puzzle Pirates.
8 * Copyright (C) 2009 Ian Jackson <ijackson@chiark.greenend.org.uk>
10 * This program is free software: you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation, either version 3 of the License, or
13 * (at your option) any later version.
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
20 * You should have received a copy of the GNU General Public License
21 * along with this program. If not, see <http://www.gnu.org/licenses/>.
23 * Yohoho and Puzzle Pirates are probably trademarks of Three Rings and
24 * are used without permission. This program is not endorsed or
25 * sponsored by Three Rings.
41 /*----- from structure.c -----*/
43 void find_structure(CanonImage *im);
44 void read_screenshots(void);
45 void read_one_screenshot(void);
48 /*----- from convert.c -----*/
50 extern FILE *screenshots_file;
52 void vwarning(const char *fmt, va_list) FMT(1,0);
53 void warning(const char *fmt, ...) FMT(1,2);
55 void vprogress(const char *fmt, va_list) FMT(1,0);
56 void progress(const char *fmt, ...) FMT(1,2);
58 void vprogress_log(const char *fmt, va_list) FMT(1,0);
59 void progress_log(const char *fmt, ...) FMT(1,2);
61 void vprogress_spinner(const char *fmt, va_list) FMT(1,0);
62 void progress_spinner(const char *fmt, ...) FMT(1,2);
64 /*----- from pages.c -----*/
66 void screenshot_startup(void);
67 void set_yppclient_window(unsigned long wul);
68 void find_yppclient_window(void);
69 void take_screenshots(void);
70 void take_one_screenshot(void);
73 extern CanonImage *page_images[MAX_PAGES];
76 extern char *ocean, *pirate;