YourGameLib
Loading...
Searching...
No Matches
Namespaces | Functions
yourgame.cpp File Reference
#include <android/native_window.h>
#include <android_native_app_glue.h>
#include <jni.h>
#include <EGL/egl.h>
#include "yourgame/yourgame.h"
#include "yourgame/gl_include.h"
#include "yourgame_internal/mygame_external.h"
#include "yourgame_internal/file_android.h"
#include "yourgame_internal/input.h"
#include "yourgame_internal/input_android.h"
#include "yourgame_internal/log.h"
#include "yourgame_internal/time.h"
Include dependency graph for yourgame.cpp:

Namespaces

namespace  yourgame_internal
 
namespace  yourgame_internal::android
 
namespace  yourgame
 
namespace  yourgame::control
 framework control functions
 

Functions

bool yourgame_internal::android::isInitialized ()
 
void yourgame_internal::android::init (struct android_app *app)
 
void yourgame_internal::tick ()
 
int yourgame_internal::shutdown ()
 
void yourgame::control::exit ()
 triggers the application to exit after the cycle this function was called in
 
int yourgame::control::sendCmdToEnv (int cmdId, int data0, int data1, int data2)
 sends a (user-defined) command to the application host environment
 
void yourgame::control::enableFullscreen (bool enable)
 request fullscreen
 
void yourgame::control::enableVSync (bool enable)
 request vertical sync
 
void yourgame::control::catchMouse (bool enable)
 disable mouse cursor, infinite movement