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