- added read_string_vector
[supertux.git] / src / leveleditor.h
1 /***************************************************************************
2  *                                                                         *
3  *   This program is free software; you can redistribute it and/or modify  *
4  *   it under the terms of the GNU General Public License as published by  *
5  *   the Free Software Foundation; either version 2 of the License, or     *
6  *   (at your option) any later version.                                   *
7  *                                                                         *
8  ***************************************************************************/
9
10 /*  December 28, 2003 - February 1st, 2004 */
11
12 /* leveleditor.h - A built-in level editor for SuperTux
13    Ricardo Cruz <rick2@aeiou.pt>                      
14    Tobias Glaesser <tobi.web@gmx.de> */
15
16 #ifndef SUPERTUX_LEVELEDITOR_H
17 #define SUPERTUX_LEVELEDITOR_H
18
19 typedef struct square
20   {
21     int x1, y1, x2, y2;
22   }
23 square;
24
25 /* selection modes */
26 enum {
27   CURSOR,
28   SQUARE
29 };
30
31 int leveleditor(int levelnb);
32 void newlevel(void);
33 void selectlevel(void);
34 void le_savelevel();
35 void editlevel(void);
36 void testlevel(void);
37 int le_init(void);
38 void le_checkevents(void);
39
40 #endif /*SUPERTUX_LEVELEDITOR_H*/