project_files/HedgewarsMobile/Classes/otherSrc/SDL_uikitappdelegate.m
changeset 3535 9e78c1f3d8d8
parent 3514 59dbd31e9953
equal deleted inserted replaced
3534:51521238724f 3535:9e78c1f3d8d8
    91 	[setup startThread:@"engineProtocol"];
    91 	[setup startThread:@"engineProtocol"];
    92 	const char **gameArgs = [setup getSettings];
    92 	const char **gameArgs = [setup getSettings];
    93 	[setup release];
    93 	[setup release];
    94 
    94 
    95     // since the sdlwindow is not yet created, we add the overlayController with a delay
    95     // since the sdlwindow is not yet created, we add the overlayController with a delay
    96     [self performSelector:@selector(displayOverlayLater) withObject:nil afterDelay:1];
    96     [self performSelector:@selector(displayOverlayLater) withObject:nil afterDelay:0.5];
    97     
    97     
    98     // this is the pascal fuction that starts the game (wrapped around isInGame)
    98     // this is the pascal fuction that starts the game (wrapped around isInGame)
    99     isInGame = YES;
    99     isInGame = YES;
   100 	Game(gameArgs);
   100 	Game(gameArgs);
   101     isInGame = NO;
   101     isInGame = NO;