--- a/project_files/HedgewarsMobile/Classes/SDL_uikitappdelegate.m Thu Dec 30 02:03:24 2010 +0100
+++ b/project_files/HedgewarsMobile/Classes/SDL_uikitappdelegate.m Thu Dec 30 04:54:25 2010 +0100
@@ -85,7 +85,7 @@
}
// main routine for calling the actual game engine
--(void) startSDLgame:(NSDictionary *)gameDictionary {
+-(NSDictionary *)startSDLgame:(NSDictionary *)gameDictionary {
UIWindow *gameWindow;
if (IS_DUALHEAD())
gameWindow = self.secondWindow;
@@ -161,7 +161,7 @@
[refBlackView performSelector:@selector(removeFromSuperview) withObject:nil afterDelay:1];
[refSecondBlackView performSelector:@selector(removeFromSuperview) withObject:nil afterDelay:2];
- DLog(@"%@",stat);
+ return stat;
}
// overlay with controls, become visible later, with a transparency effect since the sdlwindow is not yet created