223 self.teamConfigViewController.listOfSelectedTeams,@"teams_list", |
223 self.teamConfigViewController.listOfSelectedTeams,@"teams_list", |
224 self.schemeWeaponConfigViewController.selectedScheme,@"scheme", |
224 self.schemeWeaponConfigViewController.selectedScheme,@"scheme", |
225 self.schemeWeaponConfigViewController.selectedWeapon,@"weapon", |
225 self.schemeWeaponConfigViewController.selectedWeapon,@"weapon", |
226 [NSNumber numberWithInt:self.interfaceOrientation],@"orientation", |
226 [NSNumber numberWithInt:self.interfaceOrientation],@"orientation", |
227 nil]; |
227 nil]; |
228 |
|
229 // finally launch game and remove this controller |
|
230 DLog(@"sending config %@", gameDictionary); |
|
231 |
228 |
232 NSDictionary *allDataNecessary = [NSDictionary dictionaryWithObjectsAndKeys:gameDictionary,@"game_dictionary", @"",@"savefile", |
229 NSDictionary *allDataNecessary = [NSDictionary dictionaryWithObjectsAndKeys:gameDictionary,@"game_dictionary", @"",@"savefile", |
233 [NSNumber numberWithBool:NO],@"netgame", nil]; |
230 [NSNumber numberWithBool:NO],@"netgame", nil]; |
234 if (IS_IPAD()) |
231 if (IS_IPAD()) |
235 [[SDLUIKitDelegate sharedAppDelegate] startSDLgame:allDataNecessary]; |
232 [[SDLUIKitDelegate sharedAppDelegate] startSDLgame:allDataNecessary]; |