Commit Graph

1243 Commits

Author SHA1 Message Date
twinaphex 7bcb695c68 (menu_common) Rename 'Game' to 'Content' - RetroArch is not limited
to games/emulators
2013-11-26 21:41:27 +01:00
twinaphex 849e71138a (rmenu_disp) Initialize j to 0 2013-11-26 21:29:18 +01:00
twinaphex 6c638f91f4 (Android) Big changes -
- both MainMenuActivity and RetroActivity are single instances now
- AKEYCODE_BACK gets eaten and onBackPressed in Java is triggered
- onBackPressed right now calls an instance of MainMenuActivity
(reuses the existing activity on the stack)
- User can switch back and forth between RetroActivity and MainMenuActivity
with AKEYCODE_BACK / Back button
- When a subsequent intent is launched after RetroActivity has already been
started up once, the pending intent gets passed to the existing RetroActivity
throug onNewIntent - in C land it will look every frame if an intent is pending - if it is, it will look up certain variables through JNI to launch a new game - or whatever it is that the intent wants to do
- With this we can now switch seamlessly between Android UI and RetroArch
itself.
2013-11-24 22:02:57 +01:00
twinaphex 1d06b07a16 (Android) Add "USED" intent extra to RetroActivity 2013-11-24 17:58:23 +01:00
twinaphex 4c4c828c02 (Android) JNI - Cache getIntent and getStringExtra jmethodIDs 2013-11-24 17:24:41 +01:00
twinaphex 25faefefac (Android) get_environment_settings - make it more readable 2013-11-24 17:02:38 +01:00
twinaphex 47c8c26511 (Android) Simplify intent grabbing with JNI 2013-11-24 16:43:57 +01:00
twinaphex 37fce3c56e (Android) Move engine_handle_cmd from input_android.c to platform_android.c 2013-11-22 21:12:13 +01:00
twinaphex d66d4f7263 (Android) have engine_handle_cmd take as argument void* 2013-11-22 17:41:45 +01:00
twinaphex afb2419235 (Apple) Move rarch_main_spring from ObjC source file to C (platform_apple.c) 2013-11-22 01:36:35 +01:00
Squarepusher 3f47951d3d (Apple) Build fix 2013-11-22 01:10:35 +01:00
twinaphex b1003b7640 (Apple) Move code out of main.m (ObjC) and into platform_apple (C) 2013-11-22 00:57:39 +01:00
twinaphex fb9eca8c69 (Android) Fix jni_get_intent_variable 2013-11-20 18:26:42 +01:00
twinaphex 8e303a3159 (Android) jni_get_intent_variable - Get rid of warnings - jstring pointer maybe uninitialized 2013-11-20 18:18:37 +01:00
twinaphex ef2bf910c7 (Android) Rename jni_get to jni_get_intent_variable 2013-11-20 18:10:52 +01:00
twinaphex 868de7d4ef (Android) jni_params struct -remove class_obj 2013-11-20 18:09:50 +01:00
twinaphex 87421d477c Clean up JNI: (...)
* pthread_key_create is used to set a destructor for every thread
created through jni_thread_getenv
* To grab a JNIEnv pointer - go through jni_thread_getenv
* jni_thread_getenv sets pthread_setspecific for the JNIEnv pointer
to bind destructor
* Reuse activity->vm everywhere instead of creating local pointer
copies
* Don't use DetachCurrentThread outside of platform_android's (new)
jni_thread_destruct function - the destructor will do this for us
now
2013-11-20 17:33:19 +01:00
twinaphex 3f279a2d5c (Android) Get rid of JNI_OnLoad - unused and unneeded 2013-11-20 15:54:31 +01:00
twinaphex 20f679d201 (Android) Get rid of globalMyNativeActivityClass variable 2013-11-20 03:56:33 +01:00
ToadKing 894b2870c0 more android camera work. no longer crashes, but still no image 2013-11-19 14:20:29 -05:00
twinaphex 21bc30a44c (Android) Make RetroActivity invoke JNI_OnLoad - grab pointer to
RetroActivity class - try to use from camera/android.c
2013-11-19 14:30:45 +01:00
Squarepusher 7231fdfa40 (OSX) Doesn't try to boot up game now at startup - can launch into RGUI 2013-11-19 11:31:46 +01:00
twinaphex a77b7576b7 (RMenu XUI) Get rid of rmenu_xui header 2013-11-19 06:42:27 +01:00
twinaphex 7843a3bec3 (Menu) Add iterate to menu_ctx_driver_t - needed for RMenu XUI 2013-11-19 06:35:11 +01:00
twinaphex 8fe6a04b56 (Menu) Add populate_entries to menu_ctx_driver - will be needed for RMenu XUI 2013-11-19 06:09:14 +01:00
twinaphex 59ad1baea7 (RMenu Disp) init_assets - calloc menu_texture 2013-11-19 02:12:09 +01:00
twinaphex 3f0be66ffc (RMenu) Get rid of rmenu.c/rmenu.h 2013-11-18 19:52:36 +01:00
twinaphex 723fddea80 (PS3/menu_common) Add System BGM Control setting 2013-11-18 19:50:47 +01:00
twinaphex 8465c47cd9 (Xbox 1) RMenu - menu title position is now correct 2013-11-18 18:09:27 +01:00
twinaphex 921d45decc (Xbox 1) Build fix 2013-11-18 18:03:48 +01:00
twinaphex 84ff66e8dc (Xbox 1/Menu) Simplify main-menu_480p.png - reduce entries height 2013-11-18 17:51:38 +01:00
Themaister b44bd25ab3 Fix segfault with video_poke missing. 2013-11-18 13:44:34 +01:00
Themaister adb0b4dfbe Fix ifdef for pushing early to history. 2013-11-18 09:27:51 +01:00
twinaphex 58d8079704 (Menu) Check if driver.video->restart is bound first 2013-11-18 03:25:50 +01:00
twinaphex 2fab149ae4 (RMenu Disp) Correctly frees and reinitializes RMenu texture asset 2013-11-18 03:23:32 +01:00
twinaphex 275789d99f (HAVE_OSK/Xbox 1/PS3) Add Xbox 1/PS3/HAVE_OSK-specific additions
to settings
2013-11-18 02:57:31 +01:00
twinaphex 0c54da42e3 (Android JNI) jni_params - now also takes a submethod_name/submethod_signature 2013-11-18 00:52:26 +01:00
twinaphex c062f36059 (OSK) Cleanup conditionals in menu_common.c 2013-11-16 15:56:52 +01:00
twinaphex 6828183b64 (OSK) Move runtime state (OSK callbacks) to g_extern 2013-11-16 15:54:50 +01:00
twinaphex 9558a47ada (PS3 RGUI) Working OSK input 2013-11-15 23:19:44 +01:00
twinaphex be356b7b67 (Menu) Add extra settings 2013-11-15 22:53:58 +01:00
twinaphex 111a5a3ed1 (Salamander) Cleanup 2013-11-15 17:42:43 +01:00
twinaphex e8723dec16 (HAVE_OSK) Add OSK to menu iterate function 2013-11-15 05:18:36 +01:00
twinaphex 3ccf5c1457 (Salamander XDK1) Fix 2013-11-15 05:02:39 +01:00
twinaphex 6c394d717c (XDK1 Salamander) Build fix 2013-11-15 04:26:38 +01:00
twinaphex 921327c7ab Add copyright to platform_apple.c 2013-11-13 12:43:28 +01:00
Squarepusher 4ab77e8405 Merge pull request #385 from libretro/webcam-test
Emscripten webcam driver
2013-11-13 01:25:19 -08:00
ToadKing aaff8f2648 move prototype camera interface to libretro interface - GL texture only for now 2013-11-12 19:48:36 -05:00
twinaphex d87c20feee (PS3) Get rid of ps3_input.h 2013-11-13 00:41:03 +01:00
twinaphex aec049c803 (OSK) Refactor - (Onscreen Keyboard) - PS3-only backend for now -
I will make an overlay-based backend soon too for all other platforms
2013-11-13 00:27:31 +01:00