equal
deleted
inserted
replaced
151 blackView.alpha = 1; |
151 blackView.alpha = 1; |
152 |
152 |
153 // prepare options for overlay and add it to the future sdl uiwindow |
153 // prepare options for overlay and add it to the future sdl uiwindow |
154 [self performSelector:@selector(displayOverlayLater:) withObject:nil afterDelay:3]; |
154 [self performSelector:@selector(displayOverlayLater:) withObject:nil afterDelay:3]; |
155 |
155 |
|
156 // keep track of uncompleted games |
|
157 NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults]; |
|
158 [defaults setObject:self.savePath forKey:@"savedGamePath"]; |
|
159 [defaults synchronize]; |
|
160 |
156 // SYSTEMS ARE GO!! |
161 // SYSTEMS ARE GO!! |
157 [self startGameEngine]; |
162 [self startGameEngine]; |
|
163 |
|
164 // remove completed games notification |
|
165 [defaults setObject:@"" forKey:@"savedGamePath"]; |
|
166 [defaults synchronize]; |
158 |
167 |
159 // now we can remove the cover with a transition |
168 // now we can remove the cover with a transition |
160 [UIView beginAnimations:@"fade in" context:NULL]; |
169 [UIView beginAnimations:@"fade in" context:NULL]; |
161 [UIView setAnimationDuration:1]; |
170 [UIView setAnimationDuration:1]; |
162 blackView.alpha = 0; |
171 blackView.alpha = 0; |