equal
deleted
inserted
replaced
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; |