Fixed cross-compiling with theos
This commit is contained in:
@@ -10,5 +10,6 @@ void resumeGame();
|
||||
@property (nonatomic, retain) id eaglView;
|
||||
@property (nonatomic, retain) UITextField *inputField;
|
||||
@property (nonatomic, assign) BOOL bannerIsVisible;
|
||||
- (void)toggleKeyboardWithState: (NSString *) initialText;
|
||||
|
||||
@end
|
||||
|
||||
@@ -53,28 +53,28 @@
|
||||
|
||||
- (void)viewWillAppear:(BOOL)animated {
|
||||
NSLog(@"EAGL ViewController - view Will Appear");
|
||||
[self.view resumeGame];
|
||||
[(id)self.view resumeGame];
|
||||
}
|
||||
|
||||
|
||||
- (void)viewWillDisappear:(BOOL)animated
|
||||
{
|
||||
[self.view pauseGame];
|
||||
[(id)self.view pauseGame];
|
||||
}
|
||||
|
||||
- (void)pauseGame
|
||||
{
|
||||
[self.view pauseGame];
|
||||
[(id)self.view pauseGame];
|
||||
}
|
||||
|
||||
- (void)resumeGame
|
||||
{
|
||||
[self.view resumeGame];
|
||||
[(id)self.view resumeGame];
|
||||
}
|
||||
|
||||
- (void)endGame
|
||||
{
|
||||
[self.view endGame];
|
||||
[(id)self.view endGame];
|
||||
}
|
||||
|
||||
- (void)viewDidAppear:(BOOL)animated {
|
||||
|
||||
@@ -337,7 +337,7 @@
|
||||
|
||||
- (void)applicationWillTerminate:(UIApplication *)application
|
||||
{
|
||||
[self.glViewController.view destroyGame];
|
||||
[(id)self.glViewController.view destroyGame];
|
||||
}
|
||||
|
||||
- (void)initializeKeyboard: (id) initialState
|
||||
|
||||
Reference in New Issue
Block a user