project_files/HedgewarsMobile/Classes/SDL_uikitappdelegate.m
changeset 3952 d6412423da45
parent 3941 017b2b31e1c6
child 3971 5c82ee165ed5
equal deleted inserted replaced
3950:296cbdd85e50 3952:d6412423da45
   127     NSNumber *menuStyle = [NSNumber numberWithBool:setup.menuStyle];
   127     NSNumber *menuStyle = [NSNumber numberWithBool:setup.menuStyle];
   128     [setup release];
   128     [setup release];
   129 
   129 
   130     // since the sdlwindow is not yet created, we add the overlayController with a delay
   130     // since the sdlwindow is not yet created, we add the overlayController with a delay
   131     NSDictionary *dict = [NSDictionary dictionaryWithObjectsAndKeys:isNetGameNum,@"net",menuStyle,@"menu",nil];
   131     NSDictionary *dict = [NSDictionary dictionaryWithObjectsAndKeys:isNetGameNum,@"net",menuStyle,@"menu",nil];
   132     [self performSelector:@selector(displayOverlayLater:) withObject:dict afterDelay:0.1];
   132     [self performSelector:@selector(displayOverlayLater:) withObject:dict afterDelay:1];
   133 
   133 
   134     // this is the pascal fuction that starts the game (wrapped around isInGame)
   134     // this is the pascal fuction that starts the game (wrapped around isInGame)
   135     isInGame = YES;
   135     isInGame = YES;
   136     Game(gameArgs);
   136     Game(gameArgs);
   137     isInGame = NO;
   137     isInGame = NO;