cocoaTouch/overlayViewController.h
author smxx
Sat, 27 Mar 2010 17:22:33 +0000
changeset 3115 831bd0f7050d
parent 3113 2829ea0dd47c
permissions -rw-r--r--
Engine: * Updated Birdy's eggs and added egg shell fragments (missing sound)
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3006
da6023c2745b restore compilation on simulator and device
koda
parents:
diff changeset
     1
//
da6023c2745b restore compilation on simulator and device
koda
parents:
diff changeset
     2
//  overlayViewController.h
da6023c2745b restore compilation on simulator and device
koda
parents:
diff changeset
     3
//  HedgewarsMobile
da6023c2745b restore compilation on simulator and device
koda
parents:
diff changeset
     4
//
da6023c2745b restore compilation on simulator and device
koda
parents:
diff changeset
     5
//  Created by Vittorio on 16/03/10.
da6023c2745b restore compilation on simulator and device
koda
parents:
diff changeset
     6
//  Copyright 2010 __MyCompanyName__. All rights reserved.
da6023c2745b restore compilation on simulator and device
koda
parents:
diff changeset
     7
//
da6023c2745b restore compilation on simulator and device
koda
parents:
diff changeset
     8
da6023c2745b restore compilation on simulator and device
koda
parents:
diff changeset
     9
#import <UIKit/UIKit.h>
da6023c2745b restore compilation on simulator and device
koda
parents:
diff changeset
    10
da6023c2745b restore compilation on simulator and device
koda
parents:
diff changeset
    11
3073
c22b395b6a2e add another button to close the game and return to the iFrontend (untested)
koda
parents: 3063
diff changeset
    12
@interface overlayViewController : UIViewController <UIActionSheetDelegate> {
3015
20a9c8160e82 add jump and backjump controls
koda
parents: 3006
diff changeset
    13
    NSTimer *dimTimer;
3113
2829ea0dd47c * port fadeout to opengles
koda
parents: 3073
diff changeset
    14
    UIPopoverController* menuPopover;
3063
0092dc37fbd6 reworked interaction of engine/frontend when closing
koda
parents: 3027
diff changeset
    15
    
3025
01682ec58eb0 update project for ipad target
koda
parents: 3015
diff changeset
    16
    CGFloat initialDistanceForPinching;
01682ec58eb0 update project for ipad target
koda
parents: 3015
diff changeset
    17
    CGPoint gestureStartPoint;
3015
20a9c8160e82 add jump and backjump controls
koda
parents: 3006
diff changeset
    18
}
3006
da6023c2745b restore compilation on simulator and device
koda
parents:
diff changeset
    19
3015
20a9c8160e82 add jump and backjump controls
koda
parents: 3006
diff changeset
    20
@property (nonatomic,retain) NSTimer *dimTimer;
3113
2829ea0dd47c * port fadeout to opengles
koda
parents: 3073
diff changeset
    21
@property (nonatomic,retain) UIPopoverController* menuPopover;
3006
da6023c2745b restore compilation on simulator and device
koda
parents:
diff changeset
    22
3025
01682ec58eb0 update project for ipad target
koda
parents: 3015
diff changeset
    23
-(void) touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event;
01682ec58eb0 update project for ipad target
koda
parents: 3015
diff changeset
    24
-(void) touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event;
01682ec58eb0 update project for ipad target
koda
parents: 3015
diff changeset
    25
-(void) touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event;
01682ec58eb0 update project for ipad target
koda
parents: 3015
diff changeset
    26
3006
da6023c2745b restore compilation on simulator and device
koda
parents:
diff changeset
    27
-(IBAction) buttonReleased:(id) sender;
da6023c2745b restore compilation on simulator and device
koda
parents:
diff changeset
    28
-(IBAction) buttonPressed:(id) sender;
3063
0092dc37fbd6 reworked interaction of engine/frontend when closing
koda
parents: 3027
diff changeset
    29
-(IBAction) showPopover;
3006
da6023c2745b restore compilation on simulator and device
koda
parents:
diff changeset
    30
da6023c2745b restore compilation on simulator and device
koda
parents:
diff changeset
    31
-(void) dimOverlay;
3027
32890edaa483 lotsa optimizations and redraws for the iFrontend
koda
parents: 3025
diff changeset
    32
-(void) showMenuAfterwards;
3006
da6023c2745b restore compilation on simulator and device
koda
parents:
diff changeset
    33
da6023c2745b restore compilation on simulator and device
koda
parents:
diff changeset
    34
@end