project_files/HedgewarsMobile/Classes/GameInterfaceBridge.m
changeset 5177 b850b544addc
parent 5175 a3da220dbb3f
child 5194 851c6fbb44e6
equal deleted inserted replaced
5176:b9539115608d 5177:b850b544addc
   156     // prepare options for overlay and add it to the future sdl uiwindow
   156     // prepare options for overlay and add it to the future sdl uiwindow
   157     NSDictionary *overlayOptions = [[NSDictionary alloc] initWithObjectsAndKeys:
   157     NSDictionary *overlayOptions = [[NSDictionary alloc] initWithObjectsAndKeys:
   158                                     [NSNumber numberWithInt:self.parentController.interfaceOrientation],@"orientation",
   158                                     [NSNumber numberWithInt:self.parentController.interfaceOrientation],@"orientation",
   159                                     [self.systemSettings objectForKey:@"menu"],@"menu",
   159                                     [self.systemSettings objectForKey:@"menu"],@"menu",
   160                                     nil];
   160                                     nil];
   161     [self performSelector:@selector(displayOverlayLater:) withObject:overlayOptions afterDelay:0.1];
   161     [self performSelector:@selector(displayOverlayLater:) withObject:overlayOptions afterDelay:3];
   162     [overlayOptions release];
   162     [overlayOptions release];
   163 
   163 
   164     // SYSTEMS ARE GO!!
   164     // SYSTEMS ARE GO!!
   165     [self startGameEngine];
   165     [self startGameEngine];
   166 
   166