equal
deleted
inserted
replaced
51 self.blackView.alpha = 1; |
51 self.blackView.alpha = 1; |
52 [UIView commitAnimations]; |
52 [UIView commitAnimations]; |
53 [thisWindow addSubview:self.blackView]; |
53 [thisWindow addSubview:self.blackView]; |
54 [self.blackView release]; |
54 [self.blackView release]; |
55 |
55 |
56 // keep track of uncompleted games |
56 // keep the point of return for games that completed loading |
57 NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults]; |
57 NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults]; |
58 [userDefaults setObject:self.savePath forKey:@"savedGamePath"]; |
58 [userDefaults setObject:self.savePath forKey:@"savedGamePath"]; |
|
59 [userDefaults setObject:[NSNumber numberWithBool:NO] forKey:@"saveIsValid"]; |
59 [userDefaults synchronize]; |
60 [userDefaults synchronize]; |
60 |
61 |
61 // let's launch the engine using this -perfomSelector so that the runloop can deal with queued messages first |
62 // let's launch the engine using this -perfomSelector so that the runloop can deal with queued messages first |
62 [self performSelector:@selector(engineLaunch) withObject:nil afterDelay:0.1f]; |
63 [self performSelector:@selector(engineLaunch) withObject:nil afterDelay:0.1f]; |
63 } |
64 } |