project_files/HedgewarsMobile/Classes/SDL_uikitappdelegate.m
changeset 3627 f1da1d8fb56c
parent 3626 19f78afa0188
child 3628 2b4d878ba565
equal deleted inserted replaced
3626:19f78afa0188 3627:f1da1d8fb56c
    87     [setup startThread:@"engineProtocol"];
    87     [setup startThread:@"engineProtocol"];
    88     const char **gameArgs = [setup getSettings];
    88     const char **gameArgs = [setup getSettings];
    89     [setup release];
    89     [setup release];
    90 
    90 
    91     // since the sdlwindow is not yet created, we add the overlayController with a delay
    91     // since the sdlwindow is not yet created, we add the overlayController with a delay
    92     [self performSelector:@selector(displayOverlayLater) withObject:nil afterDelay:0.3];
    92     [self performSelector:@selector(displayOverlayLater) withObject:nil afterDelay:0.1];
    93     
    93     
    94     // this is the pascal fuction that starts the game (wrapped around isInGame)
    94     // this is the pascal fuction that starts the game (wrapped around isInGame)
    95     isInGame = YES;
    95     isInGame = YES;
    96     Game(gameArgs);
    96     Game(gameArgs);
    97     isInGame = NO;
    97     isInGame = NO;