43 |
43 |
44 // various other widgets |
44 // various other widgets |
45 UIActivityIndicatorView *loadingIndicator; |
45 UIActivityIndicatorView *loadingIndicator; |
46 UIButton *confirmButton; |
46 UIButton *confirmButton; |
47 UISegmentedControl *grenadeTimeSegment; |
47 UISegmentedControl *grenadeTimeSegment; |
|
48 NSInteger cachedGrenadeTime; |
48 } |
49 } |
49 |
50 |
50 @property (nonatomic,retain) id popoverController; |
51 @property (nonatomic,retain) id popoverController; |
51 @property (nonatomic,retain) InGameMenuViewController *popupMenu; |
52 @property (nonatomic,retain) InGameMenuViewController *popupMenu; |
52 @property (nonatomic,retain) HelpPageViewController *helpPage; |
53 @property (nonatomic,retain) HelpPageViewController *helpPage; |
53 @property (nonatomic,retain) UIActivityIndicatorView *loadingIndicator; |
54 @property (nonatomic,retain) UIActivityIndicatorView *loadingIndicator; |
54 @property (nonatomic,retain) UIButton *confirmButton; |
55 @property (nonatomic,retain) UIButton *confirmButton; |
55 @property (nonatomic,retain) UISegmentedControl *grenadeTimeSegment; |
56 @property (nonatomic,retain) UISegmentedControl *grenadeTimeSegment; |
56 |
57 @property (assign) NSInteger cachedGrenadeTime; |
57 +(OverlayViewController *)mainOverlay; |
|
58 |
58 |
59 -(void) touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event; |
59 -(void) touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event; |
60 -(void) touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event; |
60 -(void) touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event; |
61 -(void) touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event; |
61 -(void) touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event; |
62 -(void) touchesCancelled:(NSSet *)touches withEvent:(UIEvent *)event; |
62 -(void) touchesCancelled:(NSSet *)touches withEvent:(UIEvent *)event; |
64 -(IBAction) buttonReleased:(id) sender; |
64 -(IBAction) buttonReleased:(id) sender; |
65 -(IBAction) buttonPressed:(id) sender; |
65 -(IBAction) buttonPressed:(id) sender; |
66 |
66 |
67 -(void) showPopover; |
67 -(void) showPopover; |
68 -(void) dismissPopover; |
68 -(void) dismissPopover; |
|
69 |
69 -(void) dimOverlay; |
70 -(void) dimOverlay; |
70 -(void) activateOverlay; |
71 -(void) activateOverlay; |
71 -(void) removeOverlay; |
72 -(void) clearOverlay; |
72 |
73 |
73 #define ANIMATION_DURATION 0.25 |
74 #define ANIMATION_DURATION 0.25 |
74 #define CONFIRMATION_TAG 5959 |
75 #define CONFIRMATION_TAG 5959 |
75 #define GRENADE_TAG 9595 |
76 #define GRENADE_TAG 9595 |
76 |
77 |