equal
deleted
inserted
replaced
105 NSUInteger color = [[info objectAtIndex:0] intValue]; |
105 NSUInteger color = [[info objectAtIndex:0] intValue]; |
106 cell.textLabel.textColor = [UIColor colorWithRed:((color >> 16) & 0xFF)/255.0f |
106 cell.textLabel.textColor = [UIColor colorWithRed:((color >> 16) & 0xFF)/255.0f |
107 green:((color >> 8) & 0xFF)/255.0f |
107 green:((color >> 8) & 0xFF)/255.0f |
108 blue:(color & 0xFF)/255.0f |
108 blue:(color & 0xFF)/255.0f |
109 alpha:1.0f]; |
109 alpha:1.0f]; |
110 cell.textLabel.text = [NSString stringWithFormat:@"%d. %@ (%@ kills)", row+1, [self teamNameFromInfo:info], [info objectAtIndex:1]]; |
110 cell.textLabel.text = [NSString stringWithFormat:@"%d. %@ (%@ %@)", row+1, [self teamNameFromInfo:info], [info objectAtIndex:1], NSLocalizedString(@"kills", nil)]; |
111 imgName = [NSString stringWithFormat:@"StatsMedal%d",row+1]; |
111 imgName = [NSString stringWithFormat:@"StatsMedal%d",row+1]; |
112 } else if (section == 2) { // general info |
112 } else if (section == 2) { // general info |
113 imgName = @"iconDamage"; |
113 imgName = @"iconDamage"; |
114 cell.textLabel.text = [self.statsArray objectAtIndex:row + 2]; |
114 cell.textLabel.text = [self.statsArray objectAtIndex:row + 2]; |
115 cell.textLabel.textColor = [UIColor lightYellowColor]; |
115 cell.textLabel.textColor = [UIColor lightYellowColor]; |