project_files/HedgewarsMobile/Classes/GameConfigViewController.m
changeset 4504 8906b2409d97
parent 4362 8dae325dc625
child 4754 a0fd8211c00f
equal deleted inserted replaced
4503:a8ab151bcae3 4504:8906b2409d97
   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];