equal
deleted
inserted
replaced
527 |
527 |
528 // initialize some "default" values |
528 // initialize some "default" values |
529 self.sizeLabel.text = NSLocalizedString(@"All",@""); |
529 self.sizeLabel.text = NSLocalizedString(@"All",@""); |
530 self.slider.value = 0.05f; |
530 self.slider.value = 0.05f; |
531 |
531 |
532 // on slower device we show directly the static map |
532 // select a map at first because it's faster |
533 NSString *modelId = modelType(); |
533 self.segmentedControl.selectedSegmentIndex = 1; |
534 //if ([modelId hasPrefix:@"iPhone1"] || [modelId hasPrefix:@"iPod1,1"] || [modelId hasPrefix:@"iPod2,1"]) |
|
535 if (1) |
|
536 self.segmentedControl.selectedSegmentIndex = 1; |
|
537 else |
|
538 self.segmentedControl.selectedSegmentIndex = 0; |
|
539 |
534 |
540 self.templateFilterCommand = @"e$template_filter 0"; |
535 self.templateFilterCommand = @"e$template_filter 0"; |
541 self.mazeSizeCommand = @"e$maze_size 0"; |
536 self.mazeSizeCommand = @"e$maze_size 0"; |
542 self.mapGenCommand = @"e$mapgen 0"; |
537 self.mapGenCommand = @"e$mapgen 0"; |
543 self.staticMapCommand = @""; |
538 self.staticMapCommand = @""; |