cocoaTouch/GameSetup.m
changeset 3395 095273ad0e08
parent 3373 c1ff724a5c34
child 3479 972ae3ec178a
equal deleted inserted replaced
3394:47b51e22e670 3395:095273ad0e08
   193 				
   193 				
   194 				// seed info
   194 				// seed info
   195 				[self sendToEngine:[self.gameConfig objectForKey:@"seed_command"]];
   195 				[self sendToEngine:[self.gameConfig objectForKey:@"seed_command"]];
   196 				
   196 				
   197 				// various flags
   197 				// various flags
   198 				[self sendToEngine:@"e$gmflags 8448"]; 
   198 				[self sendToEngine:@"e$gmflags 256"]; 
   199 				[self sendToEngine:@"e$damagepct 100"];
   199 				[self sendToEngine:@"e$damagepct 100"];
   200 				[self sendToEngine:@"e$turntime 45000"];
   200 				[self sendToEngine:@"e$turntime 45000"];
   201 				[self sendToEngine:@"e$minestime 3000"];
   201 				[self sendToEngine:@"e$minestime 3000"];
   202 				[self sendToEngine:@"e$landadds 4"];
   202 				[self sendToEngine:@"e$landadds 4"];
   203 				[self sendToEngine:@"e$sd_turns 15"];
   203 				[self sendToEngine:@"e$sd_turns 15"];
   219                        withPlayingHogs:[[teamData objectForKey:@"number"] intValue]
   219                        withPlayingHogs:[[teamData objectForKey:@"number"] intValue]
   220                                ofColor:[teamData objectForKey:@"color"]];
   220                                ofColor:[teamData objectForKey:@"color"]];
   221                 }
   221                 }
   222                 
   222                 
   223                 NSDictionary *ammoData = [[NSDictionary alloc] initWithObjectsAndKeys:
   223                 NSDictionary *ammoData = [[NSDictionary alloc] initWithObjectsAndKeys:
   224                                           @"9391929422199121032235111001201000000211190",@"ammostore_initialqt",
   224                                           @"939192942219912103223511100120100000021119091",@"ammostore_initialqt",
   225                                           @"0405040541600655546554464776576666666155501",@"ammostore_probability",
   225                                           @"040504054160065554655446477657666666615550100",@"ammostore_probability",
   226                                           @"0000000000000205500000040007004000000000200",@"ammostore_delay",
   226                                           @"000000000000020550000004000700400000000020000",@"ammostore_delay",
   227                                           @"1311110312111111123114111111111111111211101",@"ammostore_crate", nil];
   227                                           @"131111031211111112311411111111111111121110111",@"ammostore_crate", nil];
   228                 [self sendAmmoData:ammoData forTeams:[teamsConfig count]];
   228                 [self sendAmmoData:ammoData forTeams:[teamsConfig count]];
   229                 [ammoData release];
   229                 [ammoData release];
   230                 
   230                 
   231                 clientQuit = NO;
   231                 clientQuit = NO;
   232 			} else {
   232 			} else {