project_files/HedgewarsMobile/Classes/SingleTeamViewController.m
changeset 4478 05029b4d8490
parent 3948 24daa33a3114
child 4976 088d40d8aba2
equal deleted inserted replaced
4476:4bf74e158f44 4478:05029b4d8490
    18  * File created on 02/04/2010.
    18  * File created on 02/04/2010.
    19  */
    19  */
    20 
    20 
    21 
    21 
    22 #import "SingleTeamViewController.h"
    22 #import "SingleTeamViewController.h"
       
    23 #import <QuartzCore/QuartzCore.h>
    23 #import "HogHatViewController.h"
    24 #import "HogHatViewController.h"
    24 #import "GravesViewController.h"
    25 #import "GravesViewController.h"
    25 #import "VoicesViewController.h"
    26 #import "VoicesViewController.h"
    26 #import "FortsViewController.h"
    27 #import "FortsViewController.h"
    27 #import "FlagsViewController.h"
    28 #import "FlagsViewController.h"
   261                     break;
   262                     break;
   262                 case 3: // flags
   263                 case 3: // flags
   263                     accessoryImage = [[UIImage alloc] initWithContentsOfFile:[NSString stringWithFormat:@"%@/%@.png",
   264                     accessoryImage = [[UIImage alloc] initWithContentsOfFile:[NSString stringWithFormat:@"%@/%@.png",
   264                                                                               FLAGS_DIRECTORY(),[teamDictionary objectForKey:@"flag"]]];
   265                                                                               FLAGS_DIRECTORY(),[teamDictionary objectForKey:@"flag"]]];
   265                     cell.imageView.image = [accessoryImage scaleToSize:CGSizeMake(27, 19)];
   266                     cell.imageView.image = [accessoryImage scaleToSize:CGSizeMake(27, 19)];
       
   267                     cell.imageView.layer.borderWidth = 0.3;
   266                     [accessoryImage release];
   268                     [accessoryImage release];
   267                     break;
   269                     break;
   268                 case 4: // level
   270                 case 4: // level
   269                     accessoryImage = [[UIImage alloc] initWithContentsOfFile:[NSString stringWithFormat:@"%@/%d.png",
   271                     accessoryImage = [[UIImage alloc] initWithContentsOfFile:[NSString stringWithFormat:@"%@/%d.png",
   270                                                                               BOTLEVELS_DIRECTORY(),[[[[teamDictionary objectForKey:@"hedgehogs"]
   272                                                                               BOTLEVELS_DIRECTORY(),[[[[teamDictionary objectForKey:@"hedgehogs"]