project_files/frontlib/model/gamesetup.h
author Medo <smaxein@googlemail.com>
Tue, 12 Jun 2012 11:25:05 +0200
changeset 7224 5143861c83bd
parent 7179 f84805e6df03
child 7271 5608ac657362
permissions -rw-r--r--
Cleanup, refactoring and generally more development in the frontlib

/**
 * A complete game configuration that contains all settings for a
 * local or networked game.
 *
 * It should be noted that the meta-configuration is not included.
 */

#ifndef MODEL_GAMESETUP_H_
#define MODEL_GAMESETUP_H_

#include "cfg.h"
#include "weapon.h"
#include "map.h"
#include "team.h"

typedef struct {
    char *seed;						// required
    char *script;					// optional
    flib_cfg *gamescheme;			// optional
    flib_map *map;					// optional
	flib_team **teams;				// optional
	int teamcount;
} flib_gamesetup;

#endif