1 /*
2  * file config.h - configuration types
3  *
4  * $Id: xbconfig.h,v 1.3 2006/02/09 21:21:25 fzago Exp $
5  *
6  * Program XBLAST
7  * (C) by Oliver Vogel (e-mail: m.vogel@ndh.net)
8  *
9  * This program is free software; you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License as published
11  * by the Free Software Foundation; either version 2; or (at your option)
12  * any later version
13  *
14  * This program is distributed in the hope that it will be entertaining,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILTY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
17  * Public License for more details.
18  *
19  * You should have received a copy of the GNU General Public License along
20  * with this program; if not, write to the Free Software Foundation, Inc.
21  * 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
22  */
23 #ifndef XBCONFIG_H
24 #define XBCONFIG_H
25 
26 /*
27  * constants
28  */
29 #define NUM_PLAYER_COLORS 7
30 
31 /*
32  * type definitions
33  */
34 
35 /* player data shape, colors, strings etc */
36 typedef struct
37 {
38 	char name[16];
39 	char shape[16];
40 	XBColor helmet;
41 	XBColor face;
42 	XBColor body;
43 	XBColor arms_legs;
44 	XBColor hands_feet;
45 	XBColor backpack;
46 	XBColor white;
47 	XBBool useStopKey;
48 } XBPlayerConfig;
49 
50 /* game config (not complete now) */
51 typedef struct
52 {
53 	int num_players;
54 	int num_lives;
55 	int num_wins;
56 	XBBool random_levels;
57 	XBBool random_players;
58 	XBBool *level_select;
59 } XBGameConfig;
60 
61 #endif
62 /*
63  * end of file config.h
64  */
65