orx 1.16
Portable Game Engine
|
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) |
Android support module
Android support module
#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 57 of file orxAndroid.h.
#define orxANDROID_KU32_MAX_JOYSTICK_NUMBER PADDLEBOAT_MAX_CONTROLLERS |
Definition at line 52 of file orxAndroidActivity.h.
#define orxEVENT_TYPE_ANDROID (orxEVENT_TYPE)(orxEVENT_TYPE_FIRST_RESERVED + 0) |
Definition at line 53 of file orxAndroid.h.
enum orxANDROID_EVENT |
Event enum
Definition at line 66 of file orxAndroid.h.
GameActivity * orxAndroid_GetGameActivity | ( | ) |
Gets Game Activity
const char * orxAndroid_GetInternalStoragePath | ( | ) |
Gets the internal storage path
ANativeWindow * orxAndroid_GetNativeWindow | ( | ) |
Gets the window
orxFLOAT orxAndroid_JNI_GetPhysicalFrameRate | ( | ) |
Gets the physical frame rate
orxU32 orxAndroid_JNI_GetRotation | ( | ) |
Gets 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