--- a/project_files/HedgewarsMobile/Classes/SDL_uikitappdelegate.m Sat Jul 17 16:35:14 2010 +0200
+++ b/project_files/HedgewarsMobile/Classes/SDL_uikitappdelegate.m Sun Jul 18 03:26:15 2010 +0200
@@ -76,11 +76,6 @@
// main routine for calling the actual game engine
-(IBAction) startSDLgame: (NSDictionary *)gameDictionary {
- [UIView beginAnimations:@"removing main controller" context:NULL];
- [UIView setAnimationDuration:1];
- mainViewController.view.alpha = 0;
- [UIView commitAnimations];
-
// pull out useful configuration info from various files
GameSetup *setup = [[GameSetup alloc] initWithDictionary:gameDictionary];
@@ -98,16 +93,11 @@
free(gameArgs);
// bring the uiwindow below in front
- //UIWindow *aWin = [[[UIApplication sharedApplication] windows] objectAtIndex:0];
- //[aWin makeKeyAndVisible];
+ UIWindow *aWin = [[[UIApplication sharedApplication] windows] objectAtIndex:0];
+ [aWin makeKeyAndVisible];
// notice that in the simulator this reports 2 windows
DLog(@"%@",[[UIApplication sharedApplication] windows]);
-
- [UIView beginAnimations:@"inserting main controller" context:NULL];
- [UIView setAnimationDuration:1];
- mainViewController.view.alpha = 1;
- [UIView commitAnimations];
}
-(void) displayOverlayLater {