--- a/project_files/HedgewarsMobile/Classes/SDL_uikitappdelegate.m Thu Dec 30 04:54:25 2010 +0100
+++ b/project_files/HedgewarsMobile/Classes/SDL_uikitappdelegate.m Fri Dec 31 00:10:38 2010 +0100
@@ -85,7 +85,7 @@
}
// main routine for calling the actual game engine
--(NSDictionary *)startSDLgame:(NSDictionary *)gameDictionary {
+-(NSArray *)startSDLgame:(NSDictionary *)gameDictionary {
UIWindow *gameWindow;
if (IS_DUALHEAD())
gameWindow = self.secondWindow;
@@ -144,7 +144,7 @@
self.isInGame = NO;
free(gameArgs);
- NSDictionary *stat = setup.statsDictionary;
+ NSArray *stats = setup.statsArray;
[setup release];
@@ -161,7 +161,7 @@
[refBlackView performSelector:@selector(removeFromSuperview) withObject:nil afterDelay:1];
[refSecondBlackView performSelector:@selector(removeFromSuperview) withObject:nil afterDelay:2];
- return stat;
+ return stats;
}
// overlay with controls, become visible later, with a transparency effect since the sdlwindow is not yet created