project_files/frontlib/frontlib.c
changeset 7182 076aba32abd3
parent 7179 f84805e6df03
child 7224 5143861c83bd
equal deleted inserted replaced
7179:f84805e6df03 7182:076aba32abd3
    62 	assert(metaconf);
    62 	assert(metaconf);
    63 	flib_gamesetup setup;
    63 	flib_gamesetup setup;
    64 	setup.gamescheme = flib_cfg_from_ini(metaconf, "scheme_shoppa.ini");
    64 	setup.gamescheme = flib_cfg_from_ini(metaconf, "scheme_shoppa.ini");
    65 	setup.map = flib_map_create_maze("Jungle", MAZE_SIZE_MEDIUM_TUNNELS);
    65 	setup.map = flib_map_create_maze("Jungle", MAZE_SIZE_MEDIUM_TUNNELS);
    66 	setup.seed = "apsfooasdgnds";
    66 	setup.seed = "apsfooasdgnds";
       
    67 	setup.script = NULL;
    67 	setup.teamcount = 2;
    68 	setup.teamcount = 2;
    68 	setup.teams = calloc(2, sizeof(flib_team));
    69 	setup.teams = calloc(2, sizeof(flib_team));
    69 	setup.teams[0].color = 0xffff0000;
    70 	setup.teams[0].color = 0xffff0000;
    70 	setup.teams[0].flag = "australia";
    71 	setup.teams[0].flag = "australia";
    71 	setup.teams[0].fort = "Plane";
    72 	setup.teams[0].fort = "Plane";