project_files/frontlib/model/gamesetup.h
author Medo <smaxein@googlemail.com>
Thu, 21 Jun 2012 21:32:12 +0200
changeset 7269 5b0aeef8ba2a
parent 7224 5143861c83bd
child 7271 5608ac657362
permissions -rw-r--r--
More progress on the netplay part of 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