project_files/HedgewarsMobile/Classes/MainMenuViewController.m
changeset 6105 29bf0ca70af9
parent 6104 117bdf4e7af9
child 6106 ba098945bd72
equal deleted inserted replaced
6104:117bdf4e7af9 6105:29bf0ca70af9
   168                 [svrc release];
   168                 [svrc release];
   169             }
   169             }
   170             [self presentModalViewController:self.settingsViewController animated:YES];
   170             [self presentModalViewController:self.settingsViewController animated:YES];
   171             break;
   171             break;
   172         case 3:
   172         case 3:
   173 #ifdef DEBUG
   173 #if 0
   174             if ([[NSFileManager defaultManager] fileExistsAtPath:DEBUG_FILE()])
   174             if ([[NSFileManager defaultManager] fileExistsAtPath:DEBUG_FILE()])
   175                 debugStr = [[NSString alloc] initWithContentsOfFile:DEBUG_FILE()];
   175                 debugStr = [[NSString alloc] initWithContentsOfFile:DEBUG_FILE()];
   176             else
   176             else
   177                 debugStr = [[NSString alloc] initWithString:@"Here be log"];
   177                 debugStr = [[NSString alloc] initWithString:@"Here be log"];
   178             UITextView *scroll = [[UITextView alloc] initWithFrame:CGRectMake(0, 0, self.view.frame.size.height, self.view.frame.size.width)];
   178             UITextView *scroll = [[UITextView alloc] initWithFrame:CGRectMake(0, 0, self.view.frame.size.height, self.view.frame.size.width)];