equal
deleted
inserted
replaced
1 /** |
1 /** |
2 * A complete game configuration that contains all settings for a |
2 * A complete game configuration that contains all settings for a |
3 * local or networked game. |
3 * local or networked game. |
4 * |
|
5 * It should be noted that the meta-configuration is not included. |
|
6 */ |
4 */ |
7 |
5 |
8 #ifndef MODEL_GAMESETUP_H_ |
6 #ifndef MODEL_GAMESETUP_H_ |
9 #define MODEL_GAMESETUP_H_ |
7 #define MODEL_GAMESETUP_H_ |
10 |
8 |
12 #include "weapon.h" |
10 #include "weapon.h" |
13 #include "map.h" |
11 #include "map.h" |
14 #include "team.h" |
12 #include "team.h" |
15 |
13 |
16 typedef struct { |
14 typedef struct { |
17 char *seed; // required |
15 char *script; |
18 char *script; // optional |
16 flib_cfg *gamescheme; |
19 flib_cfg *gamescheme; // optional |
17 flib_map *map; |
20 flib_map *map; // optional |
18 int teamCount; |
21 flib_team **teams; // optional |
19 flib_team **teams; |
22 int teamcount; |
|
23 } flib_gamesetup; |
20 } flib_gamesetup; |
24 |
21 |
25 #endif |
22 #endif |