equal
deleted
inserted
replaced
156 if ([[UIScreen screens] count] > 1) |
156 if ([[UIScreen screens] count] > 1) |
157 gameWindow = self.uiwindow; |
157 gameWindow = self.uiwindow; |
158 else |
158 else |
159 gameWindow = [[UIApplication sharedApplication] keyWindow]; |
159 gameWindow = [[UIApplication sharedApplication] keyWindow]; |
160 [gameWindow addSubview:overlayController.view]; |
160 [gameWindow addSubview:overlayController.view]; |
161 [overlayController release]; |
161 //[overlayController release]; |
162 } |
162 } |
163 |
163 |
164 // override the direct execution of SDL_main to allow us to implement the frontend (or even using a nib) |
164 // override the direct execution of SDL_main to allow us to implement the frontend (or even using a nib) |
165 -(void) applicationDidFinishLaunching:(UIApplication *)application { |
165 -(void) applicationDidFinishLaunching:(UIApplication *)application { |
166 [application setStatusBarHidden:YES]; |
166 [application setStatusBarHidden:YES]; |