197 self.mapConfigViewController.templateFilterCommand,@"templatefilter_command", |
197 self.mapConfigViewController.templateFilterCommand,@"templatefilter_command", |
198 self.mapConfigViewController.mapGenCommand,@"mapgen_command", |
198 self.mapConfigViewController.mapGenCommand,@"mapgen_command", |
199 self.mapConfigViewController.mazeSizeCommand,@"mazesize_command", |
199 self.mapConfigViewController.mazeSizeCommand,@"mazesize_command", |
200 self.mapConfigViewController.themeCommand,@"theme_command", |
200 self.mapConfigViewController.themeCommand,@"theme_command", |
201 self.mapConfigViewController.staticMapCommand,@"staticmap_command", |
201 self.mapConfigViewController.staticMapCommand,@"staticmap_command", |
202 self.mapConfigViewController.missionCommand,@"mission_command", |
202 self.mapConfigViewController.missionCommand,@"mission_command", |
203 self.teamConfigViewController.listOfSelectedTeams,@"teams_list", |
203 self.teamConfigViewController.listOfSelectedTeams,@"teams_list", |
204 self.schemeWeaponConfigViewController.selectedScheme,@"scheme", |
204 self.schemeWeaponConfigViewController.selectedScheme,@"scheme", |
205 self.schemeWeaponConfigViewController.selectedWeapon,@"weapon", |
205 self.schemeWeaponConfigViewController.selectedWeapon,@"weapon", |
206 [NSNumber numberWithInt:self.interfaceOrientation],@"orientation", |
206 [NSNumber numberWithInt:self.interfaceOrientation],@"orientation", |
207 nil]; |
207 nil]; |
208 |
208 |
209 // finally launch game and remove this controller |
209 // finally launch game and remove this controller |
210 DLog(@"sending config %@", gameDictionary); |
210 DLog(@"sending config %@", gameDictionary); |
211 |
211 |
212 if ([[gameDictionary allKeys] count] == 11) { |
212 if ([[gameDictionary allKeys] count] == 11) { |
213 NSDictionary *allDataNecessary = [NSDictionary dictionaryWithObjectsAndKeys:gameDictionary,@"game_dictionary", @"",@"savefile", |
213 NSDictionary *allDataNecessary = [NSDictionary dictionaryWithObjectsAndKeys:gameDictionary,@"game_dictionary", @"",@"savefile", |