double-hit-balls/proj.ios/SENamespaceWrapper.h

36 lines
876 B
C
Raw Permalink Normal View History

2017-01-17 10:55:12 +00:00
//
// SENamespaceWrapper.hpp
// salmontemplate
//
// Created by Роберт Хайреев on 16/01/2017.
//
//
#ifndef SENamespace_h
#define SENamespace_h
2017-02-26 23:07:37 +00:00
2017-01-17 10:55:12 +00:00
#ifdef __cplusplus
extern "C" {
#endif
//void SE_CreateEngine();
//void SE_DestroyEngine();
//TApplication *app = NULL;
2017-02-26 23:07:37 +00:00
void SE_SetBindDrawableFunc(void(*funcPtr)());
2017-01-17 10:55:12 +00:00
void SE_AppDeinit();
void SE_AppUpdate(int dt);
void SE_AppDraw();
void SE_AppOnTapDown(int posx, int posy, int touchNumber);
void SE_AppOnTapUp(int posx, int posy, int touchNumber);
void SE_AppOnTapUpAfterMove(int posx, int posy, int touchNumber);
void SE_AppOnScroll(int shiftx, int shifty, int touchNumber);
void SE_AppOnScale(float scale);
void SE_SetKeyboardText(const char* newText);
void SE_OnKeyboardHide();
#ifdef __cplusplus
} //end extern "C"
#endif
#endif /* SENamespace_h */