orx 1.16
Portable Game Engine
Loading...
Searching...
No Matches
orxAndroid.h File Reference
#include <jni.h>
#include <pthread.h>
#include <stdlib.h>
#include <android/native_window.h>

Go to the source code of this file.

Data Structures

struct  orxANDROID_EVENT_PAYLOAD

Macros

#define KZ_CONFIG_ACCELEROMETER_FREQUENCY   "AccelerometerFrequency"
#define KZ_CONFIG_ANDROID   "Android"
#define KZ_CONFIG_SURFACE_SCALE   "SurfaceScale"
#define LOOPER_ID_SENSOR   LOOPER_ID_USER
#define orxEVENT_TYPE_ANDROID   (orxEVENT_TYPE)(orxEVENT_TYPE_FIRST_RESERVED + 0)

Enumerations

enum  orxANDROID_EVENT {
  orxANDROID_EVENT_KEY_DOWN = 0 , orxANDROID_EVENT_KEY_UP , orxANDROID_EVENT_SURFACE_CREATE , orxANDROID_EVENT_SURFACE_DESTROY ,
  orxANDROID_EVENT_SURFACE_CHANGE , orxANDROID_EVENT_ACCELERATE , orxANDROID_EVENT_NUMBER , orxANDROID_EVENT_NONE = orxENUM_NONE
}

Functions

const char * orxAndroid_GetInternalStoragePath ()
ANativeWindow * orxAndroid_GetNativeWindow ()
orxFLOAT orxAndroid_JNI_GetPhysicalFrameRate ()
orxU32 orxAndroid_JNI_GetRotation ()
orxSTATUS orxFASTCALL orxAndroid_JNI_SetupThread (void *_pContext)
void orxAndroid_PumpEvents ()
orxSTATUS orxAndroid_RegisterAPKResource ()

Detailed Description


Generated for orx by doxygen 1.8.11