cocoaTouch/SDLOverrides/SDL_uikitappdelegate.m
changeset 2697 75880595a9f1
parent 2696 41aa7b56c17b
child 2698 90585aba87ad
equal deleted inserted replaced
2696:41aa7b56c17b 2697:75880595a9f1
    89 	
    89 	
    90 	[setup startThread:@"engineProtocol"];
    90 	[setup startThread:@"engineProtocol"];
    91 	[setup loadSettingsFromFile:@"settings.plist" forKey:@"systemSettings"];
    91 	[setup loadSettingsFromFile:@"settings.plist" forKey:@"systemSettings"];
    92 
    92 
    93 	// remove the current view to free resources
    93 	// remove the current view to free resources
    94 	[UIView beginAnimations:nil context:NULL];
    94 /*	[UIView beginAnimations:nil context:NULL];
    95 	[UIView setAnimationDuration:1.5];
    95 	[UIView setAnimationDuration:1.5];
    96 	controller.view.alpha = 0;
    96 	controller.view.alpha = 1;
    97 	[UIView commitAnimations];
    97 	[UIView commitAnimations];
    98 	[controller.view performSelector:@selector(removeFromSuperview) withObject:nil afterDelay:1.5];
    98 	[controller.view performSelector:@selector(removeFromSuperview) withObject:nil afterDelay:1.5];
    99 
    99 */
   100 	NSLog(@"Game is launching...");
   100 	NSLog(@"Game is launching...");
   101 
   101 
   102 	[NSThread detachNewThreadSelector:@selector(launchSDL_main) toTarget:self withObject:nil];
   102 	[NSThread detachNewThreadSelector:@selector(launchSDL_main) toTarget:self withObject:nil];
   103 	
   103 	
   104 }
   104 }