orx 1.16
Portable Game Engine
Loading...
Searching...
No Matches
OrxAndroid

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 orxANDROID_KU32_MAX_JOYSTICK_NUMBER   PADDLEBOAT_MAX_CONTROLLERS
#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

GameActivity * orxAndroid_GetGameActivity ()
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 ()
void orxAndroid_SetKeyFilter (android_key_event_filter filter)

Detailed Description

Android support module

Android support module

Macro Definition Documentation

◆ KZ_CONFIG_ACCELEROMETER_FREQUENCY

#define KZ_CONFIG_ACCELEROMETER_FREQUENCY   "AccelerometerFrequency"

Definition at line 51 of file orxAndroid.h.

◆ KZ_CONFIG_ANDROID

#define KZ_CONFIG_ANDROID   "Android"

Definition at line 49 of file orxAndroid.h.

◆ KZ_CONFIG_SURFACE_SCALE

#define KZ_CONFIG_SURFACE_SCALE   "SurfaceScale"

Definition at line 50 of file orxAndroid.h.

◆ LOOPER_ID_SENSOR

#define LOOPER_ID_SENSOR   LOOPER_ID_USER

Definition at line 57 of file orxAndroid.h.

◆ orxANDROID_KU32_MAX_JOYSTICK_NUMBER

#define orxANDROID_KU32_MAX_JOYSTICK_NUMBER   PADDLEBOAT_MAX_CONTROLLERS

Definition at line 52 of file orxAndroidActivity.h.

◆ orxEVENT_TYPE_ANDROID

#define orxEVENT_TYPE_ANDROID   (orxEVENT_TYPE)(orxEVENT_TYPE_FIRST_RESERVED + 0)

Definition at line 53 of file orxAndroid.h.

Enumeration Type Documentation

◆ orxANDROID_EVENT

Event enum

Enumerator
orxANDROID_EVENT_KEY_DOWN 
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 

Definition at line 66 of file orxAndroid.h.

Function Documentation

◆ orxAndroid_GetGameActivity()

GameActivity * orxAndroid_GetGameActivity ( )

Gets Game Activity

◆ orxAndroid_GetInternalStoragePath()

const char * orxAndroid_GetInternalStoragePath ( )

Gets the internal storage path

◆ orxAndroid_GetNativeWindow()

ANativeWindow * orxAndroid_GetNativeWindow ( )

Gets the window

◆ orxAndroid_JNI_GetPhysicalFrameRate()

orxFLOAT orxAndroid_JNI_GetPhysicalFrameRate ( )

Gets the physical frame rate

◆ orxAndroid_JNI_GetRotation()

orxU32 orxAndroid_JNI_GetRotation ( )

Gets the orientation

◆ orxAndroid_JNI_SetupThread()

orxSTATUS orxFASTCALL orxAndroid_JNI_SetupThread ( void * _pContext)

Sets up JNI thread

◆ orxAndroid_PumpEvents()

void orxAndroid_PumpEvents ( )

Pumps events

◆ orxAndroid_RegisterAPKResource()

orxSTATUS orxAndroid_RegisterAPKResource ( )

Register APK resources IO

◆ orxAndroid_SetKeyFilter()

void orxAndroid_SetKeyFilter ( android_key_event_filter filter)

Set key filter callback


Generated for orx by doxygen 1.8.11