equal
deleted
inserted
replaced
100 } |
100 } |
101 |
101 |
102 void saveBeganSynching() { |
102 void saveBeganSynching() { |
103 savedGame = YES; |
103 savedGame = YES; |
104 stopSpinningProgress(); |
104 stopSpinningProgress(); |
|
105 [[UIApplication sharedApplication] setIdleTimerDisabled:YES]; |
105 |
106 |
106 overlay_instance.view.backgroundColor = [UIColor blackColor]; |
107 overlay_instance.view.backgroundColor = [UIColor blackColor]; |
107 overlay_instance.view.alpha = 0.75; |
108 overlay_instance.view.alpha = 0.75; |
108 overlay_instance.view.userInteractionEnabled = NO; |
109 overlay_instance.view.userInteractionEnabled = NO; |
109 |
110 |
126 [UIView commitAnimations]; |
127 [UIView commitAnimations]; |
127 |
128 |
128 [overlay_instance.savesIndicator stopAnimating]; |
129 [overlay_instance.savesIndicator stopAnimating]; |
129 [overlay_instance.savesIndicator performSelector:@selector(removeFromSuperview) withObject:nil afterDelay:1]; |
130 [overlay_instance.savesIndicator performSelector:@selector(removeFromSuperview) withObject:nil afterDelay:1]; |
130 |
131 |
|
132 [[UIApplication sharedApplication] setIdleTimerDisabled:NO]; |
131 gameRunning = YES; |
133 gameRunning = YES; |
132 } |
134 } |
133 |
135 |
134 void updateVisualsNewTurn(void) { |
136 void updateVisualsNewTurn(void) { |
135 [overlay_instance.amvc updateAmmoVisuals]; |
137 [overlay_instance.amvc updateAmmoVisuals]; |