Minor MingW32 build fixes.
[xiph/unicode.git] / planarity / main.h
blob8ec24fc0286fad2b96e5594d3054ced716473e8d
1 /*
3 * gPlanarity:
4 * The geeky little puzzle game with a big noodly crunch!
5 *
6 * gPlanarity copyright (C) 2005 Monty <monty@xiph.org>
7 * Original Flash game by John Tantalo <john.tantalo@case.edu>
8 * Original game concept by Mary Radcliffe
10 * gPlanarity 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 2, or (at your option)
13 * any later version.
15 * gPlanarity 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 Postfish; see the file COPYING. If not, write to the
22 * Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
27 #include <gtk/gtk.h>
29 #ifdef ENABLE_NLS
30 #include <locale.h>
31 #include <libintl.h>
33 #define GT_DOMAIN X_GT_DOMAIN(UGT_DOMAIN)
34 #define X_GT_DOMAIN(x) XX_GT_DOMAIN(x)
35 #define XX_GT_DOMAIN(x) #x
37 #define GT_DIR X_GT_DIR(UGT_DIR)
38 #define X_GT_DIR(x) XX_GT_DIR(x)
39 #define XX_GT_DIR(x) #x
41 #define _(x) gettext(x)
42 #else
43 #define _(x) x
44 #endif
46 extern char *boarddir;
47 extern char *statedir;
48 extern char *fontface;
49 extern char *version;
51 extern Gameboard *gameboard;
53 extern void request_resize(int width, int height);
54 extern void set_font(cairo_t *c, float w, float h, int slant, int bold);