project_files/HedgewarsMobile/Classes/SDL_uikitappdelegate.m
changeset 3628 2b4d878ba565
parent 3627 f1da1d8fb56c
child 3629 86212d2b116a
equal deleted inserted replaced
3627:f1da1d8fb56c 3628:2b4d878ba565
    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];