orx  1.14
Portable Game Engine
OrxAndroid

Data Structures

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 LOOPER_ID_SENSOR   LOOPER_ID_USER
 
#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_KEYBOARD   (orxEVENT_TYPE)(orxEVENT_TYPE_FIRST_RESERVED + 0)
 
#define orxANDROID_EVENT_TYPE_SURFACE   (orxEVENT_TYPE)(orxEVENT_TYPE_FIRST_RESERVED + 1)
 
#define orxANDROID_KU32_MAX_JOYSTICK_NUMBER   PADDLEBOAT_MAX_CONTROLLERS
 

Functions

GameActivity * orxAndroid_GetGameActivity ()
 
const char * orxAndroid_GetInternalStoragePath ()
 
ANativeWindow * orxAndroid_GetNativeWindow ()
 
orxU32 orxAndroid_JNI_GetRotation ()
 
orxSTATUS orxFASTCALL orxAndroid_JNI_SetupThread (void *_pContext)
 
void orxAndroid_PumpEvents ()
 
orxSTATUS orxAndroid_RegisterAPKResource ()
 
void orxAndroid_SetKeyFilter (android_key_event_filter filter)
 

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 LOOPER_ID_SENSOR   LOOPER_ID_USER

Definition at line 55 of file orxAndroid.h.

#define orxANDROID_EVENT_KEYBOARD_DOWN   0

Definition at line 109 of file orxAndroid.h.

#define orxANDROID_EVENT_KEYBOARD_UP   1

Definition at line 110 of file orxAndroid.h.

#define orxANDROID_EVENT_SURFACE_CHANGED   2

Definition at line 115 of file orxAndroid.h.

#define orxANDROID_EVENT_SURFACE_CREATED   1

Definition at line 114 of file orxAndroid.h.

#define orxANDROID_EVENT_SURFACE_DESTROYED   0

Definition at line 113 of file orxAndroid.h.

#define orxANDROID_EVENT_TYPE_ACCELERATE   (orxEVENT_TYPE)(orxEVENT_TYPE_FIRST_RESERVED + 2)

Definition at line 117 of file orxAndroid.h.

#define orxANDROID_EVENT_TYPE_KEYBOARD   (orxEVENT_TYPE)(orxEVENT_TYPE_FIRST_RESERVED + 0)

Definition at line 108 of file orxAndroid.h.

#define orxANDROID_EVENT_TYPE_SURFACE   (orxEVENT_TYPE)(orxEVENT_TYPE_FIRST_RESERVED + 1)

Definition at line 112 of file orxAndroid.h.

#define orxANDROID_KU32_MAX_JOYSTICK_NUMBER   PADDLEBOAT_MAX_CONTROLLERS

Definition at line 52 of file orxAndroidActivity.h.

Function Documentation

GameActivity* orxAndroid_GetGameActivity ( )

Gets Game Activity

const char* orxAndroid_GetInternalStoragePath ( )

Get the internal storage path

ANativeWindow* orxAndroid_GetNativeWindow ( )

Gets the window

orxU32 orxAndroid_JNI_GetRotation ( )

Get the orientation

orxSTATUS orxFASTCALL orxAndroid_JNI_SetupThread ( void _pContext)

Sets up JNI thread

void orxAndroid_PumpEvents ( )

Pumps events

orxSTATUS orxAndroid_RegisterAPKResource ( )

Register APK resources IO

void orxAndroid_SetKeyFilter ( android_key_event_filter  filter)

Set key filter callback


Generated for orx by doxygen 1.8.11