ios stuff

This commit is contained in:
vladislav.khorev committed 2013-02-06 20:37:32 +00:00
1 parent 4e695fe902
commit 6ec81a421e
11 files changed
+374 -9

No files matched your search

+1
View File
@@ -22,4 +22,5 @@ std::string IosGetFilePathUserData(const std::string& filename);
void IosSwitchToScreen();
} //namespace SE
+25
View File
@@ -0,0 +1,25 @@
//
// Header.h
// doublehitballs
//
// Created by vvv ооо on 15.07.12.
// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//
//All of them can be found in SalmonEngineIos.cpp
//This header stores only declarations
namespace SE
{
void AppDeinit();
void AppUpdate(int dt);
void AppDraw();
void AppOnTapDown(int posx, int posy);
void AppOnTapUp(int posx, int posy);
void AppOnScroll(int shiftx, int shifty);
void AppOnScale(float scale);
void AppOnTapUpAfterMove(int posx, int posy);
}
@@ -0,0 +1,23 @@
//
// CustomGLKView.h
// doublehitballs
//
// Created by vvv ооо on 15.07.12.
// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//
#import <GLKit/GLKit.h>
@interface GLKViewTemplate : GLKView
{
CGPoint touchBeganLocation;
bool touchMoved;
}
- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event;
- (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event;
- (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event;
@end
@@ -0,0 +1,18 @@
//
// ViewController.h
// doublehitballs
//
// Created by vvv ооо on 13.07.12.
// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <GLKit/GLKit.h>
@interface ViewControllerTemplate : GLKViewController
- (void) appInitCaller;
@end