equal
deleted
inserted
replaced
96 Game(gameArgs); |
96 Game(gameArgs); |
97 isInGame = NO; |
97 isInGame = NO; |
98 free(gameArgs); |
98 free(gameArgs); |
99 |
99 |
100 // bring the uiwindow below in front |
100 // bring the uiwindow below in front |
101 UIWindow *aWin = [[[UIApplication sharedApplication] windows] objectAtIndex:0]; |
101 //UIWindow *aWin = [[[UIApplication sharedApplication] windows] objectAtIndex:0]; |
102 [aWin makeKeyAndVisible]; |
102 //[aWin makeKeyAndVisible]; |
103 |
103 //DLog(@"%@",[[UIApplication sharedApplication] windows]); |
104 DLog(@"%@",[[UIApplication sharedApplication] windows]); |
|
105 |
104 |
106 [UIView beginAnimations:@"inserting main controller" context:NULL]; |
105 [UIView beginAnimations:@"inserting main controller" context:NULL]; |
107 [UIView setAnimationDuration:1]; |
106 [UIView setAnimationDuration:1]; |
108 mainViewController.view.alpha = 1; |
107 mainViewController.view.alpha = 1; |
109 [UIView commitAnimations]; |
108 [UIView commitAnimations]; |