project_files/HedgewarsMobile/Classes/GameSetup.m
changeset 3642 fb39fecca350
parent 3634 93d260c96635
child 3660 bc125bea5849
equal deleted inserted replaced
3641:98319a621dc8 3642:fb39fecca350
   287                 
   287                 
   288                 // dimension of the map
   288                 // dimension of the map
   289                 [self sendToEngine:[self.gameConfig objectForKey:@"templatefilter_command"]];
   289                 [self sendToEngine:[self.gameConfig objectForKey:@"templatefilter_command"]];
   290                 [self sendToEngine:[self.gameConfig objectForKey:@"mapgen_command"]];
   290                 [self sendToEngine:[self.gameConfig objectForKey:@"mapgen_command"]];
   291                 [self sendToEngine:[self.gameConfig objectForKey:@"mazesize_command"]];
   291                 [self sendToEngine:[self.gameConfig objectForKey:@"mazesize_command"]];
       
   292                 
       
   293                 // static land (if set)
       
   294                 NSString *staticMap = [self.gameConfig objectForKey:@"staticmap_command"];
       
   295                 if ([staticMap length] != 0)
       
   296                     [self sendToEngine:staticMap];
   292                 
   297                 
   293                 // theme info
   298                 // theme info
   294                 [self sendToEngine:[self.gameConfig objectForKey:@"theme_command"]];
   299                 [self sendToEngine:[self.gameConfig objectForKey:@"theme_command"]];
   295                 
   300                 
   296                 // scheme (returns initial health)
   301                 // scheme (returns initial health)