Swap code/variable declaration to be pre-C99 compliant.
[xiph/unicode.git] / planarity / dialog_level.h
blob653f044b6ae8a4518eac24c7df5cc93ade53ccc1
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 #define LEVEL_BUTTON_BORDER 35
28 #define LEVEL_BUTTON_Y 25
29 #define LEVELBOX_WIDTH 560
30 #define LEVELBOX_HEIGHT 370
32 #define ICON_DELTA 20
34 extern void level_dialog(Gameboard *g,int advance);
35 extern void render_level_icons(Gameboard *g, cairo_t *c, int ex,int ey, int ew, int eh);
36 extern void level_icons_init(Gameboard *g);
38 extern void level_mouse_motion(Gameboard *g, int x, int y);
39 extern void level_mouse_press(Gameboard *g, int x, int y);
40 extern void local_reset (Gameboard *g);