equal
deleted
inserted
replaced
87 const char **gameArgs = [setup getSettings]; |
87 const char **gameArgs = [setup getSettings]; |
88 [setup release]; |
88 [setup release]; |
89 |
89 |
90 OverlayViewController *overlayController; |
90 OverlayViewController *overlayController; |
91 // overlay with controls, become visible after 2 seconds |
91 // overlay with controls, become visible after 2 seconds |
92 if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) |
92 overlayController = [[OverlayViewController alloc] initWithNibName:@"OverlayViewController-iPhone" bundle:nil]; |
93 overlayController = [[OverlayViewController alloc] initWithNibName:@"OverlayViewController-iPad" bundle:nil]; |
93 |
94 else |
|
95 overlayController = [[OverlayViewController alloc] initWithNibName:@"OverlayViewController-iPhone" bundle:nil]; |
|
96 |
|
97 [uiwindow addSubview:overlayController.view]; |
94 [uiwindow addSubview:overlayController.view]; |
98 [overlayController release]; |
95 [overlayController release]; |
99 |
96 |
100 isInGame = YES; |
97 isInGame = YES; |
101 Game(gameArgs); // this is the pascal fuction that starts the game |
98 Game(gameArgs); // this is the pascal fuction that starts the game |