project_files/frontlib/model/gamesetup.h
changeset 7271 5608ac657362
parent 7224 5143861c83bd
child 7275 15f722e0b96f
equal deleted inserted replaced
7269:5b0aeef8ba2a 7271:5608ac657362
     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