equal
deleted
inserted
replaced
27 } |
27 } |
28 |
28 |
29 -(void) viewDidLoad { |
29 -(void) viewDidLoad { |
30 isPaused = NO; |
30 isPaused = NO; |
31 |
31 |
32 menuList = [[NSArray alloc] initWithObjects: |
32 NSArray *array = [[NSArray alloc] initWithObjects: |
33 NSLocalizedString(@"Pause Game", @""), |
33 NSLocalizedString(@"Pause Game", @""), |
34 NSLocalizedString(@"Chat", @""), |
34 NSLocalizedString(@"Chat", @""), |
35 NSLocalizedString(@"End Game", @""), |
35 NSLocalizedString(@"End Game", @""), |
36 nil]; |
36 nil]; |
|
37 self.menuList = array; |
|
38 [array release]; |
|
39 |
37 [super viewDidLoad]; |
40 [super viewDidLoad]; |
38 } |
41 } |
39 |
42 |
40 -(void) viewDidUnload { |
43 -(void) viewDidUnload { |
|
44 self.menuList = nil; |
41 [super viewDidUnload]; |
45 [super viewDidUnload]; |
42 MSG_DIDUNLOAD(); |
46 MSG_DIDUNLOAD(); |
43 } |
47 } |
44 |
48 |
45 -(void) dealloc { |
49 -(void) dealloc { |