equal
deleted
inserted
replaced
91 [setup startThread:@"engineProtocol"]; |
91 [setup startThread:@"engineProtocol"]; |
92 const char **gameArgs = [setup getSettings]; |
92 const char **gameArgs = [setup getSettings]; |
93 [setup release]; |
93 [setup release]; |
94 |
94 |
95 // since the sdlwindow is not yet created, we add the overlayController with a delay |
95 // since the sdlwindow is not yet created, we add the overlayController with a delay |
96 [self performSelector:@selector(displayOverlayLater) withObject:nil afterDelay:1]; |
96 [self performSelector:@selector(displayOverlayLater) withObject:nil afterDelay:0.5]; |
97 |
97 |
98 // this is the pascal fuction that starts the game (wrapped around isInGame) |
98 // this is the pascal fuction that starts the game (wrapped around isInGame) |
99 isInGame = YES; |
99 isInGame = YES; |
100 Game(gameArgs); |
100 Game(gameArgs); |
101 isInGame = NO; |
101 isInGame = NO; |