From 0fbbb3d10636bb079132944c624dabc21c1319f7 Mon Sep 17 00:00:00 2001 From: Vladislav Khorev Date: Wed, 6 Feb 2013 20:39:20 +0000 Subject: [PATCH] ios stuff --- ios/doublehitballs/CustomGLKView.mm | 5 +++++ ios/doublehitballs/ViewController.mm | 20 ++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 ios/doublehitballs/CustomGLKView.mm create mode 100644 ios/doublehitballs/ViewController.mm diff --git a/ios/doublehitballs/CustomGLKView.mm b/ios/doublehitballs/CustomGLKView.mm new file mode 100644 index 0000000..5b9214c --- /dev/null +++ b/ios/doublehitballs/CustomGLKView.mm @@ -0,0 +1,5 @@ +#import "CustomGLKView.h" + +@implementation CustomGLKView + +@end \ No newline at end of file diff --git a/ios/doublehitballs/ViewController.mm b/ios/doublehitballs/ViewController.mm new file mode 100644 index 0000000..c2b6f76 --- /dev/null +++ b/ios/doublehitballs/ViewController.mm @@ -0,0 +1,20 @@ +#import "ViewController.h" +#import "ios_api.h" + + +@implementation ViewController + + +- (void) appInitCaller +{ + CustomAppInit(); +} + +- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation +{ + return UIInterfaceOrientationIsLandscape(interfaceOrientation); +} + + + +@end \ No newline at end of file