orx  stable
Portable Game Engine
OrxAndroid

Data Structures

struct  orxANDROID_AXIS_DATA
 
struct  orxANDROID_JOYSTICK_EVENT
 
struct  orxANDROID_KEY_EVENT
 
struct  orxANDROID_SURFACE_CHANGED_EVENT
 

Macros

#define KZ_CONFIG_ACCELEROMETER_FREQUENCY   "AccelerometerFrequency"
 
#define KZ_CONFIG_ANDROID   "Android"
 
#define KZ_CONFIG_SURFACE_SCALE   "SurfaceScale"
 
#define KZ_CONFIG_USE_JOYSTICK   "UseJoystick"
 
#define orxANDROID_EVENT_JOYSTICK_ADDED   0
 
#define orxANDROID_EVENT_JOYSTICK_CHANGED   2
 
#define orxANDROID_EVENT_JOYSTICK_DOWN   3
 
#define orxANDROID_EVENT_JOYSTICK_MOVE   5
 
#define orxANDROID_EVENT_JOYSTICK_REMOVED   1
 
#define orxANDROID_EVENT_JOYSTICK_UP   4
 
#define orxANDROID_EVENT_KEYBOARD_DOWN   0
 
#define orxANDROID_EVENT_KEYBOARD_UP   1
 
#define orxANDROID_EVENT_SURFACE_CHANGED   2
 
#define orxANDROID_EVENT_SURFACE_CREATED   1
 
#define orxANDROID_EVENT_SURFACE_DESTROYED   0
 
#define orxANDROID_EVENT_TYPE_ACCELERATE   (orxEVENT_TYPE)(orxEVENT_TYPE_FIRST_RESERVED + 2)
 
#define orxANDROID_EVENT_TYPE_JOYSTICK   (orxEVENT_TYPE)(orxEVENT_TYPE_FIRST_RESERVED + 3)
 
#define orxANDROID_EVENT_TYPE_KEYBOARD   (orxEVENT_TYPE)(orxEVENT_TYPE_FIRST_RESERVED + 0)
 
#define orxANDROID_EVENT_TYPE_SURFACE   (orxEVENT_TYPE)(orxEVENT_TYPE_FIRST_RESERVED + 1)
 

Functions

jobject orxAndroid_GetActivity ()
 
const char * orxAndroid_GetInternalStoragePath ()
 
voidorxAndroid_GetJNIEnv ()
 
ANativeWindow * orxAndroid_GetNativeWindow ()
 
void orxAndroid_JNI_GetDeviceIds (orxS32 devicesId[4])
 
orxU32 orxAndroid_JNI_GetRotation ()
 
void orxAndroid_JNI_SetupThread ()
 
void orxAndroid_PumpEvents ()
 
orxSTATUS orxAndroid_RegisterAPKResource ()
 

Detailed Description

Android support module

Macro Definition Documentation

#define KZ_CONFIG_ACCELEROMETER_FREQUENCY   "AccelerometerFrequency"

Definition at line 51 of file orxAndroid.h.

#define KZ_CONFIG_ANDROID   "Android"

Definition at line 49 of file orxAndroid.h.

#define KZ_CONFIG_SURFACE_SCALE   "SurfaceScale"

Definition at line 50 of file orxAndroid.h.

#define KZ_CONFIG_USE_JOYSTICK   "UseJoystick"

Definition at line 52 of file orxAndroid.h.

#define orxANDROID_EVENT_JOYSTICK_ADDED   0

Definition at line 197 of file orxAndroid.h.

#define orxANDROID_EVENT_JOYSTICK_CHANGED   2

Definition at line 199 of file orxAndroid.h.

#define orxANDROID_EVENT_JOYSTICK_DOWN   3

Definition at line 200 of file orxAndroid.h.

#define orxANDROID_EVENT_JOYSTICK_MOVE   5

Definition at line 202 of file orxAndroid.h.

#define orxANDROID_EVENT_JOYSTICK_REMOVED   1

Definition at line 198 of file orxAndroid.h.

#define orxANDROID_EVENT_JOYSTICK_UP   4

Definition at line 201 of file orxAndroid.h.

#define orxANDROID_EVENT_KEYBOARD_DOWN   0

Definition at line 186 of file orxAndroid.h.

#define orxANDROID_EVENT_KEYBOARD_UP   1

Definition at line 187 of file orxAndroid.h.

#define orxANDROID_EVENT_SURFACE_CHANGED   2

Definition at line 192 of file orxAndroid.h.

#define orxANDROID_EVENT_SURFACE_CREATED   1

Definition at line 191 of file orxAndroid.h.

#define orxANDROID_EVENT_SURFACE_DESTROYED   0

Definition at line 190 of file orxAndroid.h.

#define orxANDROID_EVENT_TYPE_ACCELERATE   (orxEVENT_TYPE)(orxEVENT_TYPE_FIRST_RESERVED + 2)

Definition at line 194 of file orxAndroid.h.

#define orxANDROID_EVENT_TYPE_JOYSTICK   (orxEVENT_TYPE)(orxEVENT_TYPE_FIRST_RESERVED + 3)

Definition at line 196 of file orxAndroid.h.

#define orxANDROID_EVENT_TYPE_KEYBOARD   (orxEVENT_TYPE)(orxEVENT_TYPE_FIRST_RESERVED + 0)

Definition at line 185 of file orxAndroid.h.

#define orxANDROID_EVENT_TYPE_SURFACE   (orxEVENT_TYPE)(orxEVENT_TYPE_FIRST_RESERVED + 1)

Definition at line 189 of file orxAndroid.h.

Function Documentation

jobject orxAndroid_GetActivity ( )
const char* orxAndroid_GetInternalStoragePath ( )

Get the internal storage path

void* orxAndroid_GetJNIEnv ( )
ANativeWindow* orxAndroid_GetNativeWindow ( )
void orxAndroid_JNI_GetDeviceIds ( orxS32  devicesId[4])
orxU32 orxAndroid_JNI_GetRotation ( )
void orxAndroid_JNI_SetupThread ( )
void orxAndroid_PumpEvents ( )
orxSTATUS orxAndroid_RegisterAPKResource ( )

Register APK resources IO


Generated for orx by doxygen 1.5.6