1 
2 /**
3  *
4  * @file setup.h
5  *
6  * Part of the OpenJazz project
7  *
8  * @par History:
9  * - 23rd August 2005: Created OpenJazz.h
10  * - 3rd February 2009: Created menu.h from parts of OpenJazz.h
11  * - 21st July 2013: Created setup.h from parts of menu.h
12  *
13  * @par Licence:
14  * Copyright (c) 2005-2013 Alister Thomson
15  *
16  * OpenJazz is distributed under the terms of
17  * the GNU General Public License, version 2.0
18  *
19  * You should have received a copy of the GNU General Public License
20  * along with this program; if not, write to the Free Software
21  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
22  *
23  */
24 
25 
26 #ifndef _SETUP_H
27 #define _SETUP_H
28 
29 
30 #include "player/player.h"
31 
32 #include "OpenJazz.h"
33 
34 
35 // Class
36 
37 /// Configuration
38 class Setup {
39 
40 	public:
41 		char*         characterName;
42 		unsigned char characterCols[PCOLOURS];
43 		bool          slowMotion;
44 		bool          leaveUnneeded;
45 		bool          manyBirds;
46 
47 		Setup  ();
48 		~Setup ();
49 
50 		void load (int* videoW, int* videoH, bool* fullscreen, int* videoScale);
51 		void save ();
52 
53 };
54 
55 
56 // Variable
57 
58 EXTERN Setup setup;
59 
60 #endif
61 
62